/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkM44_DEFINED #define SkM44_DEFINED #include "include/core/SkMatrix.h" #include "include/core/SkScalar.h" #include "include/core/SkTypes.h" #include <cstring> struct SkRect; struct SK_API SkV2 { … }; struct SK_API SkV3 { … }; struct SK_API SkV4 { … }; /** * 4x4 matrix used by SkCanvas 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) */ class SK_API SkM44 { … }; #endif