Changing graphic state data in a recording surface

Edward Zimmermann <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Is there any means with which one can change the graphic states of a recording surface playback?
While one can playback a surface onto a context with a transformation matrix to effect its scale etc., I'd like to be able to change the default color, line width,...
If I draw a line, for example, in a recording surface and "play it back" into another surface. It uses the line width that was specified in the drawing of the recording surface--- which if not specified is 2. If I set the line width to, say, 10 in a drawing context and playback the surface the line width gets set to what the recording surface had.. default 2. I'd like to be able to set these by context.

(or does this, in the end, seem to demand a kind of callback into the back-end?)

Ideas?

Thanks,


_________________________________________________________________
Edward C. Zimmermann

-- 
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.