mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 18:11:56 +00:00
Removed old, broken-by-design interface for soft invalidation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16116 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9a2fd89144
commit
992115d6a5
2 changed files with 0 additions and 38 deletions
|
@ -126,34 +126,6 @@ Subclasses need to implement this method.
|
||||||
nextGlyphIndex: (unsigned int *)nextGlyphIndex
|
nextGlyphIndex: (unsigned int *)nextGlyphIndex
|
||||||
numberOfLineFragments: (unsigned int)howMany;
|
numberOfLineFragments: (unsigned int)howMany;
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Used to relayout soft-invalidated glyphs.
|
|
||||||
|
|
||||||
glyphRange is a range of glyphs that were laid out in lineFragRect.
|
|
||||||
|
|
||||||
The previous line fragment rectangle is previousLineFragRect, in
|
|
||||||
textContainer.
|
|
||||||
|
|
||||||
If the glyphs in lineFragRect don't need to be laid out again (ie. if they
|
|
||||||
can be laid out in the same place as before, or if the line fragment
|
|
||||||
rectangle can be shifted to a new position without disturbing the glyphs in
|
|
||||||
it), the method should return YES and place a (possibly shifted) line
|
|
||||||
fragment rectangle for the glyphs in lineFragRect, and the textContainer
|
|
||||||
for the line fragment rectangle in textContainer.
|
|
||||||
|
|
||||||
If the glyphs need to be laid out from scratch, it should return NO. The
|
|
||||||
layout manager then needs to call layoutGlyphsIn... to lay the glyphs out
|
|
||||||
again.
|
|
||||||
|
|
||||||
GSTypesetter's implementation returns NO.
|
|
||||||
*/
|
|
||||||
-(BOOL) relayoutGlyphsInLayoutManager: (GSLayoutManager *)layoutManager
|
|
||||||
glyphRange: (NSRange)glyphRange
|
|
||||||
lineFragmentRect: (NSRect *)lineFragRect
|
|
||||||
textContainer: (NSTextContainer **)textContainer
|
|
||||||
previousLineFragmentRect: (NSRect)previousLineFragRect;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -69,15 +69,5 @@
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-(BOOL) relayoutGlyphsInLayoutManager: (GSLayoutManager *)layoutManager
|
|
||||||
glyphRange: (NSRange)glyphRange
|
|
||||||
lineFragmentRect: (NSRect *)lineFragRect
|
|
||||||
textContainer: (NSTextContainer **)textContainer
|
|
||||||
previousLineFragmentRect: (NSRect)previousLineFragRect
|
|
||||||
{
|
|
||||||
return NO;
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue