Giveda® Embedded Midware  1.2.0
本文档受《版权法》、《版权公约》保护。深圳技达®版权所有
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
GPaintDevice类 参考

可绘制对象的基类 更多...

#include <gPaintDevice.h>

继承自 GSize .

GImage 继承.

Public 成员函数

 GPaintDevice ()
 构造一个宽高均为0的空对象 更多...
 
 GPaintDevice (int w, int h)
 根据指定的宽高去构造一个 paint device 对象 更多...
 
virtual ~GPaintDevice ()
 
const GSizesize ()
 获取paint device的大小 更多...
 
bool isNull () const
 
bool isEmpty () const
 
bool isValid () const
 
T_OFFSET width () const
 
T_OFFSET height () const
 
void setWidth (T_OFFSET w)
 
void setHeight (T_OFFSET h)
 
void transpose ()
 
GSize expandedTo (const GSize &) const
 
GSize boundedTo (const GSize &) const
 
T_OFFSETrwidth ()
 
T_OFFSETrheight ()
 
GSizeoperator+= (const GSize &)
 
GSizeoperator-= (const GSize &)
 
GSizeoperator*= (double c)
 
GSizeoperator/= (double c)
 

详细描述

可绘制对象的基类

构造及析构函数说明

GPaintDevice::GPaintDevice ( )

构造一个宽高均为0的空对象

GPaintDevice::GPaintDevice ( int  w,
int  h 
)

根据指定的宽高去构造一个 paint device 对象

参数
w...
h...
virtual GPaintDevice::~GPaintDevice ( )
virtual

成员函数说明

GSize GSize::boundedTo ( const GSize ) const
inherited
GSize GSize::expandedTo ( const GSize ) const
inherited
T_OFFSET GSize::height ( ) const
inherited
bool GSize::isEmpty ( ) const
inherited
bool GSize::isNull ( ) const
inherited
bool GSize::isValid ( ) const
inherited
GSize& GSize::operator*= ( double  c)
inherited
GSize& GSize::operator+= ( const GSize )
inherited
GSize& GSize::operator-= ( const GSize )
inherited
GSize& GSize::operator/= ( double  c)
inherited
T_OFFSET& GSize::rheight ( )
inherited
T_OFFSET& GSize::rwidth ( )
inherited
void GSize::setHeight ( T_OFFSET  h)
inherited
void GSize::setWidth ( T_OFFSET  w)
inherited
const GSize& GPaintDevice::size ( )

获取paint device的大小

返回
const GSize&
void GSize::transpose ( )
inherited
T_OFFSET GSize::width ( ) const
inherited

该类的文档由以下文件生成: