The Img32.inc file in the source folder contains numerous compiler conditionals and a couple of compiler directives.
By default, the Library will rotate increasingly positive angles in a clockwise direction around the origin. However, the CLOCKWISE_ROTATION_WITH_NEGATIVE_ANGLES directive will reverse the angle of rotation, such that increasingly positive angles will wind in an anti-clockwise direction around the origin. (Irrespective of rotation direction, a point offset at an angle of 0 (zero) degrees from the origin will always be at 3 o'clock relative to that origin.)
The USE_FILE_STORAGE directive allows file storage of TLayer32 objects. Most library users will never need this functionality, so this directive is disabled by default. However, the 'experimental' CtrlDemo application in the Samples folder does demonstrate how this feature can be useful to some users.
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 16 Apr 2025