QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Public 属性 | 所有成员列表
QwtColumnRect类 参考

Directed rectangle representing bounding rectangle and orientation of a column 更多...

#include <qwt_column_symbol.h>

Public 类型

enum  Direction { LeftToRight , RightToLeft , BottomToTop , TopToBottom }
 Direction of the column 更多...
 

Public 成员函数

 QwtColumnRect ()
 Build a rectangle with invalid intervals directed BottomToTop
 
QRectF toRect () const
 Return a normalized QRect built from the intervals
 
Qt::Orientation orientation () const
 Return Orientation
 

Public 属性

QwtInterval hInterval
 Interval for the horizontal coordinates
 
QwtInterval vInterval
 Interval for the vertical coordinates
 
Direction direction
 Direction
 

详细描述

Directed rectangle representing bounding rectangle and orientation of a column

QwtColumnRect is a data structure that stores the horizontal and vertical intervals defining a column's extent, along with a direction that indicates how the column should be drawn. It is used by QwtColumnSymbol to determine the column's orientation and boundaries.

成员枚举类型说明

◆ Direction

Direction of the column

枚举值
LeftToRight 

From left to right

RightToLeft 

From right to left

BottomToTop 

From bottom to top

TopToBottom 

From top to bottom

成员函数说明

◆ toRect()

QRectF QwtColumnRect::toRect ( ) const

Return a normalized QRect built from the intervals

Converts the horizontal and vertical intervals into a QRectF, handling exclude minimum/maximum flags appropriately.

返回
Normalized rectangle

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