mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:40:38 +00:00
Small error corrections for printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24971 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
82247728ad
commit
e3a40d5811
4 changed files with 104 additions and 104 deletions
|
@ -1098,9 +1098,9 @@ scaleRect(NSRect rect, double scale)
|
|||
{
|
||||
NSAffineTransformStruct ats = { 1, 0, 0, -1, 0, NSHeight(_bounds) };
|
||||
NSAffineTransform *matrix, *flip;
|
||||
|
||||
flip = [NSAffineTransform new];
|
||||
matrix = [NSAffineTransform new];
|
||||
[matrix makeIdentityMatrix];
|
||||
[matrix prependTransform: _boundsMatrix];
|
||||
/*
|
||||
* The flipping process must result in a coordinate system that
|
||||
|
@ -1110,6 +1110,8 @@ scaleRect(NSRect rect, double scale)
|
|||
[flip setTransformStruct: ats];
|
||||
[matrix prependTransform: flip];
|
||||
[matrix concat];
|
||||
RELEASE(flip);
|
||||
RELEASE(matrix);
|
||||
yoffset = NSHeight(_frame) - NSMaxY(pageRect);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue