[cairo] API Shapeup, setters and getters consistency, get vs current

Keith Packard keithp at keithp.com
Wed Feb 16 03:03:45 PST 2005


Around 18 o'clock on Feb 15, Carl Worth wrote:

> Having both "get" and "current" would require also explaining why in
> the documentation, and I think this just makes things harder, not
> easier, to understand.

Ok, I'll buy in.  In Xlib, there are 'Get' functions and 'Query' functions 
along with 'Destroy' and 'Free' functions, both sets prove a constant 
source of confusion.

I think the rule here is that synonyms have no place in the API.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050216/657b7f58/attachment.pgp


More information about the cairo mailing list