Questions tagged [cairo]

Cairo is a software library used to provide a vector graphics-based, device-independent API for software developers.

Cairo is a software library used to provide a vector graphics-based, device-independent API for software developers. It is designed to provide primitives for 2-dimensional drawing across a number of different backends. Cairo is designed to use hardware acceleration when available.

Although written in C, there are bindings for using the cairo graphics library from many other programming languages, including C++, Factor, Haskell, Lua, Perl, Python, Ruby, Scheme, Smalltalk and several others. Dual licensed under the GNU Lesser General Public License and the Mozilla Public License, cairo is free software.

Cairo Homepage includes documentation and examples.

1254 questions
-1
votes
1 answer

BIKA LIMS installation issue on cairoSVG

While running buildout the following issue arising,Issue Image I have installed CairoSVG 2.0.0 separately too. Still the same issue arising
-1
votes
1 answer

Gtk issues (Closing on callback, not supposed; Cairo not drawing; Separators do not appear)

I'm having a few issues, that I have no idea how to solve with GTK+ 2. I made a function, supposed to be a callback when I click on the "Manual" item on the "Ajuda" (help) menu. However, when I compile and click there, the program closes, and I…
Kelthar
  • 124
  • 9
-1
votes
2 answers

Render partial content of pdf to image

Is there any tool to render pdf document to image with partial content? For example, only text but no image and vectors, or only image and vectors but no text.
Yu Liang
  • 490
  • 3
  • 8
-1
votes
1 answer

drawing text -- translating Cairo into Python

I am reading the Cairo tutorial, but I want to use Python instead of C. How do I translate this snippet? cairo_text_extents_t te; cairo_set_source_rgb (cr, 0.0, 0.0, 0.0); cairo_select_font_face (cr, "Georgia", CAIRO_FONT_SLANT_NORMAL,…
john mangual
  • 7,718
  • 13
  • 56
  • 95
-1
votes
1 answer

how to save Drawing area's content after resizing window at cairo

how can I change the below code so the contents and drawings at the Drawing-area won't clean after changing window's size. I want to copy smaller surface content to top left corner of the bigger content and for copying bigger surface to smaller…
user175023
  • 135
  • 7
-1
votes
1 answer

Cairo library: cairo_line_to Function

I have legacy code which use cairo library to draw png and calling following function. I could not understand the following code. I know it is weired question that took some piece of code and ask question. But great if anyone provide. #define…
user765443
  • 1,856
  • 7
  • 31
  • 56
-1
votes
1 answer

Setting up Cairo Project

I am trying to set up the Cairo-0.3 project and my rserver.sh, receiver.sh and transmitter.sh are successfully running but when i try to run execute the demo-recog.sh (A demo program in cairo) i get : Received an unhandled SIP response status code…
-2
votes
1 answer

Confused about libraries

I was given a php project that needs to be implemented into a Drupal site I'm doing for a client. I'm confused about library dependancies for this code. The read me file sent to me said that it requiers: freetype >= 2.3.12 - pixman >= 0.18.0 -…
ToraRTC
  • 440
  • 2
  • 4
  • 15
-2
votes
1 answer

GTK+3 disable the close icon present in a window (c program)

I'm developing a GUI in Linux (Ubuntu 16.04 - WM: Gnome) using GTK+3 and the graphic library cairo. After clicked on a push button (Plot), using the instruction of cairo I draw a red square on a new top window where I put a GtkDrawingArea. In this…
arkkimede
  • 105
  • 1
  • 12
1 2 3
83
84