• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Flipping Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flipping Text


  • Subject: Re: Flipping Text
  • From: Ian was here <email@hidden>
  • Date: Wed, 9 Nov 2005 15:21:25 -0800 (PST)

The view and image are both flipped before text is
being drawn in. I found a solution to the problem:

The view is flipped, but I do not set the image to be
flipped. I draw the text onto the image, then I do an
affine transformation onto a temporary image that
cuases it to flip vertically. Then I apply the
temporary image onto the view.



--- Douglas Davidson <email@hidden> wrote:

>
> On Nov 9, 2005, at 9:20 AM, Ian was here wrote:
>
> > I have a flipped view that I am display images in.
> > Each image has text drawn onto it (before being
> > rendered into the view), then the image is flipped
> to
> > match the view using [theImage setFlipped:YES];
> >
> >
> > When the image is rendered into the view, it looks
> > correct; except for the text on the image, it's
> upside
> > down! The text does not seem to flip with the
> image
> > after it's been rendered to the image.
> >
>
> The text system generally assumes flippedness.  Try
> flipping the
> image before drawing text into it.
>
> Douglas Davidson
>
>





__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Flipping Text (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Getting NSXMLDTD to initialize
  • Next by Date: Re: Memory not being freed
  • Previous by thread: Re: Flipping Text
  • Next by thread: NSThread call back...
  • Index(es):
    • Date
    • Thread