Bug 715243 - Add the ability to use gfx logging on Matrix. r=Bas

This commit is contained in:
Joe Drew 2012-01-04 18:02:59 -05:00
Родитель 096b73608a
Коммит 4eba5b7917
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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: