chromium/third_party/skia/modules/sksg/src/SkSGTransformPriv.h

/*
 * Copyright 2019 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkSGTransformPriv_DEFINED
#define SkSGTransformPriv_DEFINED

#include "include/core/SkM44.h"
#include "include/core/SkMatrix.h"
#include "modules/sksg/include/SkSGTransform.h"

namespace sksg {

// Helper for accessing implementation-private Transform methods.
class TransformPriv final {};

template <>
inline SkMatrix TransformPriv::As<SkMatrix>(const sk_sp<Transform>& t) {}

template <>
inline SkM44 TransformPriv::As<SkM44>(const sk_sp<Transform>& t) {}

} // namespace sksg

#endif // SkSGTransformPriv_DEFINED