зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas
This commit is contained in:
Родитель
5caa7967c5
Коммит
abbc718b0c
|
@ -23,7 +23,6 @@
|
|||
class gfxContext;
|
||||
class nsSVGPathDataParser; // IWYU pragma: keep
|
||||
|
||||
struct gfxMatrix;
|
||||
struct nsSVGMark;
|
||||
|
||||
namespace mozilla {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
class nsSVGElement;
|
||||
|
||||
struct gfxMatrix;
|
||||
class gfxMatrix;
|
||||
|
||||
#define MOZ_SVG_LIST_INDEX_BIT_COUNT 31 // supports > 2 billion list items
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ class Matrix;
|
|||
|
||||
}
|
||||
|
||||
struct gfxMatrix;
|
||||
class gfxMatrix;
|
||||
struct nsSVGEnumMapping;
|
||||
|
||||
typedef nsStyledElementNotElementCSSInlineStyle nsSVGElementBase;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "mozilla/gfx/2D.h"
|
||||
#include "SVGGraphicsElement.h"
|
||||
|
||||
struct gfxMatrix;
|
||||
class gfxMatrix;
|
||||
|
||||
struct nsSVGMark {
|
||||
enum Type {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <gfxPointH3D.h>
|
||||
#include <gfxQuad.h>
|
||||
|
||||
struct gfxMatrix;
|
||||
class gfxMatrix;
|
||||
|
||||
/**
|
||||
* This class represents a 3D transformation. The matrix is laid
|
||||
|
|
|
@ -30,12 +30,12 @@
|
|||
* \ tx ty 1 / \ 1 /
|
||||
*
|
||||
*/
|
||||
struct gfxMatrix {
|
||||
class gfxMatrix {
|
||||
public:
|
||||
double _11; double _12;
|
||||
double _21; double _22;
|
||||
double _31; double _32;
|
||||
|
||||
public:
|
||||
/**
|
||||
* Initializes this matrix as the identity matrix.
|
||||
*/
|
||||
|
|
|
@ -60,8 +60,7 @@
|
|||
|
||||
struct nsHTMLReflowState;
|
||||
class nsHTMLReflowCommand;
|
||||
|
||||
struct gfxMatrix;
|
||||
class gfxMatrix;
|
||||
class nsIAtom;
|
||||
class nsPresContext;
|
||||
class nsIPresShell;
|
||||
|
|
Загрузка…
Ссылка в новой задаче