Changeset 071fefec in mainline for uspace/lib/draw/source.c


Ignore:
Timestamp:
2014-03-01T23:05:38Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a11bcb1
Parents:
d9be488
Message:

full support for affine transformation with rotation
(given the trigonometric functions are properly implemented for the target platform)
transformation matrix code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/source.c

    rd9be488 r071fefec  
    103103        assert(source_is_fast(source));
    104104
    105         long _x = (long) (x + source->transform.m[0][2]);
    106         long _y = (long) (y + source->transform.m[1][2]);
     105        long _x = (long) (x + source->transform.matrix[0][2]);
     106        long _y = (long) (y + source->transform.matrix[1][2]);
    107107
    108108        return pixelmap_pixel_at(
Note: See TracChangeset for help on using the changeset viewer.