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
◆
setClipBox()
bool GiGraphics::setClipBox
(
const
RECT_2D
&
rc
)
设置剪裁框,逻辑坐标
只有正处于绘图状态时,该函数的返回值才有效。 失败时不改变图形系统内部变量和设备描述表的剪裁框, 因此在失败时不要进行相应绘图操作,否则处于错误的剪裁框中。
参数
[in]
rc
逻辑坐标矩形
返回
是否成功设置剪裁框,没有处于绘图状态中或计算出的剪裁框为空时失败
函数调用图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证