2008-12-03
04:01 PM
- last edited on
2023-08-04
02:49 PM
by
Doreena Deng
2008-12-10 03:53 PM
API_Region clipRegion;
API_Element element;
GSErrCode err;
BNZeroMemory (&clipRegion, sizeof (API_Region));
clipRegion.box.xMin = 0.0;
clipRegion.box.xMax = 2.0;
clipRegion.box.yMin = 1.54;
clipRegion.box.yMax = 2.54;
err = ACAPI_Database (APIDb_StartClippingSessionID, NULL, NULL);
if (err == NoError) {
/* ... */
err = ACAPI_Element_Create (&element, NULL);
/* ... */
err = ACAPI_Database (APIDb_DoClipID, &clipRegion, NULL);
}
err = ACAPI_Database (APIDb_StopClippingSessionID, NULL, NULL);
i fond it in the documentation. May be you know how to past un element??