Age | Commit message (Collapse) | Author |
|
Also while here add option to disable pre-multiplied alpha for gradients
(this will be handy later).
|
|
For convenience, `DisjointIntRectSet` is an alias for
`DisjointRectSet<int>`, and is used everywhere for now.
|
|
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.
|
|
Previously this was limited to integer triangles, but I want to use it
with floats, so let's start by templatizing the class.
|
|
Let's make it clear in the type name that this contains pixel metrics.
Also rename Font::metrics() => Font::pixel_metrics().
|
|
|
|
This is used to get a handy set of glyph metrics.
|
|
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.
|
|
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 *
|
|
|