Mozilla2:NewGFXAPIs: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
I've been giving some thought to what kind of wrappers we want for cairo.  They should be pretty thin, but allow us flexibility to add new features and helper functions.
I've been giving some thought to what kind of wrappers we want for cairo.  They should be pretty thin, but allow us flexibility to add new features and helper functions. This code is being called "Thebes".


These are pretty rough and need more thought, but here are some of the classes I've been thinking of.
These are pretty rough and need more thought, but here are some of the classes I've been thinking of.


* [[Mozilla2:GFXGraphics|Graphics]]
* [[Mozilla2:GFXGraphics|gfxGraphics]]
* [[Mozilla2:GFXSurface|Surface]]
* [[Mozilla2:GFXSurface|gfxSurface]]
* [[Mozilla2:GFXColor|Color]]
* [[Mozilla2:GFXColor|gfxColor]]
* [[Mozilla2:GFXMatrix|Matrix]]
* [[Mozilla2:GFXMatrix|gfxMatrix]]
* [[Mozilla2:GFXPoint|Point,Rect,Size,Margin]]
* [[Mozilla2:GFXPoint|gfxPoint,Rect,Size]]
* [[Mozilla2:GFXTextRun|TextRun]]
* [[Mozilla2:GFXTextRun|gfxTextRun]]

Revision as of 03:18, 11 April 2005

I've been giving some thought to what kind of wrappers we want for cairo. They should be pretty thin, but allow us flexibility to add new features and helper functions. This code is being called "Thebes".

These are pretty rough and need more thought, but here are some of the classes I've been thinking of.