Input Arguments 1
v_bez_off(handle)
int handle; handle = contrl[6]
Reserve Bezier workspace
This call reserves memory for use by GDOS extensions to produce Bezier curves. When the application makes Bezier calls, the buffer set aside by this call holds the polygon generated from the Bezier anchor and direction points. When not making Bezier calls, the application has free access to this buffer. When the application exits, it must pass a zero offset, segment, and size to disable further use of this buffer and prevent accidental use of this memory. In the absence of this call, GDOS allocates its own buffer when a v_bez() or v_bez_fill() call is made. The size of this default buffer is 8K. The size of the buffer that you pass in should vary according to the complexity of the Bezier - typically around 9K bytes.
Average user rating: 5 stars out of 1 votes
Post a comment