[cairo] how to draw a surface created with CAIRO_FORMAT_A1 & CAIRO_FORMAT_A8...

Gerdus van Zyl gerdusvanzyl at gmail.com
Thu Apr 10 01:50:31 PDT 2008


On Thu, Apr 10, 2008 at 10:30 AM, Gerdus van Zyl <gerdusvanzyl at gmail.com>
wrote:

> Not sure what effect you are trying to achieve but try using
> cairo_set_source_rgb and then cairo_mask_surface using your created A1
> surface.
>
> ~Gerdus
>
> On Thu, Apr 10, 2008 at 8:05 AM, Rajeshwaran Paulchamy <
> Rajeshwaran.Paulchamy at toshiba-tesi.com> wrote:
>
> >  hi,
> >
> >
> >
> > i have created a surface image by using *cairo_image_surface_create_for_data
> > *by using the format type *CAIRO_FORMAT_A1*.
> >
> >
> >
> > i want to render this surface image with a RGB color. how to do this?
> >
> >
> >
> > help me.
> >
> >
> >
> > cheers,
> >
> > rajeshwaran paulchamy.
> >
> >
> >
> >
> >
> > The information contained in this e-mail message and in any
> > attachments/annexure/appendices is confidential to the
> > recipient and may contain privileged information.
> > If you are not the intended recipient, please notify the
> > sender and delete the message along with any
> > attachments/annexure/appendices. You should not disclose,
> > copy or otherwise use the information contained in the
> > message or any annexure. Any views expressed in this e-mail
> > are those of the individual sender except where the sender
> > specifically states them to be the views of
> > Toshiba Embedded Software India Pvt. Ltd. (TESI),Bangalore.
> >
> > Although this transmission and any attachments are believed to be
> > free of any virus or other defect that might affect any computer
> > system into which it is received and opened, it is the responsibility
> > of the recipient to ensure that it is virus free and no responsibility
> > is accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or
> > damage arising in any way from its use.
> >
> >
> >
> >
> > _______________________________________________
> > cairo mailing list
> > cairo at cairographics.org
> > http://lists.cairographics.org/mailman/listinfo/cairo
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080410/d9598824/attachment.htm 


More information about the cairo mailing list