• 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
non-uniform scaled NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

non-uniform scaled NSBezierPath


  • Subject: non-uniform scaled NSBezierPath
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 21 Apr 2004 23:21:40 +0200

I have a NSBezierPath which is scaled differently in x and y. This makes vertical lines much thicker than horizontal ones. Which looks silly.

In the good old days of Display Postscript I used to do some magic like:
DPSDoUserPath( ...., dps_uappend ) ;
// trick to ensure line width is independent of zoom:
PSgsave();
PSmatrix();
PSdefaultmatrix();
PSsetmatrix();
PSstroke();
PSgrestore();
Is there any way to do the same with NSBezierPath?

Gerriet.
_______________________________________________
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: non-uniform scaled NSBezierPath
      • From: Glenn Andreas <email@hidden>
  • Prev by Date: Re: CFStringRef == NSString* ?
  • Next by Date: Re: CFStringRef == NSString* ?
  • Previous by thread: Re: Slightly OT: anybody familiar with USB?
  • Next by thread: Re: non-uniform scaled NSBezierPath
  • Index(es):
    • Date
    • Thread