summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Point.h
AgeCommit message (Collapse)Author
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling
2021-01-03LibGUI: Use String::formatted() and String::number() moreAndreas Kling
2020-12-18LibGfx: Fix type of scale factor in Point scale operatorsNico Weber
2020-11-30LibGfx: Add a 'Point::absolute_relative_distance_to(Point)'AnotherTest
This is significantly more elegant than subtracting the points and constructing another point from the abs() of their individual components.
2020-08-18LibGfx: Add convenience method Point::constrainedTom
2020-08-12Meta: Replace remaining LibM/math.h includes with math.hLinus Groh
2020-08-04Revert "LibM: Always include <math.h> instead of <LibM/math.h>"Andreas Kling
This reverts commit dc12cbca41b8b667ae7ced1066647d47186d1557. Sadly this broke the build due to some confusion about <new>. Reverting until this can be solved fully.
2020-08-04LibM: Always include <math.h> instead of <LibM/math.h>Andreas Kling
This makes Lagom pick up the host math.h, which is what we want.
2020-07-27LibGfx: Templatize Point, Size, and RectMatthew Olsson
2020-07-26LibGfx: Add elliptical curves to PathMatthew Olsson
2020-06-10LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSizeAndreas Kling
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
2020-05-12LibIPC+LibGfx: Templatize IPC encoding as well as decodingAndreas Kling
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-05LibGfx: Add Painter::draw_quadratic_bezier_curve()AnotherTest
Also adds a QuadraticBezierCurveTo mode to Gfx::Path
2020-03-29LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpersAndreas Kling
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-08Userspace: Add missing #includes now that AK/StdLibExtras.h is smallerAndreas Kling
2020-02-15LibIPC+IPCCompiler: Add IPC::Decoder, let classes decode themselvesAndreas Kling
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-15LibGfx: Move a bunch of LogStream::operator<< to cpp filesAndreas Kling
2020-02-06LibGfx: Unpublish Gfx::Point from global namespaceAndreas Kling
2020-02-06LibGfx: Rename from LibDraw :^)Andreas Kling