wavelength
1.0.0
Loading...
Searching...
No Matches
rect.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
os/prnstream.h
"
4
11
struct
Rect
{
12
float
x
;
13
float
y
;
14
float
w
;
15
float
h
;
16
};
17
27
PrnStream
&
operator<<
(
PrnStream
&stream,
const
Rect
&rect);
PrnStream
Text output stream.
Definition
prnstream.h:16
prnstream.h
operator<<
PrnStream & operator<<(PrnStream &stream, const Rect &rect)
Write a rectangle as (x: y: w: h:).
Rect
Axis-aligned rectangle given by a corner and a size.
Definition
rect.h:11
Rect::w
float w
Definition
rect.h:14
Rect::x
float x
Definition
rect.h:12
Rect::y
float y
Definition
rect.h:13
Rect::h
float h
Definition
rect.h:15
src
math
rect.h
Generated by
1.15.0