ladybird/Libraries/LibWeb/HTML/Canvas
Callum Law 32da7edf5e LibWeb: Compute font properties the same as other properties
Previously we computed font properties separately from other properties
for two reasons:
  1) These font properties were computed using a different length
     resolution context than the rest of the properties.
  2) These properties were required to be computed before creating the
     length resolution context for the rest of the properties.

The first issue was solved in the previous commit by introducing a
generic method to get the computation context for a property, and
the second is solved in this commit by computing properties in the
required order.

This simplifies the code a bit and opens up some opportunities for
optimization.
2026-02-13 21:54:06 +01:00
..
CanvasCompositing.h LibWeb/Canvas: Support globalCompositionOperation 2025-02-05 11:26:58 +00:00
CanvasCompositing.idl LibWeb/Canvas: Support globalCompositionOperation 2025-02-05 11:26:58 +00:00
CanvasDrawImage.cpp LibWeb: Present canvas before snapshotting in drawImage() 2026-02-12 00:28:36 +01:00
CanvasDrawImage.h LibWeb: Implement support for drawing with CanvasPattern 2025-10-23 13:20:03 +01:00
CanvasDrawImage.idl LibWeb: Add OffscreenCanvas to IDL types 2025-06-30 09:46:21 -06:00
CanvasDrawPath.h
CanvasDrawPath.idl
CanvasFillStrokeStyles.cpp LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
CanvasFillStrokeStyles.h LibWeb: Factor out some class template methods into implementation files 2025-10-27 14:50:54 +00:00
CanvasFillStrokeStyles.idl
CanvasFilters.h LibWeb+LibGfx: Implement Canvas2D filters 2024-12-18 18:54:20 +01:00
CanvasFilters.idl LibWeb+LibGfx: Implement Canvas2D filters 2024-12-18 18:54:20 +01:00
CanvasImageData.h LibWeb: Align CanvasRenderingContext2D::putImageData() with the spec 2025-10-21 09:52:16 +02:00
CanvasImageData.idl LibWeb: Align CanvasRenderingContext2D::putImageData() with the spec 2025-10-21 09:52:16 +02:00
CanvasImageSmoothing.h
CanvasImageSmoothing.idl
CanvasPath.cpp LibWeb: Draw canvas arcs and ellipses correctly when radius is zero 2025-10-22 16:08:57 +02:00
CanvasPath.h
CanvasPath.idl
CanvasPathDrawingStyles.h LibWeb: Use static cast to cast from base class 2026-01-01 12:23:15 +01:00
CanvasPathDrawingStyles.idl
CanvasRect.h
CanvasRect.idl
CanvasSettings.cpp LibJS+LibWeb+WebContent: Port JS::PropertyKey to UTF-16 2025-08-05 07:07:15 -04:00
CanvasSettings.h LibWeb: Factor out canvas rendering options algorihtms 2025-06-30 09:46:21 -06:00
CanvasSettings.idl LibWeb: Factor out CanvasSettings mixin into separate file 2025-06-17 16:54:04 -06:00
CanvasShadowStyles.h LibWeb: Use static cast to cast from base class 2026-01-01 12:23:15 +01:00
CanvasShadowStyles.idl LibWeb+LibGfx: Implement shadowBlur for Canvas2D 2024-12-05 17:07:13 +01:00
CanvasState.cpp
CanvasState.h LibJS+LibWeb: Add missing GC marking visits 2026-01-07 12:48:58 +01:00
CanvasState.idl
CanvasText.h LibWeb: Use Utf16String in CanvasText APIs 2025-09-21 13:22:38 +02:00
CanvasText.idl LibWeb: Use Utf16String in CanvasText APIs 2025-09-21 13:22:38 +02:00
CanvasTextDrawingStyles.cpp LibWeb: Compute font properties the same as other properties 2026-02-13 21:54:06 +01:00
CanvasTextDrawingStyles.h LibWeb: Use static cast to cast from base class 2026-01-01 12:23:15 +01:00
CanvasTextDrawingStyles.idl LibWeb: Implement CanvasRenderingContext2D direction property 2025-10-27 22:03:26 -07:00
CanvasTransform.h LibWeb: Use static cast to cast from base class 2026-01-01 12:23:15 +01:00
CanvasTransform.idl
CanvasUserInterface.idl
OffscreenCanvasBase.idl LibWeb: Implement basics for OffscreenCanvas 2025-06-30 09:46:21 -06:00
SerializeBitmap.cpp Everywhere: Avoid large rebuilds when editing (Immutable)Bitmap headers 2025-11-28 18:32:48 +01:00
SerializeBitmap.h LibWeb: Remove unused Document.h includes from SerializeBitmap.h 2026-02-08 18:51:13 +01:00