2010-03-15 02:34:25 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2012-05-21 04:12:37 -07: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 02:34:25 -07:00
|
|
|
|
|
|
|
#ifndef GFX_GDISHAPER_H
|
|
|
|
#define GFX_GDISHAPER_H
|
|
|
|
|
|
|
|
#include "gfxGDIFont.h"
|
|
|
|
|
|
|
|
class gfxGDIShaper : public gfxFontShaper
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
gfxGDIShaper(gfxGDIFont *aFont)
|
2010-05-05 03:10:36 -07:00
|
|
|
: gfxFontShaper(aFont)
|
|
|
|
{
|
|
|
|
MOZ_COUNT_CTOR(gfxGDIShaper);
|
|
|
|
}
|
2010-03-15 02:34:25 -07:00
|
|
|
|
2010-05-05 03:10:36 -07:00
|
|
|
virtual ~gfxGDIShaper()
|
|
|
|
{
|
|
|
|
MOZ_COUNT_DTOR(gfxGDIShaper);
|
|
|
|
}
|
2010-03-15 02:34:25 -07:00
|
|
|
|
2013-01-04 10:35:37 -08:00
|
|
|
virtual bool ShapeText(gfxContext *aContext,
|
2014-01-04 07:02:17 -08:00
|
|
|
const char16_t *aText,
|
2013-01-04 10:35:37 -08:00
|
|
|
uint32_t aOffset,
|
|
|
|
uint32_t aLength,
|
|
|
|
int32_t aScript,
|
|
|
|
gfxShapedText *aShapedText);
|
2010-03-15 02:34:25 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* GFX_GDISHAPER_H */
|