Pixel Drawing Program 4
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.