QtCraft API C++ classes QML types Handbook

QcBlockRenderTable::SideRect Struct

struct QcBlockRenderTable::SideRect

Rectangle on a cell side in the two coordinates that span it (see QcBlockRenderTable::axes): a0..a1 along the first axis, b0..b1 along the second. More...

Public Functions

bool contains(QcBlockRenderTable::SideRect other) const

Public Variables

float a0
float a1
float b0
float b1

Detailed Description

Member Function Documentation

bool SideRect::contains(QcBlockRenderTable::SideRect other) const

Returns whether this rectangle covers all of other.

Member Variable Documentation

float SideRect::a0

Start along the first axis (0..1).

float SideRect::a1

End along the first axis (0..1).

float SideRect::b0

Start along the second axis (0..1).

float SideRect::b1

End along the second axis (0..1).