Lines Matching full:bitmap
85 const SkBitmap& bitmap,
89 if (bounds.isEmpty() || bitmap.width() == 0 || bitmap.height() == 0) {
94 SkAutoLockPixels alp(bitmap);
96 if (!bitmap.readyToDraw()) {
109 for (i = numYDivs - 1; i >= 0 && yDivs[i] == bitmap.height(); --i) {
122 canvas->drawBitmapRect(bitmap, NULL, bounds, paint);
143 int fixed = bitmap.width() - stretchSize;
155 int fixed = bitmap.height() - stretchSize;
164 bitmap.width(), bitmap.height(),
196 stretchX, bitmap.width());
207 stretchX, bitmap.width());
211 fillRow(verts, texs, bounds.fBottom, SkIntToScalar(bitmap.height()),
212 bounds, xDivs, numXDivs, stretchX, bitmap.width());
214 SkShader* shader = SkShader::CreateBitmapShader(bitmap,
230 const SkBitmap& bitmap, const SkIRect& margins,
233 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width()
236 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height()
259 canvas->drawBitmapRect(bitmap, &s, d, paint);
265 const SkBitmap& bitmap, const SkIRect& margins,
278 xDivs[1] = bitmap.width() - margins.fRight;
280 yDivs[1] = bitmap.height() - margins.fBottom;
282 SkNinePatch::DrawMesh(canvas, bounds, bitmap,
285 drawNineViaRects(canvas, bounds, bitmap, margins, paint);