Table of Contents

Class Paintable

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
public class Paintable
Inheritance
Paintable
Inherited Members

Methods

ComputeConcreteSize(IntPtr, double, double, double, double, out double, out double)

Calls native method gdk_paintable_compute_concrete_size.

public static extern void ComputeConcreteSize(IntPtr paintable, double specifiedWidth, double specifiedHeight, double defaultWidth, double defaultHeight, out double concreteWidth, out double concreteHeight)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

specifiedWidth double

Transfer ownership: None Nullable: False

specifiedHeight double

Transfer ownership: None Nullable: False

defaultWidth double

Transfer ownership: None Nullable: False

defaultHeight double

Transfer ownership: None Nullable: False

concreteWidth double

Transfer ownership: Full Nullable: False

concreteHeight double

Transfer ownership: Full Nullable: False

GetCurrentImage(IntPtr)

Calls native method gdk_paintable_get_current_image.

public static extern IntPtr GetCurrentImage(IntPtr paintable)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

GetFlags(IntPtr)

Calls native method gdk_paintable_get_flags.

public static extern PaintableFlags GetFlags(IntPtr paintable)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

Returns

PaintableFlags

Transfer ownership: None Nullable: False

GetGType()

Calls native function gdk_paintable_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetIntrinsicAspectRatio(IntPtr)

Calls native method gdk_paintable_get_intrinsic_aspect_ratio.

public static extern double GetIntrinsicAspectRatio(IntPtr paintable)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetIntrinsicHeight(IntPtr)

Calls native method gdk_paintable_get_intrinsic_height.

public static extern int GetIntrinsicHeight(IntPtr paintable)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetIntrinsicWidth(IntPtr)

Calls native method gdk_paintable_get_intrinsic_width.

public static extern int GetIntrinsicWidth(IntPtr paintable)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

InvalidateContents(IntPtr)

Calls native method gdk_paintable_invalidate_contents.

public static extern void InvalidateContents(IntPtr paintable)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

InvalidateSize(IntPtr)

Calls native method gdk_paintable_invalidate_size.

public static extern void InvalidateSize(IntPtr paintable)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

NewEmpty(int, int)

Calls native function gdk_paintable_new_empty.

public static extern IntPtr NewEmpty(int intrinsicWidth, int intrinsicHeight)

Parameters

intrinsicWidth int

Transfer ownership: None Nullable: False

intrinsicHeight int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Snapshot(IntPtr, IntPtr, double, double)

Calls native method gdk_paintable_snapshot.

public static extern void Snapshot(IntPtr paintable, IntPtr snapshot, double width, double height)

Parameters

paintable IntPtr

Transfer ownership: None Nullable: False

snapshot IntPtr

Transfer ownership: None Nullable: False

width double

Transfer ownership: None Nullable: False

height double

Transfer ownership: None Nullable: False