TouchVG framework

◆ clipRect()

bool GiShapeAdapter::clipRect ( float  x,
float  y,
float  w,
float  h 
)
virtual

Intersect the current clipping path with `rect'.

Note that this function resets the context's path to the empty path.

返回
true if successful and the result clipping path isn't empty.
参见
saveClip, restoreClip

实现了 GiCanvas.


通用矢量图形框架, 版权所有 (C) 张云贵 2004-2017,BSD 开源许可证