CairoContextImpl

class CairoContextImpl(pointer: <Error class: unknown class><<Error class: unknown class>>) : CairoContext(source)

The CairoContextImpl type represents a native instance of the abstract CairoContext class.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Creates a new instance of CairoContext for the provided CPointer.

Properties

Link copied to clipboard
open val display: Display?

The GdkDisplay used to create the GdkDrawContext.

Link copied to clipboard
val gdkCairoContextPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gdkDrawContextPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val surface: Surface?

The GdkSurface the context is bound to.

Functions

Link copied to clipboard
open fun beginFrame(region: <Error class: unknown class>)

This is deprecated since version 4.16.

Link copied to clipboard
open fun cairoCreate(): <Error class: unknown class>?

Retrieves a Cairo context to be used to draw on the GdkSurface of @context.

Link copied to clipboard
open fun endFrame()

This is deprecated since version 4.16.

Link copied to clipboard
open fun getFrameRegion(): <Error class: unknown class>?

This is deprecated since version 4.16.

Link copied to clipboard
open fun isInFrame(): Boolean

This is deprecated since version 4.16.