[Cairo] Exposing cairo_path_t publicly?

Duncan Mak duncan at ximian.com
Sat Nov 29 17:15:13 PST 2003


GDI+ exposes a class called GraphicsPath. I was thinking of implementing
it myself, but I see that a cairo_path_t type and a set of Path APIs
defined in cairoint.h. The C API I need to support is this [1] and a
nicer C# API [2] layered on top of it.

Do you think it is adequate to expose the private cairo_path_t API and
use it to implement the GDI+ GraphicsPath? Or do you think a fresh
implementation (not related to cairo_path_t) is needed?




More information about the cairo mailing list