Home
last modified time | relevance | path

Searched refs:scale_translate (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/pdf/
DSkPDFShader.cpp66 static SkMatrix scale_translate(SkScalar sx, SkScalar sy, SkScalar tx, SkScalar ty) { in scale_translate() function
125 draw_matrix(&canvas, image, scale_translate(-1, 1, 2 * width, 0), paintColor); in make_image_shader()
129 draw_matrix(&canvas, image, scale_translate(1, -1, 0, 2 * height), paintColor); in make_image_shader()
133 draw_matrix(&canvas, image, scale_translate(-1, -1, 2 * width, 2 * height), paintColor); in make_image_shader()
172 SkMatrix leftMatrix = scale_translate(-deviceBounds.left(), 1, deviceBounds.left(), 0); in make_image_shader()
188 SkMatrix rightMatrix = scale_translate(deviceBounds.right() - width, 1, width, 0); in make_image_shader()
215 SkMatrix topMatrix = scale_translate(1, -deviceBounds.top(), 0, deviceBounds.top()); in make_image_shader()
231 SkMatrix bottomMatrix = scale_translate(1, deviceBounds.bottom() - height, 0, height); in make_image_shader()