cairo Questions
1
I followed the instructions to install matplotlib for python 3 from here: How to install matplotlib with Python3.2
But I get an ImportError, which I have not been able to resolve, when importing p...
Tannenberg asked 30/6, 2013 at 19:12
1
Solved
I want to load a SVG file with the Cairo library, do apply some transformations to it.
Then I want to display my svg with a glTexture.
But I just find functions which create svg file and not load ...
1
I am trying to use rsvg in Python 3.2 but I keep getting an import error. I have installed all of the librsvg packages along with cairo. I cannot find anything online about what else to install to ...
Leitmotif asked 1/5, 2012 at 4:50
1
I found someone who ported over Pango Cairo for Android NDK (blog post, source code). However I have not been succesfull in compiling his example project. Has anyone managed to do so and can tell m...
Ahasuerus asked 1/8, 2012 at 15:16
3
Solved
I have som PNG image links that I want to download, "convert to thumbnails" and save to PDF using Python and Cairo.
Now, I have a working code, but I don't know how to control image size on paper....
Eberhardt asked 17/8, 2011 at 21:19
2
Solved
I am using ggplot2 on ubuntu 12.04. By default my x11 type is set to Xlib. So when I use a smoother in qplot, I get an error like:
"semi-transparency is not supported on this device: reported only...
2
I managed to find this code snippet and compile it with Cairo:
#define LIBCAIRO_EXPORTS
#include <cairo/cairo.h>
#include <cairo/cairo-win32.h>
int main(int argc, char** argv)
{
cair...
1
Solved
I was doing the AthensTutorial , I understand the first step
surface := AthensCairoSurface extent: self extent asIntegerPoint.
and then step 2 is
surface drawDuring: [:canvas |
"First, we cle...
2
Solved
I found affine transformation functionality (rotate, shear, translate, scale) in Athens/Cairo in Pharo Smalltalk.
I am looking for a perspective transformation. Is this possible at all? At least t...
Breeks asked 25/2, 2013 at 10:34
2
0
I want to write a simple text editing application in c/c++ ( mainly devoted to source code editing ) with these specifications:
cross-platform ( Windows, OS X, Linux )
with the as much as p...
Beem asked 14/2, 2013 at 9:16
2
Solved
...Not that I have anything against Cairo -- I love it in fact. It's just terribly difficult to install the Python bindings, especially on a Mac (see all the SO questions about installing pycairo o...
Grazynagreabe asked 9/10, 2011 at 14:17
1
I have encountered a problem installing Pango-1.30 on a Ubuntu 12.04 platform. During ./configure step I receive a message saying "Could not enable any of Freetype, X11, Cairo, or Win32 backends. M...
1
I am new to cairo and I have read the tutorials/documentation on its website.
Now I can make lines, rectangles, and basically I can render images but not text.
I am using the following code
cairo...
Pandanus asked 31/10, 2012 at 16:3
5
I'm getting this error when starting anything that uses the Pango library. I'm using Kubuntu 9.10. I've done 'sudo apt-get --reinstall install' on libgtk* libcairo* libpango* and fontconfig, with n...
1
Solved
I am currently working on an application, which uses a video projector to create an effect similar to a real laser. A really nice example of what I'm trying to archive can be seen on Youtube here.
...
Subterrane asked 4/10, 2012 at 15:12
2
I have problem with ghci+cairo on windows. When I try to load, for example like this "ghci -package cairo" it fails with the following error:
Loading package random-1.0.0.2 ... linking ... done.
...
1
Solved
I'm starting to write a small application for Linux under the Mono framework, the application will essentially be a small kiosk front-end with very minimal user interaction. This is to replace a pr...
Artina asked 27/8, 2012 at 1:20
2
Solved
I'm trying to create a cairo ImageSurface from a PIL image, the code I have so far is:
im = Image.open(filename)
imstr = im.tostring()
a = array.array('B', imstr)
height, width = im.size
stride = ...
Cordey asked 30/9, 2011 at 12:11
1
I can't seem to get cairo regions working in within
using the gintrospection.
For example
from gi.repository import cairo
reg = cairo.Region()
will give me
Traceback (most recent call last):...
Loyola asked 26/5, 2011 at 4:19
1
Solved
I'm using a radial gradient in Cairo, but I'm not getting the expected results. The radial gradient I'm getting is much less fuzzy than I'd expect and I can't seem to fiddle with the color stops in...
Swede asked 6/7, 2012 at 2:3
2
1
Building a project using Cairo for graphics processing. Neither of the anti-aliasing options produce a good enough result. I'm using an ARGB32 surface and writing to png.
I have tried using all of...
Impeachable asked 23/2, 2012 at 9:45
2
Gtk windows support transparency using Cairo. I tried to get a screenshot with the code here. But it prints pure black for windows that use transparency. How can I make a screenshot (PNG) which cap...
2
Solved
I'm trying to set the LaTeX \odot symbol in the gnuplot (4.6.0) pdf terminal. What is the exact syntax for this?
The gnuplot FAQ gives some clues, but should I type {/Symbol \2299}, or {/utf8 \229...
© 2022 - 2024 — McMap. All rights reserved.