Thanks I have the HTML docs that came with the GRRLIB package but I find it not that well described. I will see if the PDF is any different.
First of all it seems to structure the document around the GRRLIB data structures and GRRLIB files (not GRRLIB functions). In my humble opinion, and maybe I am wrong, I would prefer to have it structured by functions so that I can determine which functions to use and then I can look into what parameters (i.e. data structures) are needed. Otherwise, if I am hunting for a function that performs some action but I don't know what it is called in GRRLIB, I need to guess which GRRLIB file it is in and then I can see the GRRLIB functions that that file contains. Yes, there is a brief indication of what kind of functions the GRRLIB file contains but these descriptions are equally vague.
Next I find the descriptions very vague. For example, I read the data structure for Texture Images which does include x and y handle data. First of all, without you telling me, I would never have guessed that *that* is what handles are used for. On top of that I saw some code which seems to suggest that these pieces of data in the texture image data structure are just user variables which are actually not used when drawing the texture but they can be read to be passed to functions such as SetHandle. This would be nice to know but the HTML docs don't seem to indicate this.
Lastly the description of the functions themselves are, in my opinion, vague. For example, the SetHandles does not really discuss what this affects. Obviously it affects rotation but as I am guessing it will also affect position. So if I center my handles and then draw the image then my image is actually going to have its center at the X and Y position istead of the (usual) top-left corner. This is fine but it would be nice if the description indicated that.
Maybe I am just not reading the right section. As I said, I skimmed the documentation so far because I have not had time to read it fully. As a result, sometimes I just need a little push in the right direction. As soon as you mentioned the SetHandle function then I read up on it and it looks like it is exactly what I need. However, just skimming through the function names I would never have associated SetHandles with this operation.
I know...I know...I should shut up and just read the manual...and as soon as I get some time, that is what I will do.
In any case, thanks for your "push in the right direction" help...much appreciated.
Edited 2 time(s). Last edit at 02/17/2010 02:31AM by LordAshes.