|
-
Jan 26th, 2019, 06:04 AM
#3
Re: Qustion 001: The min line width of Cairo.LineTo
 Originally Posted by dreammanor
Qustion 001: The min line width of Cairo.LineTo
I found a problem. The min line width of CC.LineTo is 2 instead of 1, which means I can't use CC.LineTo to draw a line with a line-width of 1. Did I miss something?
That's because cairo coordinates are centered on the pixels boundaries. To solve the issue just add 0.5 to each coordinate like:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|