Linus Groh
7072806234
Meta: Replace remaining LibM/math.h includes with math.h
2020-08-12 16:18:33 +02:00
Andreas Kling
984683cf34
Revert "LibM: Always include <math.h> instead of <LibM/math.h>"
...
This reverts commit dc12cbca41
.
Sadly this broke the build due to some confusion about <new>.
Reverting until this can be solved fully.
2020-08-04 21:17:43 +02:00
Andreas Kling
dc12cbca41
LibM: Always include <math.h> instead of <LibM/math.h>
...
This makes Lagom pick up the host math.h, which is what we want.
2020-08-04 19:06:27 +02:00
Matthew Olsson
9cce7f57dd
LibGfx: Add FloatPoint methods
...
Adds some conversion constructors, as well as the missing arithmetic
operations.
2020-07-26 14:53:43 +02:00
Andreas Kling
116cf92156
LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
...
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much
better visual clue about what type of metric is being used.
2020-06-10 10:59:04 +02:00
AnotherTest
f54b41f748
LibGfx: Implement filling paths
...
There are some imperfections with intersecting edges (because the main
algorithm used is scanline, and that is not geared towards drawing
complex shapes), however, it behaves mostly fine for normal use :^)
2020-05-06 14:50:29 +02:00
Andreas Kling
ecd900b4b4
LibGfx: Add FloatPoint::to_int_point()
2020-04-16 21:11:13 +02:00
Andreas Kling
5c780c9ef7
LibGfx: Allow constructing Float{Rect,Point,Size} from integer buddies
2020-04-12 19:23:39 +02:00
Andreas Kling
8bb75084fd
LibGfx: Unpublish FloatPoint from the global namespace
2020-02-06 14:35:54 +01:00
Andreas Kling
9ac94d393e
LibGfx: Rename from LibDraw :^)
2020-02-06 12:04:00 +01:00