Lines Matching refs:getCanvas
138 surf->getCanvas()->clear(SK_ColorRED); in make_src_image()
139 surf->getCanvas()->clipIRect(contentArea->makeOutset(1, 1)); in make_src_image()
140 surf->getCanvas()->clear(SK_ColorTRANSPARENT); in make_src_image()
141 surf->getCanvas()->clipIRect(*contentArea); in make_src_image()
142 surf->getCanvas()->translate(contentArea->top(), contentArea->left()); in make_src_image()
150 surf->getCanvas()->drawColor(SK_ColorDKGRAY); in make_src_image()
157 surf->getCanvas()->drawLine({0.f, 1.f*h/8.f}, {w, 1.f*h/8.f}, paint); in make_src_image()
159 surf->getCanvas()->drawLine({0.f, 1.f*h/4.f}, {w, 1.f*h/4.f}, paint); in make_src_image()
161 surf->getCanvas()->drawLine({0.f, 3.f*h/4.f}, {w, 3.f*h/4.f}, paint); in make_src_image()
163 surf->getCanvas()->drawLine({0.f, 7.f*h/8.f}, {w, 7.f*h/8.f}, paint); in make_src_image()
168 surf->getCanvas()->drawLine({1.f*w/8.f, 0.f}, {1.f*h/8.f, h}, paint); in make_src_image()
170 surf->getCanvas()->drawLine({1.f*w/4.f, 0.f}, {1.f*h/4.f, h}, paint); in make_src_image()
172 surf->getCanvas()->drawLine({3.f*w/4.f, 0.f}, {3.f*h/4.f, h}, paint); in make_src_image()
174 surf->getCanvas()->drawLine({7.f*w/8.f, 0.f}, {7.f*h/8.f, h}, paint); in make_src_image()