[cairo] API Shakeup: cairo_stroke_path -> cairo_stroke_to_path
Carl Worth
cworth at cworth.org
Wed Feb 23 07:55:02 PST 2005
There's not much to shake up in this case, since the proposal is to
rename a function that hasn't yet been implemented.
But, as the astute reader of cairo.h will notice, I've long been
dissatisfied with the name cairo_stroke_path for a function that
replaces the current path with the path of the shape that would result
from stroking it.
I had made the lame suggestion of cairo_outline_path which has the
disadvantage of using a verb totally disassociated with the stroke
operation.
Owen saved the day by pointing out the power of a well-placed
preposition and proposed:
void
cairo_stroke_to_path (cairo_t *cr);
which I find quite pleasing.
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050223/f0ed0c60/attachment.pgp
More information about the cairo
mailing list