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