From acaddaabd02304763d57fbc07b0a20f1cc46a4ae Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 6 Jun 2014 23:04:05 -0400 Subject: [PATCH] lib/mnit: fix an clarify documentation of blit_stretched Signed-off-by: Jean Privat --- lib/mnit_display.nit | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/mnit_display.nit b/lib/mnit_display.nit index 26a4bde..66689ed 100644 --- a/lib/mnit_display.nit +++ b/lib/mnit_display.nit @@ -71,8 +71,13 @@ interface Drawable fun blit_rotated_scaled( image: I, x, y, angle, scale: Float ) is abstract # Draw image by specifying the positon of each image corners - # Corners are in clockwise order stating top right - # a is top right, b is bottom right, c is bottom left and d is top left + # Corners are in counter-clockwise order stating top left + # a is top left, b is bottom left, c is bottom right and d is top right + # ~~~ + # a-d + # | | + # b-c + # ~~~ fun blit_stretched( image: I, ax, ay, bx, by, cx, cy, dx, dy: Float ) is abstract -- 1.7.9.5