Name
GetCurrentPoint -- get path's current point (V5.0)
Synopsis
void GetCurrentPoint(void *path, struct PathStyle *style, double *curx,
         double *cury);
Function
This function has to return the current point of the specified path. Your implementation has to write the x and y position of the current point to the curx and cury pointers passed as parameters 3 and 4. See DrawPath for a detailed description on how the path buffer is formatted.

Inputs
path
pointer to a disparate array containing the path; See DrawPath for details.
style
pointer to a struct PathStyle containing the path's style; See DrawPath for details.
curx
pointer to a double that receives the path's current x point
cury
pointer to a double that receives the path's current y point

Show TOC