[cairo] A diagram for criticism/comments

Dirk Schönberger dirk.schoenberger at sz-online.de
Wed Dec 12 13:50:57 PST 2007


> - listing "move_to" "line_to" etc. under "Nouns" is kind of odd, since
> they are verbs themselves; you may as well include a Path in there and
> have paths be the Nouns, and "move_to" etc. be "Path Verbs".

While I like the theory of path and path verbs, I don't think this is quite
correct. For me it would imply that there woul exist some verb which can be
applied to the none, namely a cairo_draw_path(path). This is not possible
with the current API.
Somehow arc also belongs to the (path) verbs, because it really creates a
path segment out of a arc.

> - The "Source" is always a pattern, and "rgba_colour", "surface", and
> "gradient" are pattern types.  I wouldn't mention png images at all --
> they really are not relevant to cairo, and the png methods are in
> cairo just for convenience for testing.

I hope you are wrong here.;) 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.

Regards
Dirk



More information about the cairo mailing list