Lines Matching refs:getCanvas
133 surf->getCanvas()->clear(SK_ColorRED); in make_src_image()
134 surf->getCanvas()->clipIRect(contentArea->makeOutset(1, 1)); in make_src_image()
135 surf->getCanvas()->clear(SK_ColorTRANSPARENT); in make_src_image()
136 surf->getCanvas()->clipIRect(*contentArea); in make_src_image()
137 surf->getCanvas()->translate(contentArea->top(), contentArea->left()); in make_src_image()
145 surf->getCanvas()->drawColor(SK_ColorDKGRAY); in make_src_image()
152 surf->getCanvas()->drawLine({0.f, 1.f*h/8.f}, {w, 1.f*h/8.f}, paint); in make_src_image()
154 surf->getCanvas()->drawLine({0.f, 1.f*h/4.f}, {w, 1.f*h/4.f}, paint); in make_src_image()
156 surf->getCanvas()->drawLine({0.f, 3.f*h/4.f}, {w, 3.f*h/4.f}, paint); in make_src_image()
158 surf->getCanvas()->drawLine({0.f, 7.f*h/8.f}, {w, 7.f*h/8.f}, paint); in make_src_image()
163 surf->getCanvas()->drawLine({1.f*w/8.f, 0.f}, {1.f*h/8.f, h}, paint); in make_src_image()
165 surf->getCanvas()->drawLine({1.f*w/4.f, 0.f}, {1.f*h/4.f, h}, paint); in make_src_image()
167 surf->getCanvas()->drawLine({3.f*w/4.f, 0.f}, {3.f*h/4.f, h}, paint); in make_src_image()
169 surf->getCanvas()->drawLine({7.f*w/8.f, 0.f}, {7.f*h/8.f, h}, paint); in make_src_image()