no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / gfx / 2d / MatrixFwd.h
blob494aadb88755f4f0318e0b0b06a9538db8e79d36
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef MOZILLA_GFX_MATRIX_FWD_H_
8 #define MOZILLA_GFX_MATRIX_FWD_H_
10 // Forward declare enough things to define the typedefs |Matrix| and
11 // |Matrix4x4|.
13 namespace mozilla {
14 namespace gfx {
16 template <class T>
17 class BaseMatrix;
19 typedef float Float;
20 typedef BaseMatrix<Float> Matrix;
22 typedef double Double;
23 typedef BaseMatrix<Double> MatrixDouble;
25 struct UnknownUnits;
27 template <class SourceUnits, class TargetUnits, class T = Float>
28 class Matrix4x4Typed;
29 template <class SourceUnits, class TargetUnits>
30 class Matrix4x4TypedFlagged;
32 typedef Matrix4x4Typed<UnknownUnits, UnknownUnits> Matrix4x4;
33 typedef Matrix4x4Typed<UnknownUnits, UnknownUnits, double> Matrix4x4Double;
34 typedef Matrix4x4TypedFlagged<UnknownUnits, UnknownUnits> Matrix4x4Flagged;
36 } // namespace gfx
37 } // namespace mozilla
39 #endif