diff --git a/JoeyLib-Vector-Image-Functions.md b/JoeyLib-Vector-Image-Functions.md new file mode 100644 index 0000000..767b28d --- /dev/null +++ b/JoeyLib-Vector-Image-Functions.md @@ -0,0 +1,17 @@ +#### jlVecDisplay +```c +void jlVecDisplay(jlVecT *vec, int x, int y); +``` +Displays the vector image `vec` at (x, y). Being able to reposition vector images makes them suitable for use as clip art. + +#### jlVecFree +```c +void jlVecFree(jlVecT *vec); +``` +Releases memory used by `vec`. + +#### jlVecLoad +```c +bool jlVecLoad(jlVecT vec, char *filename); +``` +(Note: This prototype isn't entirely accurate. No pointer crazyness is needed to pass the image into this function.)* Loads the image `vec` from the file `filename`. Handles memory allocation for you. Returns `true` on success or `false` otherwise. \ No newline at end of file