summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Forward.h
AgeCommit message (Collapse)Author
2023-01-22LibGfx: Add paint styles and allow gradients to be used as themMacDue
Also while here add option to disable pre-multiplied alpha for gradients (this will be handy later).
2022-10-27LibGfx+Everywhere: Make DisjointRectSet work for non-int RectsSam Atkins
For convenience, `DisjointIntRectSet` is an alias for `DisjointRectSet<int>`, and is used everywhere for now.
2022-04-07LibGfx: Add Gfx::Quad<T> to represent arbitrary quadrilateralsAndreas Kling
This comes with a very barebones API for now. You can ask for the bounding rect of the quad, and also check if a point is inside of it.
2022-04-07LibGfx: Templatize Gfx::TriangleAndreas Kling
Previously this was limited to integer triangles, but I want to use it with floats, so let's start by templatizing the class.
2022-03-30LibGfx: Rename FontMetrics => FontPixelMetricsAndreas Kling
Let's make it clear in the type name that this contains pixel metrics. Also rename Font::metrics() => Font::pixel_metrics().
2021-09-24LibGfx: Forward declare Gfx::FontMetrics as a structAndreas Kling
2021-09-24LibGfx: Add a simple Gfx::FontMetrics and Gfx::Font::metrics(code_point)Andreas Kling
This is used to get a handy set of glyph metrics.
2021-06-20LibGfx: Add a Line class and a Rect<T>::RelativeLocation classTom
These helpers will be useful in preparation for supporting multiple displays, e.g. to measure distances to other screens or figure out where rectangles are located relative to each other.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling