• 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
"fixed" line width?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"fixed" line width?


  • Subject: "fixed" line width?
  • From: Stefan Wolfrum <email@hidden>
  • Date: Thu, 21 Dec 2006 22:31:36 +0100 (MET)

Hello list,

this is my first question and I'm a bloddy beginner to Cocoa.
So please be patien with me. ;-)

Unfortunately (in my case) the linewidth of a NSBezierPath
scales with the coordinate system of the view.
I'm writing some kind of graphical mathematical application
and am drawing (complex) function graphs. I nee the line
width of the path to be constant (let's say one, two, three
SCREEN PIXELS) rather than scaled with the bounds of
the view rect.
So is there a way to calculate an always-the-pixel linewidth
value for given view bounds?
or how can I achieve my goal?

I hope I was able to make my problem clear...?!

Thanks a lot & nice greetings from Germany,
Stefan.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: "fixed" line width?
      • From: "R. Matthew Emerson" <email@hidden>
  • Prev by Date: app used memory
  • Next by Date: crashes
  • Previous by thread: app used memory
  • Next by thread: Re: "fixed" line width?
  • Index(es):
    • Date
    • Thread