Function
Creates a clipping Object defined by a clipping box.
Syntax
#include <dx/dx.h>
Object DXClipBox(Object o, Point p1, Point p2)
Functional Details
Creates a new Object that defines a clipping transformation to be performed on Object o at render time. The Object will be clipped by the box, whose diagonal is defined by points p1 and p2.
A Point is defined as follows:
typedef struct point {
float x, y, z;
} Point, Vector;
Return Value
Returns an Object describing to the renderer how to clip at render time or returns NULL and sets an error code.
See Also
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]