From 8417031f947f761e72d9a8b0424540d9ff9d1f71 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Sun, 25 Jan 2004 16:50:33 +0000 Subject: [PATCH] Exchanged appendTransform: and prePendTransform: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18479 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 9 +++++++++ Source/art/image.m | 2 +- Source/art/shfill.m | 2 +- Source/winlib/WIN32GState.m | 2 +- Source/xlib/XGGState.m | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb5898e..c99f4a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-01-25 Fred Kiefer + + * Source/art/shfill.m (-DPSshfill:): + * Source/winlib/Win32GState.m (-DPSimage::::): + * Source/xlib/XGGState.m (-DPSimage::::): Replaced + appendTransform: with prependTransform:. + * Source/art/image.m (-DPSimage:): Replaced prependTransform: with + appendTransform:. + 2004-01-25 13:52 Alexander Malmberg * Source/art/image.m (-_image_do_rgb_transform:::): Fix off-by-one diff --git a/Source/art/image.m b/Source/art/image.m index cd4ac63..8e0aafa 100644 --- a/Source/art/image.m +++ b/Source/art/image.m @@ -583,7 +583,7 @@ seem to cause edges to be off by a pixel if (!wi || !wi->data) return; if (all_clipped) return; - [matrix prependTransform: ctm]; + [matrix appendTransform: ctm]; if (fabs(matrix->matrix.m11 - 1.0) < 0.001 && fabs(matrix->matrix.m12) < 0.001 && fabs(matrix->matrix.m22 - 1.0) < 0.001 && diff --git a/Source/art/shfill.m b/Source/art/shfill.m index e0d5e41..e466c4e 100644 --- a/Source/art/shfill.m +++ b/Source/art/shfill.m @@ -574,7 +574,7 @@ static void function_free(function_t *f) matrix=[ctm copy]; if ([shader objectForKey: @"Matrix"]) { - [matrix appendTransform: [shader objectForKey: @"Matrix"]]; + [matrix prependTransform: [shader objectForKey: @"Matrix"]]; } inverse=[matrix copy]; diff --git a/Source/winlib/WIN32GState.m b/Source/winlib/WIN32GState.m index 02a3603..04c1b66 100644 --- a/Source/winlib/WIN32GState.m +++ b/Source/winlib/WIN32GState.m @@ -478,7 +478,7 @@ HBITMAP GSCreateBitmap(HDC hDC, int pixelsWide, int pixelsHigh, if (matrix) { old_ctm = [ctm copy]; - [ctm appendTransform: matrix]; + [ctm prependTransform: matrix]; } p = GSViewPointToWin(self, NSMakePoint(0, 0)); if (old_ctm != nil) diff --git a/Source/xlib/XGGState.m b/Source/xlib/XGGState.m index 9887d9e..b078bdd 100644 --- a/Source/xlib/XGGState.m +++ b/Source/xlib/XGGState.m @@ -1741,7 +1741,7 @@ typedef enum { if (matrix) { old_ctm = [ctm copy]; - [ctm appendTransform: matrix]; + [ctm prependTransform: matrix]; } // --- Get our drawable info -----------------------------------------