Lines Matching full:bounds
75 SkRect bounds;
77 bounds.set(SkIntToScalar(x+1), SkIntToScalar(y+1), SkIntToScalar(x + width-1), SkIntToScalar(y + height-1));
81 canvas->drawRect(bounds, paint);
83 bounds.set(SkIntToScalar(x), SkIntToScalar(y), SkIntToScalar(x + width), SkIntToScalar(y + height));
89 bounds.fLeft += SkIntToScalar(width - RenderSkinCombo::extraWidth());
90 bounds.fRight -= SkIntToScalar(style->borderRightWidth());
91 bounds.fTop += SkIntToScalar(style->borderTopWidth());
92 bounds.fBottom -= SkIntToScalar(style->borderBottomWidth());
93 canvas->drawBitmapRect(s_bitmap[state], &s_subset, bounds);
95 SkNinePatch::DrawNine(canvas, bounds, s_bitmap[state], s_mar);