[cairo] Draw a single pixel or group of pixels

Joseph Fradley joe.fradley at fradeng.com
Thu Apr 10 10:10:36 PDT 2008


Well that's a bummer. I'm going to need precise graphics for use with image
analysis software. So, I'm probably going to switch to SDL_gfx, unless you
have other suggestions? Thanks for your help.

Joe

On Thu, Apr 10, 2008 at 12:28 PM, Dirk Schönberger <
dirk.schoenberger at sz-online.de> wrote:

> > Hello,
> >
> > I'm sure there must be a way somewhere but I haven't been able to find
> it.
> > How do you draw just a single pixel? or better yet a group of disjoint
> > pixels at specific 'x,y' locations?
> >
> > Joe
>
> I am afraid that the concept of a pixel is not longer available in a Cairo
> style API.
> All you can do is to create one or multiple rectangular path elements and
> hope hat they match to single pixels after rendering them to your output
> device.
>
> Regatds
> Dirk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080410/effe1710/attachment.htm 


More information about the cairo mailing list