Commit 2b5f35e5 authored by Oliver Sander's avatar Oliver Sander

Document the OutputDev::clip and OutputDev::oeClip methods

parent 2a67883d
Pipeline #3456 passed with stage
in 4 minutes and 40 seconds
......@@ -244,7 +244,19 @@ public:
{ return gFalse; }
//----- path clipping
// Update the clipping path. The new path is the intersection of the old path
// with the path given in 'state'.
// Additionally, set the clipping mode to the 'nonzero winding number rule'.
// That is, a point is inside the clipping region if its winding number
// with respect to the clipping path is nonzero.
virtual void clip(GfxState * /*state*/) {}
// Update the clipping path. The new path is the intersection of the old path
// with the path given in 'state'.
// Additionally, set the clipping mode to the 'even-odd rule'. That is, a point is
// inside the clipping region if a ray from it to infinity will cross the clipping
// path an odd number of times (disregarding the path orientation).
virtual void eoClip(GfxState * /*state*/) {}
virtual void clipToStrokePath(GfxState * /*state*/) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment