michael@0: /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef GFX_GDISHAPER_H michael@0: #define GFX_GDISHAPER_H michael@0: michael@0: #include "gfxGDIFont.h" michael@0: michael@0: class gfxGDIShaper : public gfxFontShaper michael@0: { michael@0: public: michael@0: gfxGDIShaper(gfxGDIFont *aFont) michael@0: : gfxFontShaper(aFont) michael@0: { michael@0: MOZ_COUNT_CTOR(gfxGDIShaper); michael@0: } michael@0: michael@0: virtual ~gfxGDIShaper() michael@0: { michael@0: MOZ_COUNT_DTOR(gfxGDIShaper); michael@0: } michael@0: michael@0: virtual bool ShapeText(gfxContext *aContext, michael@0: const char16_t *aText, michael@0: uint32_t aOffset, michael@0: uint32_t aLength, michael@0: int32_t aScript, michael@0: gfxShapedText *aShapedText); michael@0: }; michael@0: michael@0: #endif /* GFX_GDISHAPER_H */