• 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
Pixel Drawing Program 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pixel Drawing Program 4


  • Subject: Pixel Drawing Program 4
  • From: Sebastian Gomez Papiol <email@hidden>
  • Date: Sun, 16 Feb 2003 22:45:56 +0100

I understand how quartz draw pixels. But since I need some trick to force inclined and curved lines to have only one pixel, understand how quartz work don't help me much.

In a drawing program the user must be able to draw free lines with the mouse, and also need tools to draw 1 pixel lines in every angle and position. And I discovered is impossible to draw inclined lines of 1 pixel without forcing the draw to a imaginary pixels grid.

Is possible than I need to use other methods to draw these kind of lines, but which is the better system? I can force NSBezier to draw lines in a bitmap image coordinate system? or perhaps I need to make my own line methods to draw insite an bitmap image?
_______________________________________________
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: Pixel Drawing Program 4
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: NSString is cutting off characters
  • Next by Date: NSFileHandle question
  • Previous by thread: FW: NSString is cutting off characters
  • Next by thread: Re: Pixel Drawing Program 4
  • Index(es):
    • Date
    • Thread