mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
Conform to OPENSTEP operation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8e1794b88a
commit
b18e312dd4
2 changed files with 6 additions and 4 deletions
|
@ -1238,9 +1238,6 @@ setupLine(GSTextLine *line, NSAttributedString *str, NSRange range,
|
|||
NSPoint point;
|
||||
NSView *view = [NSView focusView];
|
||||
|
||||
PSgsave();
|
||||
NSRectClip(rect);
|
||||
|
||||
/*
|
||||
* Since [-drawAtPoint:] positions the top-left corner of the text at
|
||||
* the point, we locate the top-left corner of the rectangle to do the
|
||||
|
@ -1253,7 +1250,6 @@ setupLine(GSTextLine *line, NSAttributedString *str, NSRange range,
|
|||
point.y = rect.origin.y + rect.size.height;
|
||||
|
||||
[self drawAtPoint: point];
|
||||
PSgrestore();
|
||||
}
|
||||
|
||||
- (NSSize) size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue