fixing typos
git-svn-id: svn://10.0.0.236/trunk@171864 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -45,8 +45,8 @@
|
||||
|
||||
class gfxImageSurface : public gfxASurface {
|
||||
public:
|
||||
ImageSurface(int format, long width, long height);
|
||||
virtual ~ImageSurface();
|
||||
gfxImageSurface(int format, long width, long height);
|
||||
virtual ~gfxImageSurface();
|
||||
|
||||
// <insert refcount stuff here>
|
||||
|
||||
|
||||
@@ -105,8 +105,8 @@ public:
|
||||
double s = sin(radians);
|
||||
double c = cos(radians);
|
||||
gfxMatrix t( c, s,
|
||||
-s, c,
|
||||
0, 0);
|
||||
-s, c,
|
||||
0, 0);
|
||||
return *this = t.Multiply(*this);
|
||||
}
|
||||
|
||||
|
||||
@@ -59,5 +59,5 @@ class gfxTextRun {
|
||||
// the implementor could optimize for that.
|
||||
int GetCharsFit(int pos, int len, double width, int breakflags);
|
||||
|
||||
int GetPositionInString(gfxPoint pt);
|
||||
int GetPositionInString(gfxPoint& pt);
|
||||
};
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "ImageSurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
|
||||
ImageSurface::ImageSurface(int format, long width, long height) :
|
||||
gfxImageSurface::gfxImageSurface(int format, long width, long height) :
|
||||
mFormat(format), mWidth(width), mHeight(height)
|
||||
{
|
||||
mData = new unsigned char[width * height * 4];
|
||||
@@ -50,7 +50,7 @@ ImageSurface::ImageSurface(int format, long width, long height) :
|
||||
|
||||
}
|
||||
|
||||
ImageSurface::~ImageSurface()
|
||||
gfxImageSurface::~gfxImageSurface()
|
||||
{
|
||||
delete[] mData;
|
||||
}
|
||||
|
||||
@@ -35,13 +35,13 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "WindowsSurface.h"
|
||||
#include "gfxWindowsSurface.h"
|
||||
|
||||
WindowsSurface::WindowsSurface(HDC dc)
|
||||
gfxWindowsSurface::gfxWindowsSurface(HDC dc)
|
||||
{
|
||||
Init(cairo_win32_surface_create(dc));
|
||||
}
|
||||
|
||||
WindowsSurface::~WindowsSurface()
|
||||
gfxWindowsSurface::~gfxWindowsSurface()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user