Searched refs:kExampleBounds (Results 1 – 1 of 1) sorted by relevance
33 static constexpr SkRect kExampleBounds = {0.f, 0.f, 100.f, 100.f}; variable66 *outputBounds = kExampleBounds.makeInset(20.f, 20.f); in get_example_rects()111 *contentBounds = kExampleBounds; in get_example_rects()118 const float w = kExampleBounds.width(); in make_image()119 const float h = kExampleBounds.height(); in make_image()177 canvas->clipRect(kExampleBounds); in draw_example()181 if (clippedContentBounds.intersect(contentBounds, kExampleBounds)) { in draw_example()238 static constexpr SkRect kPaddedTileBounds = {kExampleBounds.fLeft,239 kExampleBounds.fTop,240 2.f * (kExampleBounds.fRight + 1.f),[all …]