toggle menu
korge-root
5.1.0
darwin
switch theme
search in API
korge-core
/
korlibs.image.format.cg
Package-level
declarations
Types
Functions
Properties
Types
CGBase
Native
Image
Format
Provider
Link copied to clipboard
darwin
open
class
CGBaseNativeImageFormatProvider
:
BaseNativeImageFormatProvider
CGNative
Image
Format
Provider
Link copied to clipboard
darwin
open
class
CGNativeImageFormatProvider
:
CGBaseNativeImageFormatProvider
Core
Graphics
Native
Image
Link copied to clipboard
darwin
class
CoreGraphicsNativeImage
(
bitmap
:
Bitmap32
)
:
BitmapNativeImage
Core
Graphics
Renderer
Link copied to clipboard
darwin
class
CoreGraphicsRenderer
(
val
bmp
:
Bitmap32
,
val
antialiasing
:
Boolean
)
:
BufferedRenderer
Properties
cg
Link copied to clipboard
darwin
val
Double
.
cg
:
CGFloat
val
Float
.
cg
:
CGFloat
val
Int
.
cg
:
CGFloat
Functions
CGRect
Make
Ext
Link copied to clipboard
darwin
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
>
swap
RB
Link copied to clipboard
darwin
fun
swapRB
(
ptr
:
CPointer
<
IntVar
>
?
,
count
:
Int
)
test
Link copied to clipboard
darwin
fun
test
(
)
to
Bitmap32
Link copied to clipboard
darwin
fun
CGImageRef
.
toBitmap32
(
)
:
Bitmap32
to
Byte
Array
Link copied to clipboard
darwin
fun
NSData
.
toByteArray
(
)
:
ByteArray
to
CG
Link copied to clipboard
darwin
fun
MRectangle
.
toCG
(
)
:
CValue
<
CGRect
>
fun
Rectangle
.
toCG
(
)
:
CValue
<
CGRect
>
to
Cg
Float
Link copied to clipboard
darwin
inline
fun
Double
.
toCgFloat
(
)
:
CGFloat
inline
fun
Float
.
toCgFloat
(
)
:
CGFloat
to
CGImage
Link copied to clipboard
darwin
fun
Bitmap32
.
toCGImage
(
)
:
CGImageRef
?
to
Point
Link copied to clipboard
darwin
fun
CGPoint
.
toPoint
(
)
:
Point
to
Rectangle
Link copied to clipboard
darwin
fun
CGRect
.
toRectangle
(
)
:
Rectangle
to
Size
Link copied to clipboard
darwin
fun
CGSize
.
toSize
(
)
:
Size
transfer
Bitmap32CGContext
Link copied to clipboard
darwin
fun
transferBitmap32CGContext
(
bmp
:
Bitmap32
,
ctx
:
CGContextRef
?
,
toBitmap
:
Boolean
)
transfer
Bitmap32To
CGImage
Link copied to clipboard
darwin
fun
transferBitmap32ToCGImage
(
bmp
:
Bitmap32
,
colorSpace
:
CGColorSpaceRef
?
=
null
)
:
CGImageRef
?
Returned image must be deallocated with
CGImageRelease