![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <WinTypes.h>
Public Member Functions | |
cWinSize (LONG _cx=0, LONG _cy=0) noexcept | |
cWinSize (const SIZE &rsize) noexcept | |
bool | operator== (const SIZE &rsize) const noexcept |
bool | PtInRect (int x, int y) const noexcept |
bool | isZero () const noexcept |
void | SetZero () noexcept |
float | get_AspectRatio () const noexcept |
void | SetMaxAspect (int maxx, int maxy) |
a 2d size. Like MFC CSize assume PIXELS_t
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
void GrayLib::cWinSize::SetMaxAspect | ( | int | maxx, |
int | maxy | ||
) |
Set the max size. but keep the current aspect ratio.
|
inlinenoexcept |