Skip to content

Struct blaze::Rect

ClassList > blaze > Rect

Public Attributes

Type Name
int height
int width
int x
int y

Public Functions

Type Name
Rect ()
Rect (int x_, int y_, int w, int h)
int bottom () const
bool contains (int px, int py) const
Rect operator& (const Rect & other) const
int right () const

Public Attributes Documentation

variable height

int blaze::Rect::height;

variable width

int blaze::Rect::width;

variable x

int blaze::Rect::x;

variable y

int blaze::Rect::y;

Public Functions Documentation

function Rect [1/2]

inline blaze::Rect::Rect () 

function Rect [2/2]

inline blaze::Rect::Rect (
    int x_,
    int y_,
    int w,
    int h
) 

function bottom

inline int blaze::Rect::bottom () const

function contains

inline bool blaze::Rect::contains (
    int px,
    int py
) const

function operator&

inline Rect blaze::Rect::operator& (
    const Rect & other
) const

function right

inline int blaze::Rect::right () const


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/grid/raster.hpp