Class Paintable
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
IntPtrTransfer ownership: None Nullable: False
specifiedWidth
doubleTransfer ownership: None Nullable: False
specifiedHeight
doubleTransfer ownership: None Nullable: False
defaultWidth
doubleTransfer ownership: None Nullable: False
defaultHeight
doubleTransfer ownership: None Nullable: False
concreteWidth
doubleTransfer ownership: Full Nullable: False
concreteHeight
doubleTransfer ownership: Full Nullable: False
GetCurrentImage(IntPtr)
Calls native method gdk_paintable_get_current_image.
public static extern IntPtr GetCurrentImage(IntPtr paintable)
Parameters
paintable
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
InvalidateSize(IntPtr)
Calls native method gdk_paintable_invalidate_size.
public static extern void InvalidateSize(IntPtr paintable)
Parameters
paintable
IntPtrTransfer 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
intTransfer ownership: None Nullable: False
intrinsicHeight
intTransfer 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)