Re: To Draw fine rectangle
Re: To Draw fine rectangle
- Subject: Re: To Draw fine rectangle
- From: Guy English <email@hidden>
- Date: Tue, 21 Dec 2004 16:58:15 -0500
> At 11:48 Uhr +0530 21.12.2004, Amit Kumar(R&D) wrote:
> >I am using NSBezierPath class to draw a rectangle with the minimum
> >line width, which draws the rectangle somewhat thic lines then I
> >want. Is there any method to draw a rectangle with very fine (More
> >thin) lines? It would seem trivial but I can't seem to work out how
> >to do this.
Add 0.5 to your pixel coords so the line draws in the middle of the pixels.
> RTFM. This is a very FAQ. You're drawing between pixels.
Ditto.
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden