[cairo] Cairo API is all shook up (was:
API Shakeup: cairo_create and eliminating cairo_set_target_surface)
Robert O'Callahan
rocallahan at novell.com
Wed Jul 6 22:58:26 PDT 2005
On Wed, 2005-07-06 at 11:58 -0700, Carl Worth wrote:
> On Tue, 10 May 2005 09:57:10 +1200, Robert O'Callahan wrote:
> > I'd be happy with either a new "/dev/null" surface type, or the ability
> > to create a cairo_t with no target surface. I'd slightly prefer the
> > latter. I'd prefer a dedicated API function rather than
> > cairo_create(NULL). "cairo_create_no_target()"?
>
> Keith and I were talking about this in some depth last night. Here's
> what we came up with:
.. discussion of text APIs deleted ...
> Does that make sense? Anything we missed?
The use case I brought up was the need to measure the extents of paths.
We could create a 1x1 image surface for this, I suppose.
Rob
More information about the cairo
mailing list