SourceClass Matrix4
from skia import Matrix4class Matrix4:4x4 matrix used by skia.Canvas and other parts of Skia.
Skia assumes a right-handed coordinate system: +X goes to the right +Y goes down +Z goes into the screen (away from the viewer)
from skia import Matrix4class Matrix4:4x4 matrix used by skia.Canvas and other parts of Skia.
Skia assumes a right-handed coordinate system: +X goes to the right +Y goes down +Z goes into the screen (away from the viewer)
def get(self, /, row: int, col: int) -> float§def matrix3(self, /) -> Matrix§def rotate(self, /, x: float, y: float, z: float, rads: float) -> None§def scale(self, /, x: float, y: float, z: float) -> None§def set(self, /, row: int, col: int, value: float) -> None§def translate(self, /, x: float, y: float, z: float) -> None§