[cairo] API Shakeup: cairo_begin_group, cairo_end_group,
rocallahan at novell.com
Thu Jun 16 11:55:03 PDT 2005
On Thu, 2005-06-16 at 13:18 -0700, Carl Worth wrote:
> Then, there's an interesting problem that shows up here. For all of
> the uses, but most particularly for (1) it's very convenient that the
> API does not require the user to provide a size for the intermediate
> surface, (since conceptually the user doesn't even have to be aware
> that any intermediate surface is present). (And I should mention that
> the current patch does the simplest and least efficient thing by just
> creating an intermediate surface that is the same size as the target).
In Mozilla we almost always know the bounding box of what we're about to
draw. If there's any significant performance advantage in providing this
information to cairo, then it would be good to have a way to provide it.
More information about the cairo