Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class CoreGraphicsRenderer(val bmp: Bitmap32, val antialiasing: Boolean) : BufferedRenderer

Properties

Link copied to clipboard
val Double.cg: CGFloat
val Float.cg: CGFloat
val Int.cg: CGFloat

Functions

Link copied to clipboard
fun CGRectMakeExt(x: Double, y: Double, width: Double, height: Double): CValue<CGRect>
fun CGRectMakeExt(x: Float, y: Float, width: Float, height: Float): CValue<CGRect>
fun CGRectMakeExt(x: Int, y: Int, width: Int, height: Int): CValue<CGRect>
Link copied to clipboard
fun swapRB(ptr: CPointer<IntVar>?, count: Int)
Link copied to clipboard
fun test()
Link copied to clipboard
fun CGImageRef.toBitmap32(): Bitmap32
Link copied to clipboard
fun NSData.toByteArray(): ByteArray
Link copied to clipboard
fun MRectangle.toCG(): CValue<CGRect>
fun Rectangle.toCG(): CValue<CGRect>
Link copied to clipboard
inline fun Double.toCgFloat(): CGFloat
inline fun Float.toCgFloat(): CGFloat
Link copied to clipboard
fun Bitmap32.toCGImage(): CGImageRef?
Link copied to clipboard
fun CGPoint.toPoint(): Point
Link copied to clipboard
fun CGRect.toRectangle(): Rectangle
Link copied to clipboard
fun CGSize.toSize(): Size
Link copied to clipboard
fun transferBitmap32CGContext(bmp: Bitmap32, ctx: CGContextRef?, toBitmap: Boolean)
Link copied to clipboard
fun transferBitmap32ToCGImage(bmp: Bitmap32, colorSpace: CGColorSpaceRef? = null): CGImageRef?

Returned image must be deallocated with CGImageRelease