зеркало из https://github.com/mozilla/pjs.git
Bug 715243 - Add the ability to use gfx logging on Matrix. r=Bas
This commit is contained in:
Родитель
000f63d7d3
Коммит
e8f440cec2
|
@ -43,6 +43,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "Point.h"
|
||||
#include "Matrix.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
|
@ -115,6 +116,9 @@ public:
|
|||
{ mMessage << "(" << aSize.width << "x" << aSize.height << ")"; return *this; }
|
||||
Log &operator <<(const IntSize &aSize)
|
||||
{ mMessage << "(" << aSize.width << "x" << aSize.height << ")"; return *this; }
|
||||
Log &operator<<(const Matrix& aMatrix)
|
||||
{ mMessage << "[ " << aMatrix._11 << " " << aMatrix._12 << " ; " << aMatrix._21 << " " << aMatrix._22 << " ; " << aMatrix._31 << " " << aMatrix._32 << " ]"; return *this; }
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче