• Home
  • Raw
  • Download

Lines Matching refs:canvas

105     ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap);  in getCanvas()  local
116 gCanvasI.clipRect(canvas, &clipR); in getCanvas()
119 return canvas; in getCanvas()
133 void PaintPlugin::releaseCanvas(ANPCanvas* canvas) { in releaseCanvas() argument
138 gCanvasI.deleteCanvas(canvas); in releaseCanvas()
141 void PaintPlugin::drawCleanPlugin(ANPCanvas* canvas) { in drawCleanPlugin() argument
146 if (!canvas) in drawCleanPlugin()
147 canvas = getCanvas(); in drawCleanPlugin()
149 if (!canvas) in drawCleanPlugin()
158 gCanvasI.drawColor(canvas, 0xFFCDCDCD); in drawCleanPlugin()
169 gCanvasI.drawRect(canvas, &m_inputToggle, m_paintButton); in drawCleanPlugin()
171 gCanvasI.drawText(canvas, inputText, strlen(inputText), m_inputToggle.left + 5, in drawCleanPlugin()
179 gCanvasI.drawRect(canvas, &m_colorToggle, m_paintButton); in drawCleanPlugin()
181 gCanvasI.drawText(canvas, colorText, strlen(colorText), m_colorToggle.left + 5, in drawCleanPlugin()
189 gCanvasI.drawRect(canvas, &m_fullScreenToggle, m_paintButton); in drawCleanPlugin()
191 gCanvasI.drawText(canvas, fullScreenText, strlen(fullScreenText), in drawCleanPlugin()
200 gCanvasI.drawRect(canvas, &m_clearSurface, m_paintButton); in drawCleanPlugin()
202 gCanvasI.drawText(canvas, clearText, strlen(clearText), m_clearSurface.left + 5, in drawCleanPlugin()
210 gCanvasI.drawRect(canvas, &m_drawingSurface, m_paintSurface); in drawCleanPlugin()
213 releaseCanvas(canvas); in drawCleanPlugin()
431 ANPCanvas* canvas = getCanvas(&point); in paintMouse() local
432 gCanvasI.drawOval(canvas, &point, fillPaint); in paintMouse()
435 releaseCanvas(canvas); in paintMouse()
456 ANPCanvas* canvas = getCanvas(&bounds); in paintTouch() local
457 gCanvasI.drawPath(canvas, m_touchPath, strokePaint); in paintTouch()
460 releaseCanvas(canvas); in paintTouch()