Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Draw sharp lines using Painter
Draw sharp lines using Painter [message #34207] |
Wed, 02 November 2011 13:54 |
|
koldo
Messages: 3358 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
I would like to draw sharp lines using Painter.
Using this code:
w.Move(x0, y0).Line(x0, y0).Line(x1, y1).Stroke(0.3, color);
I get the right line:
Comparing with the left one (1 pixel width), left one seems sharper. Changing Stroke() width I do not get a sharper view.
¿Is there anything else that can be done to get a sharper line?
-
Attachment: sharp.PNG
(Size: 0.41KB, Downloaded 572 times)
Best regards
Iñaki
[Updated on: Wed, 02 November 2011 13:58] Report message to a moderator
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 28 23:32:19 CEST 2024
Total time taken to generate the page: 0.03656 seconds
|