¡@

Home 

python Programming Glossary: cairo.format_argb32

Drawing in PyGobject (python3)

http://stackoverflow.com/questions/10270795/drawing-in-pygobject-python3

Create a new buffer self.double_buffer cairo.ImageSurface cairo.FORMAT_ARGB32 widget.get_allocated_width widget.get_allocated_height #..

SVG rendering in a PyGame application

http://stackoverflow.com/questions/120584/svg-rendering-in-a-pygame-application

HEIGHT 4 surface cairo.ImageSurface.create_for_data data cairo.FORMAT_ARGB32 WIDTH HEIGHT WIDTH 4 pygame.init window pygame.display.set_mode..

Server-side SVG to PNG (or some other image format) in python

http://stackoverflow.com/questions/2932408/server-side-svg-to-png-or-some-other-image-format-in-python

yscale float y svg.props.height surface cairo.ImageSurface cairo.FORMAT_ARGB32 x y context cairo.Context surface context.scale xscale yscale..

Error with Python ctypes and librsvg

http://stackoverflow.com/questions/6142757/error-with-python-ctypes-and-librsvg

import cairo h RSVGHandle 'bank.svg' s cairo.ImageSurface cairo.FORMAT_ARGB32 100 100 ctx cairo.Context s # segmentation fault.... h.render_cairo..

Convert SVG to PNG in Python

http://stackoverflow.com/questions/6589358/convert-svg-to-png-in-python

it to disk import cairo import rsvg img cairo.ImageSurface cairo.FORMAT_ARGB32 640 480 ctx cairo.Context img ## handler rsvg.Handle svg filename..

How can I draw text with different stroke and fill colors on images with python?

http://stackoverflow.com/questions/8049764/how-can-i-draw-text-with-different-stroke-and-fill-colors-on-images-with-python

font font_size text args kwargs surface cairo.ImageSurface cairo.FORMAT_ARGB32 0 0 ctx cairo.Context surface ctx.select_font_face font args.. font font_size text font_args surface cairo.ImageSurface cairo.FORMAT_ARGB32 int text_width int text_height ctx cairo.Context surface ctx.select_font_face..