Working on core-text binding
parent
c0362a57db
commit
a25e251329
|
@ -56,4 +56,10 @@ FUNCTION: void CGContextSetRGBFillColor (
|
|||
CGFloat green,
|
||||
CGFloat blue,
|
||||
CGFloat alpha
|
||||
) ;
|
||||
|
||||
FUNCTION: void CGContextSetTextPosition (
|
||||
CGContextRef c,
|
||||
CGFloat x,
|
||||
CGFloat y
|
||||
) ;
|
|
@ -0,0 +1 @@
|
|||
Slava Pestov
|
|
@ -0,0 +1,4 @@
|
|||
! Copyright (C) 2009 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: tools.test core-text ;
|
||||
IN: core-text.tests
|
|
@ -0,0 +1,10 @@
|
|||
! Copyright (C) 2009 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: alien.syntax core-foundation.attributed-strings ;
|
||||
IN: core-text
|
||||
|
||||
TYPEDEF: void* CTLineRef
|
||||
|
||||
FUNCTION: CTLineRef CTLineCreateWithAttributedString ( CFAttributedStringRef string ) ;
|
||||
|
||||
FUNCTION: void CTLineDraw ( CTLineRef line, CGContextRef context ) ;
|
Loading…
Reference in New Issue