• 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
Problem with drawBackgroundForGlyphRange:atPoint:.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with drawBackgroundForGlyphRange:atPoint:.


  • Subject: Problem with drawBackgroundForGlyphRange:atPoint:.
  • From: "praveen kumar" <email@hidden>
  • Date: Wed, 2 Aug 2006 10:32:33 +0530

Good Morning,
                       I am drawing text on the custom view using
NSLayoutManger methods.

- (void)drawBackgroundForGlyphRange:(NSRange)glyphRange
atPoint:(NSPoint)containerOrigin;
- (void)drawGlyphsForGlyphRange:(NSRange)glyphRange
atPoint:(NSPoint)containerOrigin;

When i decrease the opacity of the BackgroundColor of the text to zero, it
is drawing black color and also not transparent.
It is working fine for ForegroundColor.

Please could any one suggest any idea to achieve background transparency.

Thanks a lot.
_______________________________________________
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


  • Follow-Ups:
    • Re: Problem with drawBackgroundForGlyphRange:atPoint:.
      • From: Aki Inoue <email@hidden>
  • Prev by Date: Re: What is Interface Builder doing behind the scenes?
  • Next by Date: NSToolbarItem with pull down menu
  • Previous by thread: Re: Re: Cocoa Network + SSL
  • Next by thread: Re: Problem with drawBackgroundForGlyphRange:atPoint:.
  • Index(es):
    • Date
    • Thread