TouchVG framework

◆ drawBitmap()

virtual bool GiCanvas::drawBitmap ( const char *  name,
float  xc,
float  yc,
float  w,
float  h,
float  angle 
)
pure 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

GiGdipCanvas, GiShapeAdapter, GiCanvasAdapter, GiRecordCanvas , 以及 GiSvgCanvas 内被实现.

这是这个函数的调用关系图:

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