TouchVG framework

◆ drawBitmap()

bool GiShapeAdapter::drawBitmap ( const char *  name,
float  xc,
float  yc,
float  w,
float  h,
float  angle 
)
virtual

Draw a image whose center will at (xc, yc).

参数
nameThe image's identify which is usually a filename without path.
xcThe center X position of the image.
ycThe center Y position of the image.
wDisplay width of the image.
hDisplay height of the image.
angleRotate angle in radians, it's positive direction is CCW in the world coordinate system.
返回
true if successful

实现了 GiCanvas.


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