summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp
AgeCommit message (Collapse)Author
2022-03-26LibGfx: Support scaling in AntiAliasingPainter::draw_circle()MacDue
Previously the painter would crash if scaling was enabled.
2022-03-19LibGfx: Fix draw_anti_aliased_line() for steep lines with "OnlyEnds"Andreas Kling
Regression from ab794a199b58415ed283b3e6a4b71097a8656725.
2022-03-19LibGfx: Transcribe "Xiaolin Wu's line algorithm" more accuratelyAndreas Kling
This improves the appearance of anti-aliased lines significantly.
2022-03-18LibGfx: AntiAliasingPainter::draw_circle/fill_rect_with_rounded_cornersMacDue
Follows the efficient algorithm from this paper: https://cs.uwaterloo.ca/research/tr/1984/CS-84-38.pdf Can be extended ellipses in future.
2021-09-18LibGfx: Implement cubic bezier curves by splitting them to subcurvesAli Mohammad Pur
This makes them significantly more nicer-looking, and fixes a FIXME :^)
2021-09-18LibWeb: Use Gfx::AntiAliasingPainter to draw SVG pathsAli Mohammad Pur
This is still quite bad, but it's much more pleasing to look at when drawing random SVGs :^)
2021-09-18LibGfx: Start a very basic anti-aliased Painter implementationAli Mohammad Pur
This can currently draw AA lines (and by proxy, AA paths), and passes all its output through a 2D affine transform to an underlying Gfx::Painter.