MCPcopy Create free account
hub / github.com/JetBrains/skija / makeScale

Method makeScale

shared/java/Matrix33.java:77–80  ·  view source on GitHub ↗

Creates a Matrix33 to scale by s. Returned matrix is: | s 0 0 | | 0 s 0 | | 0 0 1 | @param s scale factor @return Matrix33 with scale

(float s)

Source from the content-addressed store, hash-verified

75 * @return Matrix33 with scale
76 */
77 @NotNull
78 public static Matrix33 makeScale(float s) {
79 return makeScale(s, s);
80 }
81
82 /**
83 * <p>Creates a Matrix33 to scale by (sx, sy). Returned matrix is:</p>

Callers 8

scaleMethod · 0.95
drawMethod · 0.95
drawMethod · 0.95
BitmapSceneMethod · 0.95
drawBlurMethod · 0.95
drawMethod · 0.95
drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected