[GB.QT4]
* BUG: Make gb.qt4 compiles on ARM again. git-svn-id: svn://localhost/gambas/trunk@5814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
1952bfd047
commit
768a42416d
1 changed files with 9 additions and 1 deletions
|
@ -1264,7 +1264,15 @@ static void TransformMultiply(GB_TRANSFORM matrix, GB_TRANSFORM matrix2)
|
|||
|
||||
static void TransformMap(GB_TRANSFORM matrix, double *x, double *y)
|
||||
{
|
||||
((QTransform *)matrix)->map(*x, *y, x, y);
|
||||
qreal xx, yy;
|
||||
|
||||
xx = *x;
|
||||
yy = *y;
|
||||
|
||||
((QTransform *)matrix)->map(xx, yy, &xx, &yy);
|
||||
|
||||
*x = xx;
|
||||
*y = yy;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue