From 5e1d22b5c5aba5dd148d101ea56ece33519b0b9a Mon Sep 17 00:00:00 2001
From: scuri
The value CD_CLIPREGION activates a complex clipping region. See the documentation of Regions.
+The defined clipping area, polygon and complex regions are stored + internally, so you may define them independently and switch between area, + polygon and complex region without having to define them again. Also if the + active clipping region is re-defined it immediately becomes the current + clipping region.
void cdCanvasClipArea(cdCanvas* canvas, int xmin, int xmax, int ymin, int ymax); [in C]
void cdfCanvasClipArea(cdCanvas* canvas, double xmin, double xmax, double ymin, double ymax); [in C]
void wdCanvasClipArea(cdCanvas* canvas, double xmin, double xmax, double ymin, double ymax); (WC) [in C]
canvas:ClipArea(xmin, xmax, ymin, ymax: number) [in Lua]
canvas:wClipArea(xmin, xmax, ymin, ymax: number) (WC) [in Lua]
- Defines a rectangle for clipping. Only the points in the interval xmin<= +
Defines the current rectangle for clipping. Only the points in the interval xmin<= x <= xmax and ymin <= y <= ymax will be printed. Default region: (0, w-1, 0, h-1).
-- cgit v1.2.3