Table of Contents

Class PaintableHelper

Namespace
Gdk
Assembly
Gdk-4.0.dll
public sealed class PaintableHelper : Object, IObject, INotifyPropertyChanged, IDisposable, Paintable, IHandle, GTypeProvider
Inheritance
PaintableHelper
Implements
Inherited Members

Constructors

PaintableHelper(IntPtr, bool)

public PaintableHelper(IntPtr handle, bool ownedRef)

Parameters

handle IntPtr
ownedRef bool

Methods

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

public void ComputeConcreteSize(double specifiedWidth, double specifiedHeight, double defaultWidth, double defaultHeight, out double concreteWidth, out double concreteHeight)

Parameters

specifiedWidth double
specifiedHeight double
defaultWidth double
defaultHeight double
concreteWidth double
concreteHeight double

GetCurrentImage()

public Paintable GetCurrentImage()

Returns

Paintable

GetFlags()

public PaintableFlags GetFlags()

Returns

PaintableFlags

GetGType()

public static Type GetGType()

Returns

Type

GetIntrinsicAspectRatio()

public double GetIntrinsicAspectRatio()

Returns

double

GetIntrinsicHeight()

public int GetIntrinsicHeight()

Returns

int

GetIntrinsicWidth()

public int GetIntrinsicWidth()

Returns

int

InvalidateContents()

public void InvalidateContents()

InvalidateSize()

public void InvalidateSize()

NewEmpty(int, int)

public static Paintable NewEmpty(int intrinsicWidth, int intrinsicHeight)

Parameters

intrinsicWidth int
intrinsicHeight int

Returns

Paintable

Snapshot(Snapshot, double, double)

public void Snapshot(Snapshot snapshot, double width, double height)

Parameters

snapshot Snapshot
width double
height double