summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF/Command.h
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2021-05-23 11:43:28 -0700
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-05-25 00:24:09 +0430
commitf2d2f3fae738a197aaafd5b4b6751d69db1e51ff (patch)
tree99a05176fb074553f9f78b504062dbeeb41a4097 /Userland/Libraries/LibPDF/Command.h
parentb6c884d20cab226a64cae781cd4428914c4ca76f (diff)
downloadserenity-f2d2f3fae738a197aaafd5b4b6751d69db1e51ff.zip
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.
Diffstat (limited to 'Userland/Libraries/LibPDF/Command.h')
-rw-r--r--Userland/Libraries/LibPDF/Command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibPDF/Command.h b/Userland/Libraries/LibPDF/Command.h
index 2e54782f31..c1ba23c8fa 100644
--- a/Userland/Libraries/LibPDF/Command.h
+++ b/Userland/Libraries/LibPDF/Command.h
@@ -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) \