Commit graph

11 commits

Author SHA1 Message Date
df0adc0a15 Everywhere: Changes to @html_dom_node and TrueType API
CSS properties fontFamily and fontSize are part of @html_dom_node now,
and the TrueType API only accepts I32 code point streams, so we have
to preprocess UTF-8 streams before rendering text.
2025-04-12 18:09:26 -04:00
2b8092f418 System/Libraries/Graphics2D: Add @get_truetype_text_width() 2025-04-09 08:59:06 -04:00
a58151430c System/Libraries/Graphics2D: Specify font name for Text2D 2025-04-05 09:21:54 -04:00
e5342de633 System/Libraries/Graphics2D: Add ctx->text() 2025-04-04 20:14:39 -04:00
3de382e6c5 Everywhere: Set default ctx->opacity to -1 2025-04-04 11:14:30 -04:00
a9c623685d System/Libraries/Graphics2D: Add member 'opacity' to Context2D
This is meant to be used for alpha blending in the Compositor, unrelated
to the context's own alpha channel.
2025-04-04 08:23:21 -04:00
5107975a32 System/Libraries/Graphics2D: Use MemCpyU64 for Flip() 2025-03-29 14:54:29 -04:00
19977d3a15 System/Libraries/Graphics2D: Make (most) callable functions chainable 2025-03-27 10:36:27 -04:00
337513fb52 System/Libraries/Graphics2D: Free up callable functions in DelContext2D() 2025-03-26 14:45:37 -04:00
b280ae3501 System/Libraries/Graphics2D: Make Context2D callable 2025-03-25 11:18:07 -04:00
39198164cd Meta: Add files to repository 2025-03-25 07:34:41 -04:00