Fix: Reverted part of r773 (Crash on distort if the brush angles touch the screen edge.)

Fix: Distort brush now re-centers the brush "handle".


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@783 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-05-06 19:20:06 +00:00
parent 3e0b1b5c1c
commit 344547a0ca
2 changed files with 18 additions and 13 deletions

View File

@@ -70,7 +70,7 @@ void Rotate_brush_preview(float angle);
/*!
Distort the brush on the screen.
*/
void Distort_brush_preview(unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2, unsigned short x3, unsigned short y3, unsigned short x4, unsigned short y4);
void Distort_brush_preview(short x1, short y1, short x2, short y2, short x3, short y3, short x4, short y4);
/*!
Replace the brush by a distorted version of itself.