[cairo] CAIROMM: surfaces
Owen Taylor
otaylor at redhat.com
Thu Jan 12 19:31:22 PST 2006
On Wed, 2006-01-11 at 13:34 -0600, Jonathon Jongsma wrote:
> - Surface
> - ImageSurface
> - FileSurface (name TBD)
> - PdfSurface
> - PsSurface
> -SvgSurface
My hit-and-run opinion is that the FileSurface type is extraneous.
Just because those surfaces have similar-looking (or even identical)
constructors, doesn't mean that they need to share a base class.
Since this "FileSurface" has no representation in the cairo code,
cairo could always add a "FigSurface" (say) that is a file surface
in some ways, but not a FileSurface in every way, and then you'd
be in trouble.
Regards,
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060112/6f42ec0c/attachment.pgp
More information about the cairo
mailing list