Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00
Andreas Kling
7bb18215cb
LibGUI: Use String::formatted() and String::number() more
2021-01-03 15:26:47 +01:00
Nico Weber
b67eed5b80
LibGfx: Fix type of scale factor in Point scale operators
2020-12-18 17:35:30 +01:00
AnotherTest
b2d698472b
LibGfx: Add a 'Point::absolute_relative_distance_to(Point)'
...
This is significantly more elegant than subtracting the points and
constructing another point from the abs() of their individual
components.
2020-11-30 12:07:45 +01:00
Tom
a43ba348e1
LibGfx: Add convenience method Point::constrained
2020-08-18 12:12:27 +02:00
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
335916d8db
LibGfx: Templatize Point, Size, and Rect
2020-07-27 01:06:26 +02:00
Matthew Olsson
1cffde7635
LibGfx: Add elliptical curves to Path
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
Andreas Kling
3775983dfe
LibIPC+LibGfx: Templatize IPC encoding as well as decoding
...
Now most classes dictate how they are serialized and deserialized when
transmitted across LibIPC sockets. This also makes the IPC compiler
a bit simpler. :^)
2020-05-12 18:49:24 +02:00
AnotherTest
9f3f98d4c0
LibGfx: Add Painter::draw_quadratic_bezier_curve()
...
Also adds a QuadraticBezierCurveTo mode to Gfx::Path
2020-05-05 09:21:07 +02:00
Andreas Kling
24a0354ce8
LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers
...
Instead of passing the BufferStream, pass the Decoder. I'd like to stop
using BufferStream eventually anyway, so it's good to get it out of any
API's where it's in currently.
2020-03-29 19:37:23 +02:00
Andreas Kling
37fc6c117c
Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller
2020-03-08 13:06:51 +01:00
Andreas Kling
a4d857e3c5
LibIPC+IPCCompiler: Add IPC::Decoder, let classes decode themselves
...
This shaves ~5 seconds off of a full build, not too bad. Also it just
seems nicer to push this logic out to classes. It could be better but
it's a start. :^)
2020-02-15 12:11:19 +01:00
Andreas Kling
34b5ff7c29
LibGfx: Move a bunch of LogStream::operator<< to cpp files
2020-02-15 00:58:54 +01:00
Andreas Kling
9b87843af1
LibGfx: Unpublish Gfx::Point from global namespace
2020-02-06 13:08:32 +01:00
Andreas Kling
9ac94d393e
LibGfx: Rename from LibDraw :^)
2020-02-06 12:04:00 +01:00