Exchanged appendTransform: and prePendTransform:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18479 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-01-25 16:50:33 +00:00
parent de74b30570
commit 8417031f94
5 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,12 @@
2004-01-25 Fred Kiefer <FredKiefer@gmx.de>
* 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 <alexander@malmberg.org>
* Source/art/image.m (-_image_do_rgb_transform:::): Fix off-by-one

View file

@ -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 &&

View file

@ -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];

View file

@ -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)

View file

@ -1741,7 +1741,7 @@ typedef enum {
if (matrix)
{
old_ctm = [ctm copy];
[ctm appendTransform: matrix];
[ctm prependTransform: matrix];
}
// --- Get our drawable info -----------------------------------------