revert change "draw_image(): do RECTORDER() before taking *x1, *y1", as it messes up images in rotated /flipped symbols

This commit is contained in:
Stefan Schippers 2024-10-26 18:09:12 +02:00
parent 7b82abe017
commit 426cf9c33a
1 changed files with 1 additions and 1 deletions

View File

@ -4364,8 +4364,8 @@ int draw_image(int dr, xRect *r, double *x1, double *y1, double *x2, double *y2,
size_t attr_len;
if(xctx->only_probes) return 0;
RECTORDER(*x1, *y1, *x2, *y2);
xx1 = *x1; yy1 = *y1; /* image anchor point */
RECTORDER(*x1, *y1, *x2, *y2);
/* screen position */
sx1=X_TO_SCREEN(*x1);