Searched refs:devPathBounds (Results 1 – 2 of 2) sorted by relevance
35 SkIRect* devPathBounds, in get_path_and_clip_bounds() argument46 *devPathBounds = SkIRect::MakeWH(rt->width(), rt->height()); in get_path_and_clip_bounds()55 *devPathBounds = *devClipBounds; in get_path_and_clip_bounds()56 if (!devPathBounds->intersect(pathIBounds)) { in get_path_and_clip_bounds()58 *devPathBounds = pathIBounds; in get_path_and_clip_bounds()62 *devPathBounds = SkIRect::EmptyIRect(); in get_path_and_clip_bounds()85 const SkIRect& devPathBounds) { in draw_around_inv_path() argument92 if (devClipBounds.fTop < devPathBounds.fTop) { in draw_around_inv_path()94 devClipBounds.fRight, devPathBounds.fTop); in draw_around_inv_path()97 if (devClipBounds.fLeft < devPathBounds.fLeft) { in draw_around_inv_path()[all …]
343 SkIRect devPathBounds; in addPathToAtlas() local344 scaledBounds.roundOut(&devPathBounds); in addPathToAtlas()348 int width = devPathBounds.width(); in addPathToAtlas()349 int height = devPathBounds.height(); in addPathToAtlas()350 devPathBounds.fLeft = intPad; in addPathToAtlas()351 devPathBounds.fTop = intPad; in addPathToAtlas()352 devPathBounds.fRight = intPad + width; in addPathToAtlas()353 devPathBounds.fBottom = intPad + height; in addPathToAtlas()354 devPathBounds.outset(intPad, intPad); in addPathToAtlas()363 SkASSERT(devPathBounds.fLeft == 0); in addPathToAtlas()[all …]