TouchVG framework
GiContext
copy
equals
getEndArrayHead
getExtraWidth
getFillAlpha
getFillARGB
getFillColor
getLineAlpha
getLineARGB
getLineColor
getLineStyle
getLineStyleEx
getLineWidth
getStartArrayHead
GiContext
GiContext
GiContext
hasArrayHead
hasFillColor
isAutoScale
isNullLine
m_arrayHead
m_autoScale
m_fillColor
m_lineColor
m_lineStyle
m_lineWidth
operator!=
operator=
operator==
setEndArrayHead
setExtraWidth
setFillAlpha
setFillARGB
setFillColor
setFillColor
setFillColor
setLineAlpha
setLineARGB
setLineColor
setLineColor
setLineColor
setLineStyle
setLineWidth
setNoFillColor
setNullLine
setStartArrayHead
◆
GiContext()
[2/3]
GiContext::GiContext
(
float
width
,
GiColor
color
=
GiColor::Black
()
,
int
style
=
kSolidLine
,
const
GiColor
&
fillcr
=
GiColor::Invalid
()
,
bool
autoScale
=
false
)
指定线条参数来构造
填充参数为不填充
参数
width
线宽,正数表示单位为0.01mm,零表示1像素宽,负数时表示单位为像素
color
线条颜色,
GiColor::Invalid()
表示不画线条
style
线型, 取值为 kSolidLine 等
fillcr
填充颜色,
GiColor::Invalid()
表示不填充
autoScale
像素单位线宽(width<0时)是否自动缩放
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证