• 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: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port


  • Subject: Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
  • From: Marco Binder <email@hidden>
  • Date: Fri, 2 May 2003 12:14:40 +0200

It is nowhere documented that -[NSBezierPath appendBezierPathWithGlyph:inFont:] does actually append no path to the receiver if the current NSGraphicsContext has no graphics port. Is it really the case?

The only workaround I found so far is to lock the focus on a static NSImage (not quite efficient, I guess).

Any better idea? Any explanation? Thanks!


I m sorry, my initial reply was worded badly.

I m stuck at the same point at the moment. I could not even get any path to be appended if I locked focus on an image (newly allocated though, not static) for testing.

I meant: i could not get a path with a glyph appended to my receiver, even if I locked focus on an image beforehand.

However, I think this is a bug rather than a "feature".

The fact the appendBezierPathWithGlyph:glyph inFont:font doesnt work I consider a bug.

I found that using appenBezierPathWithGlyphs:glyph* count:number inFont:anyFont work. If you just need one glyph, simle pass &myGlyph and count=1. Works for me!

Again: I found that using appendBezierPathWithGlyphs:glyphs* count:number inFont:font works. If you just need one glyph, simply pass &myGlyph and count=1. Works for me!

MArco


--
|\ /| email@hidden http://www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
      • From: Marco Binder <email@hidden>
References: 
 >Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port (From: Marco Binder <email@hidden>)

  • Prev by Date: Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
  • Next by Date: NSTableView - edited text turns white?
  • Previous by thread: Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
  • Next by thread: Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
  • Index(es):
    • Date
    • Thread