mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:50:48 +00:00
Rework of display* mechanism to use new MacOSX10.4 method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25291 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7426f2aac
commit
d8d13297cb
6 changed files with 397 additions and 368 deletions
|
@ -1145,11 +1145,12 @@ scaleRect(NSRect rect, double scale)
|
|||
}
|
||||
|
||||
/* Do the actual drawing */
|
||||
[self displayRectIgnoringOpacity: pageRect];
|
||||
[self displayRectIgnoringOpacity: pageRect inContext: ctxt];
|
||||
|
||||
/* End a logical page */
|
||||
// Balance gsave in beginPageInRect:
|
||||
// FIXME: Attempt to get the coordinates of the page border correct.
|
||||
DPSgrestore(ctxt);
|
||||
DPSgsave(ctxt);
|
||||
[self drawPageBorderWithSize: info.paperBounds.size];
|
||||
[self endPage];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue