mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:30:38 +00:00
Fix up clipping
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4246 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
115b3cdbf6
commit
6e14f79d10
7 changed files with 27 additions and 26 deletions
|
@ -1238,6 +1238,7 @@ setupLine(GSTextLine *line, NSAttributedString *str, NSRange range,
|
|||
NSPoint point;
|
||||
NSView *view = [NSView focusView];
|
||||
|
||||
PSgsave();
|
||||
NSRectClip(rect);
|
||||
|
||||
/*
|
||||
|
@ -1252,6 +1253,7 @@ 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