1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

LibPDF: Add a very poor path clipping implementation

This completely ignores the actual path and just uses its bounding box,
since our painter doesn't support clipping to paths.
This commit is contained in:
Matthew Olsson 2021-05-23 11:43:28 -07:00 committed by Ali Mohammad Pur
parent b6c884d20c
commit f2d2f3fae7
3 changed files with 36 additions and 21 deletions

View file

@ -23,7 +23,7 @@
V(SetColorRenderingIntent, set_color_rendering_intent, ri) \
V(SetFlatnessTolerance, set_flatness_tolerance, i) \
V(SetGraphicsStateFromDict, set_graphics_state_from_dict, gs) \
V(PathBegin, path_begin, m) \
V(PathMove, path_move, m) \
V(PathLine, path_line, l) \
V(PathCubicBezierCurve, path_cubic_bezier_curve, c) \
V(PathCubicBezierCurveNoFirstControl, path_cubic_bezier_curve_no_first_control, v) \