Home | History | Annotate | Download | only in hwui

Lines Matching refs:Canvas

17 #include "Canvas.h"
31 Canvas* Canvas::create_recording_canvas(int width, int height, uirenderer::RenderNode* renderNode) {
39 const SkPaint& paint, Canvas* canvas) {
42 canvas->drawRect(left, top, right, bottom, paint);
45 void Canvas::drawTextDecorations(float x, float y, float length, const SkPaint& paint) {
94 DrawTextFunctor(const minikin::Layout& layout, Canvas* canvas, const SkPaint& paint, float x,
97 , canvas(canvas)
106 if (canvas->drawTextAbsolutePos()) {
123 if (CC_UNLIKELY(canvas->isHighContrastText() && paint.getAlpha() != 0)) {
133 canvas->drawGlyphs(glyphFunc, glyphCount, outlinePaint, x, y, bounds.mLeft, bounds.mTop,
140 canvas->drawGlyphs(glyphFunc, glyphCount, innerPaint, x, y, bounds.mLeft, bounds.mTop,
144 canvas->drawGlyphs(glyphFunc, glyphCount, paint, x, y, bounds.mLeft, bounds.mTop,
151 Canvas* canvas;
159 void Canvas::drawText(const uint16_t* text, int start, int count, int contextCount, float x,
188 DrawTextOnPathFunctor(const minikin::Layout& layout, Canvas* canvas, float hOffset,
191 , canvas(canvas)
198 canvas->drawLayoutOnPath(layout, hOffset, vOffset, paint, path, start, end);
203 Canvas* canvas;
210 void Canvas::drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags,
227 int Canvas::sApiLevel = 1;
229 void Canvas::setCompatibilityVersion(int apiLevel) {