increased precision, fixed rotated image being cropped sometimes
antialiasing fixes
antialiasing bugfixes
added enums for clarity
removed unused macro
code cleanups, comments
cleanups
cleanups, used rgba_t where possible