TouchVG framework
GiGraphics
_drawPolygon
_xf
beginPaint
beginShape
calcPenColor
calcPenWidth
copy
drawArc
drawArc3P
drawArrayHead
drawBeeline
drawBeziers
drawBeziers
drawBSplines
drawCircle
drawEllipse
drawEllipse
drawHandle
drawHermiteSplines
drawLine
drawLines
drawPath
drawPath_
drawPathWithArrayHead
drawPie
drawPolygon
drawQuadSplines
drawRayline
drawRect
drawRoundRect
drawTextAt
drawTextAt
endPaint
endShape
fromHandle
getBkColor
getCanvas
getClipBox
getClipModel
getClipWorld
GiGraphics
GiGraphics
GiGraphics
isDrawing
isGrayMode
isPrint
isStopping
m_impl
operator=
rawBeginPath
rawBeziers
rawBezierTo
rawClosePath
rawEllipse
rawEndPath
rawImage
rawLine
rawLines
rawLineTo
rawMoveTo
rawPolygon
rawQuadTo
rawRect
rawText
setBkColor
setBrush
setClipBox
setClipWorld
setGrayMode
setMaxPenWidth
setPen
setPenWidthFactor
setPhaseEnabled
stopDrawing
toHandle
xf
~GiGraphics
◆
calcPenColor()
GiColor
GiGraphics::calcPenColor
(
const
GiColor
&
color
)
const
计算画笔颜色
根据颜色模式和设备属性调整显示颜色。
如果传入颜色和背景色相同,本函数不会自动反色,因此可能看不见图形
参数
color
普通的RGB颜色
返回
实际绘图的RGB颜色
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证