From 426cf9c33a505027953a94d06b7c42f1d007ce2c Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Sat, 26 Oct 2024 18:09:12 +0200 Subject: [PATCH] revert change "draw_image(): do RECTORDER() before taking *x1, *y1", as it messes up images in rotated /flipped symbols --- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw.c b/src/draw.c index bc708bee..0ccc525a 100644 --- a/src/draw.c +++ b/src/draw.c @@ -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);