gfx: working on Anti Aliased rectangles.
commitb0791316458c7edc23a03dc8eb1d9bc346dc3b3a
authorCyril Hrubis <metan@ucw.cz>
Thu, 5 Jan 2012 00:29:43 +0000 (5 01:29 +0100)
committerCyril Hrubis <metan@ucw.cz>
Thu, 5 Jan 2012 00:29:43 +0000 (5 01:29 +0100)
tree754acfbe2e479e78d46b52a56f28c71ea36bdaa9
parenta52536952b40f8337b4415fe265217c5976f2f77
gfx: working on Anti Aliased rectangles.

* the coordinates are rooted to the center of the pixels
  (which is consistent to the rest of primitives)

* most of the code is ready
  - the four pixels in the corners are not correct yet
  - some of the corner cases are wrong, generally when
    line is not grid aligned and grid width or height
    is smaller than 3px
include/core/GP_FixedPoint.h
libs/gfx/GP_RectAA.c
tests/SDL/aatest.c