Files
odfstudio/include/vcl
Andras Timar 14be550da2 emfio: implement BS_HATCHED brushes and pens
Handle BS_HATCHED brush style in EMR_CREATEBRUSHINDIRECT,
W_META_CREATEBRUSHINDIRECT, and EMR_EXTCREATEPEN.

For brushes (hatch indices 0-5), map Windows hatch styles
(HS_HORIZONTAL..HS_DIAGCROSS) to VCL Hatch objects and emit
MetaHatchAction in all polygon/polypolygon fill paths.

For EMF-specific hatch indices 6-11, use the appropriate color
source per [MS-EMF] 2.1.17: brush color (6-7), text color (8-9),
or background color (10-11) as solid fills.

For wide geometric pens with BS_HATCHED (EMR_EXTCREATEPEN),
create stroke area geometry via createAreaGeometry and render
the hatch pattern inside the pen stroke area, replacing the
normal MetaPolyLineAction/MetaLineAction. This covers all
drawing paths including LineTo, DrawPolyLine, DrawPolygon,
DrawPolyPolygon, DrawRect, DrawRoundRect, DrawEllipse, DrawArc,
DrawPie, DrawChord, DrawPolyBezier, and StrokeAndFillPath.

Change-Id: Ie8482ac53b6d4d263793488ce10a97fa1716c68d
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/325
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 8808d550d12afb3e7abc4fe6a3145d80fc5bdde4)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204389
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-04-27 08:58:20 +02:00
..
…
2026-03-16 09:33:11 +01:00
2025-02-05 18:29:16 +01:00
2024-10-01 11:17:11 +02:00
2025-10-12 18:17:31 +02:00
2025-02-18 09:44:52 +01:00
2025-05-08 08:31:36 +02:00
2026-02-24 18:01:04 +01:00
2026-03-23 07:06:06 +01:00
2025-10-26 12:08:55 +01:00
2024-02-12 20:25:54 +01:00
…
2025-08-06 20:29:26 +02:00
2026-03-23 09:39:43 +01:00
2026-03-23 09:39:43 +01:00
2026-03-23 09:39:43 +01:00
2026-03-23 09:39:43 +01:00
2026-03-26 13:23:37 +01:00
2026-02-06 14:46:46 +01:00
2024-03-14 19:17:08 +01:00
…
2024-02-12 20:25:54 +01:00
2025-10-20 15:05:25 +02:00
2024-05-10 18:44:00 +02:00
…
2026-03-22 20:20:15 +01:00
…
2025-02-18 09:44:52 +01:00