QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
QwtScaleDraw::CornerTargets结构体 参考

Corner miter target positions in device coordinates 更多...

#include <qwt_scale_draw.h>

Public 属性

qreal start = qQNaN()
 Target at the start of the scale
 
qreal end = qQNaN()
 Target at the end of the scale
 
qreal startWidth = 1.0
 Device pen width of the perpendicular band at the start
 
qreal endWidth = 1.0
 Device pen width of the perpendicular band at the end
 

详细描述

Corner miter target positions in device coordinates

Per scale end the target is the device coordinate ( a row for vertical scales, a column for horizontal scales ) of the near edge of the perpendicular backbone band: the band closest to the canvas, where a border tick sits. Bands stacked farther out ( parasite axes ) are not crossed. qQNaN() keeps the historical fallback of one pixel beyond the end of the scale.

The backbone miter reaches width - 1 device pixels beyond the target - the far edge of the perpendicular band - so that the corner square closes for pen widths above one, while border ticks snap to the target itself.

参见
setCornerTargets(), cornerTargets()

该结构体的文档由以下文件生成: