void TranslatePath(struct TranslatePathCtrl *ctrl);
TranslatePath()
receives a pointer to a struct TranslatePathCtrl
which looks like this:
struct TranslatePathCtrl { void *Path; // [in/out] int Pad; // [unused] double TX; // [in] double TY; // [in] }; |
Here's a description of the individual structure members:
Path:
TranslatePath()
has to retrieve all coordinates from this
buffer and update them with the translated coordinates.
TX:
TY:
struct TranslatePathCtrl
which contains
information about the path and receives the translated path