Table of Contents

Class DmabufTexture

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class DmabufTexture : Texture, IObject, INotifyPropertyChanged, IDisposable, Paintable, Icon, LoadableIcon, IHandle, GTypeProvider
Inheritance
DmabufTexture
Implements
Inherited Members

Constructors

DmabufTexture(bool, params ConstructArgument[])

protected DmabufTexture(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

DmabufTexture(IntPtr, bool)

protected DmabufTexture(IntPtr ptr, bool ownedRef)

Parameters

ptr 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

Equal(Icon?)

public bool Equal(Icon? icon2)

Parameters

icon2 Icon

Returns

bool

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

Hash()

public uint Hash()

Returns

uint

InvalidateContents()

public void InvalidateContents()

InvalidateSize()

public void InvalidateSize()

Load(int, out string, Cancellable?)

public InputStream Load(int size, out string type, Cancellable? cancellable)

Parameters

size int
type string
cancellable Cancellable

Returns

InputStream

LoadFinish(AsyncResult, out string)

public InputStream LoadFinish(AsyncResult res, out string type)

Parameters

res AsyncResult
type string

Returns

InputStream

Serialize()

[Version("2.38")]
public Variant? Serialize()

Returns

Variant

Snapshot(Snapshot, double, double)

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

Parameters

snapshot Snapshot
width double
height double

ToString()

[Version("2.20")]
public string? ToString()

Returns

string