non-uniform scaled NSBezierPath
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.