Table of Contents

Class Quad

Namespace
Graphene.Internal
Assembly
Graphene-1.0.dll
public class Quad
Inheritance
Quad
Inherited Members

Methods

Alloc()

Calls native constructor graphene_quad_alloc. Version: 1.0

[Version("1.0")]
public static extern QuadOwnedHandle Alloc()

Returns

QuadOwnedHandle

Transfer ownership: Full Nullable: False

Contains(QuadHandle, PointHandle)

Calls native method graphene_quad_contains. Version: 1.0

[Version("1.0")]
public static extern bool Contains(QuadHandle q, PointHandle p)

Parameters

q QuadHandle

Transfer ownership: None Nullable: False

p PointHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Free(QuadHandle)

Calls native method graphene_quad_free. Version: 1.0

[Version("1.0")]
public static extern void Free(QuadHandle q)

Parameters

q QuadHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function graphene_quad_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetPoint(QuadHandle, uint)

Calls native method graphene_quad_get_point. Version: 1.0

[Version("1.0")]
public static extern PointUnownedHandle GetPoint(QuadHandle q, uint index)

Parameters

q QuadHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

Returns

PointUnownedHandle

Transfer ownership: None Nullable: False

Init(QuadHandle, PointHandle, PointHandle, PointHandle, PointHandle)

Calls native method graphene_quad_init. Version: 1.0

[Version("1.0")]
public static extern QuadUnownedHandle Init(QuadHandle q, PointHandle p1, PointHandle p2, PointHandle p3, PointHandle p4)

Parameters

q QuadHandle

Transfer ownership: None Nullable: False

p1 PointHandle

Transfer ownership: None Nullable: False

p2 PointHandle

Transfer ownership: None Nullable: False

p3 PointHandle

Transfer ownership: None Nullable: False

p4 PointHandle

Transfer ownership: None Nullable: False

Returns

QuadUnownedHandle

Transfer ownership: None Nullable: False

InitFromPoints(QuadHandle, PointArrayHandle)

Calls native method graphene_quad_init_from_points. Version: 1.2

[Version("1.2")]
public static extern QuadUnownedHandle InitFromPoints(QuadHandle q, PointArrayHandle points)

Parameters

q QuadHandle

Transfer ownership: None Nullable: False

points PointArrayHandle

Transfer ownership: None Nullable: False

Returns

QuadUnownedHandle

Transfer ownership: None Nullable: False

InitFromRect(QuadHandle, RectHandle)

Calls native method graphene_quad_init_from_rect. Version: 1.0

[Version("1.0")]
public static extern QuadUnownedHandle InitFromRect(QuadHandle q, RectHandle r)

Parameters

q QuadHandle

Transfer ownership: None Nullable: False

r RectHandle

Transfer ownership: None Nullable: False

Returns

QuadUnownedHandle

Transfer ownership: None Nullable: False