bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
401 stars 55 forks source link

Unpainted areas are formed when working with a Simple pen/Draw selection with pen when Disable antialiasing is turned on #395

Open PakIvan opened 2 years ago

PakIvan commented 2 years ago

1. Summary: Unpainted areas are formed when working with a Simple pen/Draw selection with pen when Disable antialiasing is turned on 2. Steps to reproduce:

3. Expected result: A solid line is drawn without antialiasing 4. Actual result: Line with «bubbles» inside 5. Environment: Windows 8.1 6. Version: LazPaint 7.1.6 (64-bit) 7. Severity: Minor 8. Attachment: image

circular17 commented 2 years ago

That can be improved indeed.

circular17 commented 2 years ago

There could be a mode that works with a temporary virtual layer to avoid drawing things twice, but this would allow to draw the connections slightly wider to avoid gaps.

Same technique to be applied to https://github.com/bgrabitmap/lazpaint/issues/449