boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:
制御文字があった時に呼び出される
-(NSRect)boundingBoxForControlGlyphAtIndex:(unsigned)glyphIndex: forTextContainer:(NSTextContainer *)textContainer: proposedLineFragment:(NSRect )proposedRect: glyphPosition:(NSPoint )glyphPosition: characterIndex:(unsigned)charIndex:
解説
制御文字があった時に呼び出される
Mac OS X v10.4以降使用不可です。
返り値
( NSRect )
引数
( unsigned )glyphIndex
( NSTextContainer * )textContainer
テキストコンテナ
( NSRect )proposedRect
( NSPoint )glyphPosition
グリフ位置
( unsigned )charIndex
文字番号
フレームワーク
ApplicationKit
クラス
NSATSTypesetter
Instance Methods
使用可能
10.3
参照
例文
- (NSRect)boundingBoxForControlGlyphAtIndex:(unsigned)glyphIndex forTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(NSRect)proposedRect glyphPosition:(NSPoint)glyphPosition characterIndex:(unsigned)charIndex; { NSLog(@"glyphIndex = %u",glyphIndex); return proposedRect; }