fixing typos

git-svn-id: svn://10.0.0.236/trunk@171864 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%pavlov.net
2005-04-07 19:12:19 +00:00
parent b80f5d29c9
commit 4d4061009c
5 changed files with 11 additions and 11 deletions

View File

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

View File

@@ -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);
}

View File

@@ -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);
};

View File

@@ -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;
}

View File

@@ -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()
{
}