Re: cairo_gstate_t?

Fred Kiefer <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
I would highly welcome that addition to cairo. This is the interface we need for GNUstep to easily implement the display Postscript interface we need to provide. Up to now we needed to work around this restrictin by adding a rather ugly and inefficent layer ourselves.

Fred


Am 08.10.2011 um 18:37 schrieb Behdad Esfahbod <[email protected]>:

> I know this has been discussed many many times, but I was thinking about it
> again today.  I think we should model it like the cairo_path_t.  Ie, the
> following API will be exposed:
> 
> cairo_gstate_t *
> cairo_copy_gstate (cairo_t *cr);
> 
> cairo_gstate_t *
> cairo_gstate_copy (cairo_gstate_t *gstate);
> 
> void
> cairo_set_gstate (cairo_t *cr, cairo_gstate_t *gstate);
> 
> And perhaps:
> 
> void
> cairo_push_gstate (cairo_t *cr, cairo_gstate_t *gstate);
> 
> cairo_gstate_t *
> cairo_pop_gstate (cairo_t *cr);
> 
> void
> cairo_gstate_reference (cairo_gstate_t *gstate)
> 
> void
> cairo_gstate_destroy (cairo_gstate_t *gstate)
> 
> 
> Thoughts?
> 
> behdad
> --
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.