core-text ボキャブラリ
Factor ハンドブック > ボキャブラリ索引


概要
Binding for Mac OS X Core Text library

メタデータ
タグ:unportable, bindings
作者:Slava Pestov


ワード

タプルクラス
クラススーパークラススロット
line disposableline metrics image loc dim
not-a-string tupleobject


シンボルワード
CTLineRef
cached-lines


通常ワード
ワードスタック効果
<CTLine>( string open-font color -- line )
<line>( font string -- line )
CGRect-translate-x( CGRect x -- CGRect' )
CTLineCreateWithAttributedString( string -- CTLineRef )
CTLineDraw( line context -- )
CTLineGetImageBounds( line context -- CGRect )
CTLineGetOffsetForStringIndex( line charIndex secondaryOffset -- CGFloat )
CTLineGetStringIndexForPosition( line position -- CFIndex )
CTLineGetTypographicBounds( line ascent descent leading -- double )
cached-line( font string -- line )
compute-font-metrics( metrics font -- metrics )
compute-line-metrics( open-font line -- line-metrics )
fill-background( context font dim -- )
fill-selection-background( context loc dim line string -- )
kCTFontAttributeName( -- value )
kCTForegroundColorAttributeName( -- value )
kCTGlyphInfoAttributeName( -- value )
kCTKernAttributeName( -- value )
kCTLigatureAttributeName( -- value )
kCTParagraphStyleAttributeName( -- value )
kCTUnderlineStyleAttributeName( -- value )
kCTVerticalFormsAttributeName( -- value )
line-loc( metrics loc dim -- loc )
line-rect( line -- rect )
metrics>dim( bounds -- dim )
not-a-string( object -- * )
selection-rect( dim line selection -- rect )
set-text-position( context loc -- )
store-typographic-bounds( metrics width ascent descent leading -- metrics )
typographic-bounds( line -- width ascent descent leading )


クラス述語ワード
ワードスタック効果
line?( object -- ? )
not-a-string?( object -- ? )


ファイル
resource:basis/core-text/core-text.factor
resource:basis/core-text/core-text-docs.factor
resource:basis/core-text/core-text-tests.factor


resource:basis の子
ボキャブラリ概要
core-text.fontscore-text.fonts ボキャブラリ