On Tue, Feb 1, 2011 at 2:14 PM, David F. <dav...@gmx.us> wrote:
> Aki, is it really a good idea for the text system to automatically apply an 
> inverted text matrix?  The text is *not* rendered correctly just by applying 
> an inverted text matrix to the font:  for example, underlines and 
> strikethroughs aren't drawn correctly if the context isn't flipped.

I think one of the biggest misunderstandings is that -isFlipped does
not actually dictate the flippedness of the graphics context. If a
graphics context returns YES from -isFlipped, all that means is that
the caller may presume that a flip has been applied to the CTM.

The layout manager uses this hint to determine if it needs to flip the
context its drawing context for the glyphs.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to