Snapshot

class Snapshot(snapshotPointer: CPointer<GtkSnapshot>) : Snapshot

kotlinx-gtk

06 / 08 / 2021

See also

Constructors

Snapshot
Link copied to clipboard
fun Snapshot()
Snapshot
Link copied to clipboard
fun Snapshot(snapshotPointer: CPointer<GtkSnapshot>)

Functions

addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
allocArrayOf
Link copied to clipboard
inline fun NativePlacement.allocArrayOf(stops: Array<ColorStop>): CPointer<GskColorStop>?
appendBorder
Link copied to clipboard
fun appendBorder(outline: RoundedRect, topWidth: Float, rightWidth: Float, bottomWidth: Float, leftWidth: Float, topColor: RGBA, rightColor: RGBA, bottomColor: RGBA, leftColor: RGBA)
appendCairo
Link copied to clipboard
fun appendCairo(rect: Rect): Cairo
appendColor
Link copied to clipboard
fun appendColor(color: RGBA, bounds: Rect)
appendConicGradient
Link copied to clipboard
fun appendConicGradient(bounds: Rect, center: Point, rotation: Float, stops: Array<ColorStop>)
appendInsetShadow
Link copied to clipboard
fun appendInsetShadow(outline: RoundedRect, color: RGBA, dx: Float, dy: Float, spread: Float, blurRadius: Float)
appendLayout
Link copied to clipboard
fun appendLayout(layout: Layout, color: RGBA)
appendLinearGradient
Link copied to clipboard
fun appendLinearGradient(bounds: Rect, startPoint: Point, endPoint: Point, stops: Array<ColorStop>)
appendNode
Link copied to clipboard
fun appendNode(node: RenderNode)
appendOutsetShadow
Link copied to clipboard
fun appendOutsetShadow(outline: RoundedRect, color: RGBA, dx: Float, dy: Float, spread: Float, blurRadius: Float)
appendRadialGradient
Link copied to clipboard
fun appendRadialGradient(bounds: Rect, center: Point, horizontalRadius: Float, verticalRadius: Float, start: Float, end: Float, stops: Array<ColorStop>)
appendRepeatingLinearGradient
Link copied to clipboard
fun appendRepeatingLinearGradient(bounds: Rect, startPoint: Point, endPoint: Point, stops: Array<ColorStop>)
appendRepeatingRadialGradient
Link copied to clipboard
fun appendRepeatingRadialGradient(bounds: Rect, center: Point, horizontalRadius: Float, verticalRadius: Float, start: Float, end: Float, stops: Array<ColorStop>)
appendTexture
Link copied to clipboard
fun appendTexture(texture: Texture, bounds: Rect)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
freeToNode
Link copied to clipboard
fun freeToNode(): RenderNode
freeToPaintable
Link copied to clipboard
fun freeToPaintable(size: Size?): Paintable
getString
Link copied to clipboard
fun getString(propertyName: String): String
glShaderPopTexture
Link copied to clipboard
fun glShaderPopTexture()
perspective
Link copied to clipboard
fun perspective(depth: Float)
pop
Link copied to clipboard
fun pop()
pushBlend
Link copied to clipboard
fun pushBlend(blendMode: BlendMode)
pushBlur
Link copied to clipboard
fun pushBlur(radius: Double)
pushClip
Link copied to clipboard
fun pushClip(bounds: Rect)
pushColorMatrix
Link copied to clipboard
fun pushColorMatrix(colorMatrix: Matrix, colorOffset: Vec4)
pushCrossFade
Link copied to clipboard
fun pushCrossFade(progress: Double)
pushDebug
Link copied to clipboard
fun pushDebug(message: String)
pushGlShader
Link copied to clipboard
fun pushGlShader(shader: GLShader, bounds: Rect, takeArgs: KGBytes)
pushOpacity
Link copied to clipboard
fun pushOpacity(opacity: Double)
pushRepeat
Link copied to clipboard
fun pushRepeat(bounds: Rect, childBounds: Rect)
pushRoundedClip
Link copied to clipboard
fun pushRoundedClip(bounds: RoundedRect)
pushShadow
Link copied to clipboard
fun pushShadow(shadows: Array<Shadow>)
ref
Link copied to clipboard
open fun ref(): KGObject
renderBackground
Link copied to clipboard
fun renderBackground(context: StyleContext, x: Double, y: Double, width: Double, height: Double)
renderFocus
Link copied to clipboard
fun renderFocus(context: StyleContext, x: Double, y: Double, width: Double, height: Double)
renderFrame
Link copied to clipboard
fun renderFrame(context: StyleContext, x: Double, y: Double, width: Double, height: Double)
renderInsertionCursor
Link copied to clipboard
fun renderInsertionCursor(context: StyleContext, x: Double, y: Double, layout: Layout, index: Int, direction: Direction)
renderLayout
Link copied to clipboard
fun renderLayout(context: StyleContext, x: Double, y: Double, layout: Layout)
restore
Link copied to clipboard
fun restore()
rotate
Link copied to clipboard
fun rotate(angle: Float)
rotate3D
Link copied to clipboard
fun rotate3D(angle: Float, axis: Vec3)
save
Link copied to clipboard
fun save()
scale
Link copied to clipboard
fun scale(factorX: Float, factorY: Float)
scale3D
Link copied to clipboard
fun scale3D(factorX: Float, factorY: Float, factorZ: Float)
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
toNode
Link copied to clipboard
fun toNode(): RenderNode
toPaintable
Link copied to clipboard
fun toPaintable(size: Size?): Paintable
transform
Link copied to clipboard
fun transform(transform: Transform)
transformMatrix
Link copied to clipboard
fun transformMatrix(matrix: Matrix)
translate
Link copied to clipboard
fun translate(point: Point)
translate3D
Link copied to clipboard
fun translate3D(point: Point3D)
unref
Link copied to clipboard
open override fun unref()

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
gSnapShotPointer
Link copied to clipboard
val gSnapShotPointer: CPointer<GdkSnapshot>
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
snapshotPointer
Link copied to clipboard
val snapshotPointer: CPointer<GtkSnapshot>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>