[cairo] cairo_current_font() changes
Owen Taylor
otaylor at redhat.com
Fri Jan 21 15:45:40 PST 2005
Since this came up on IRC, there are two changes to cairo_current_font()
in current CVS.
1. It doesn't reference the returned font. (It was decided that
this should be a general property of getters, recently.)
2. What it returns is quite different. To quote briefly from the
docs.
A cairo_font_t is a font scaled to a
particular size and device resolution. A font can be set on a
cairo_t by using cairo_set_font, assuming that the
current transformation and target surface of the
cairo_t match that for which the
cairo_font_t was created. The effect of
using a mismatched cairo_font_t will be
incorrect font metrics.
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/20050121/703d1994/attachment.pgp
More information about the cairo
mailing list