[cairo] A diagram for criticism/comments

Donn donn.ingle at gmail.com
Wed Dec 12 23:16:41 PST 2007


> > There can exist surfaces which work on the
> > vector data, not on some cached image.
> > This happens if you use e.g. a PDF or PS surface as source.
>
> Sure, I never said cached image, I just said "surface".  A PDF/PS
> surface is used a surface pattern source, like the others.

"is used [as] a surface *pattern* source" -- from my pov on the learning 
curve, a pattern *is* a bitmap. 
 
This leaves me in some doubt : Am I to assume that *all* sources are pixmaps  
(I mean a generic term for 'arrays of rgba data') regardless of their origin? 
Or do vector sources remain as vectors ?

So:

PDF file (vectors) ---> Cairo source ---> cairo drawn commands ---> PDF file.
When you open the output file, is it *all* vectors or a mix of the new ones 
you just drew on top of a bunch of 'rasterized' vectors from the original 
file?

I guess I am still really fuzzy on what a pattern is.


Thanks to all for the other suggestions -- I have some work ahead of me.

\d


More information about the cairo mailing list