Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
koldo is currently offline  koldo
Messages: 3354
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:

index.php?t=getfile&id=3494&private=0'

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 567 times)


Best regards
Iñaki

[Updated on: Wed, 02 November 2011 13:58]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Get an Image from a DrawingDraw
Next Topic: Problem with polygon inside polygon... in Painter
Goto Forum:
  


Current Time: Thu Mar 28 10:47:50 CET 2024

Total time taken to generate the page: 0.01142 seconds