Gecko:2DGraphicsThoughts: Difference between revisions

(Created page with "= Gecko Needs = == Semantics == The basics of cairo's semantics seem to be OK --- fill path/stroke path/showglyphs, with source patterns, destination surfaces, operators, etc. ...")
 
Line 19: Line 19:


We can do without pushgroup and make do with temporary surfaces quite easily.
We can do without pushgroup and make do with temporary surfaces quite easily.
We probably don't need the context/surface distinction. We don't draw into a surface with multiple contexts at the same time.


We don't really care about API convenience in Gecko. Unlike a regular application, we don't draw specific content, we just provide abstractions. So for example we only paint gradients in a couple of places, we only paint text in a few places, etc. Therefore we don't need to worry about passing lots of parameters to functions.
We don't really care about API convenience in Gecko. Unlike a regular application, we don't draw specific content, we just provide abstractions. So for example we only paint gradients in a couple of places, we only paint text in a few places, etc. Therefore we don't need to worry about passing lots of parameters to functions.
1,295

edits