From 1a482fc171640ca287580c107429d9e08df5988b Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Thu, 6 Sep 2018 02:01:55 +0000 Subject: [PATCH] scott created page: JoeyLib Vector Image Functions --- JoeyLib-Vector-Image-Functions.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 JoeyLib-Vector-Image-Functions.md 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