SimpleWindow
|
表示矩形区域周围边框的厚度 更多...
#include <Thickness.h>
Public 成员函数 | |
Thickness () | |
构造一个四边都为0的Thickness结构体 | |
Thickness (double thickness) | |
构造一个四边都相同的Thickness结构体 | |
Thickness (double horizontal, double vertical) | |
指定横向和纵向值构造Thickness结构体 | |
Thickness (double left, double top, double right, double bottom) | |
指定四边的值构造Thickness结构体 | |
bool | operator== (const Thickness &other) const |
判断两个Thickness是否相同 | |
bool | operator!= (const Thickness &other) const |
判断两个Thickness是否相同 | |
Public 属性 | |
double | left |
左边 | |
double | top |
顶边 | |
double | right |
右边 | |
double | bottom |
底边 | |
友元 | |
std::wostream & | operator<< (std::wostream &wos, const Thickness &thickness) |
支持Utils::BuildStr | |
表示矩形区域周围边框的厚度