Brief Index      Full Index      I.M. Reference

Rollback_Ink


Functions

void Rollback_Ink (int count)
void QRollback_Ink (const char *segment, int count)

Function Documentation

void Rollback_Ink ( int  count  ) 

Removes vertices added to a polyline via Insert_Ink().

Parameters:
count - Number of points to remove from the polyline, beginning with the most recent.

DETAILS

This function removes vertices that were added to a polyline via a call to Insert_Ink(). This function can be useful to animate the creation of a line and to move back/forward through the animation.

NOTES

Rollback_Ink can only be used on polylines that are still "open". In this case, "open" means that Restart_Ink has not yet been called for that particular polyline.

RESTRICTIONS

See also:
Insert_Ink, Restart_Ink, Insert_Line, Insert_Polyline, Insert_Polygon, Insert_Shell, Insert_Circular_Arc, Insert_Elliptical_Arc, Set_Color, Set_Line_Pattern, Set_Line_Weight, Set_Visibility

void QRollback_Ink ( const char *  segment,
int  count 
)

Similar to Rollback_Ink, but operates on the given segment rather than the currently open one.

Parameters:
segment - Segment on which to rollback polyline points.
count - Number of points to remove from the polyline, beginning with the most recent.

DETAILS

This function removes vertices that were added to a polyline via a call to Insert_Ink(). This function can be useful to animate the creation of a line and to move back/forward through the animation.

NOTES

QRollback_Ink can only be used on polylines that are still "open". In this case, "open" means that Restart_Ink has not yet been called for that particular polyline.

RESTRICTIONS

See also:
Insert_Ink, Restart_Ink, Insert_Line, Insert_Polyline, Insert_Polygon, Insert_Shell, Insert_Circular_Arc, Insert_Elliptical_Arc, Set_Color, Set_Line_Pattern, Set_Line_Weight, Set_Visibility

Main Index
Brief Index      Full Index      I.M. Functions