#include "cii.h" extern void run_ciiicecream(CII_Handle dev); static CII_RectangleRep rect1 = {10.0, 300.0, 580.0, 72.0}; static CII_RectangleRep rect2 = {300.0, 10.0, 72.0, 580.0}; extern void run_ciitestbuildclip(CII_Handle dev) { CII_BuildClipperBegin(dev); CII_MaskRectangle(dev, &rect1); CII_MaskRectangle(dev, &rect2); CII_BuildClipperEnd(dev); run_ciiicecream(dev); CII_Destroy(dev); } extern void XR_run_ciitestbuildclip() { CII_Handle dev = (CII_Handle)CII_TestDevice(); float t[6]; CII_GetInitialMatrix(dev, t); CII_SetMatrix(dev, t); run_ciitestbuildclip(dev); CII_Destroy(dev); }