2010-03-15 09:34:25 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2012-05-21 11:12:37 +00:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-03-15 09:34:25 +00:00
|
|
|
|
|
|
|
#ifndef GFX_GDISHAPER_H
|
|
|
|
#define GFX_GDISHAPER_H
|
|
|
|
|
|
|
|
#include "gfxGDIFont.h"
|
|
|
|
|
|
|
|
class gfxGDIShaper : public gfxFontShaper
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
gfxGDIShaper(gfxGDIFont *aFont)
|
2010-05-05 10:10:36 +00:00
|
|
|
: gfxFontShaper(aFont)
|
|
|
|
{
|
|
|
|
MOZ_COUNT_CTOR(gfxGDIShaper);
|
|
|
|
}
|
2010-03-15 09:34:25 +00:00
|
|
|
|
2010-05-05 10:10:36 +00:00
|
|
|
virtual ~gfxGDIShaper()
|
|
|
|
{
|
|
|
|
MOZ_COUNT_DTOR(gfxGDIShaper);
|
|
|
|
}
|
2010-03-15 09:34:25 +00:00
|
|
|
|
2011-12-06 12:39:19 +00:00
|
|
|
virtual bool ShapeWord(gfxContext *aContext,
|
|
|
|
gfxShapedWord *aShapedWord,
|
|
|
|
const PRUnichar *aString);
|
2010-03-15 09:34:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* GFX_GDISHAPER_H */
|