ICU-2243 make RenderingSurface::drawGlyphs *not* const.
X-SVN-Rev: 10549
This commit is contained in:
parent
02f00e1d05
commit
abde416f01
@ -31,7 +31,7 @@ public:
|
||||
const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
||||
|
||||
void setFont(const RenderingFontInstance *font);
|
||||
HDC getHDC();
|
||||
HDC getHDC() const;
|
||||
void setHDC(HDC theHDC);
|
||||
|
||||
private:
|
||||
@ -39,7 +39,7 @@ private:
|
||||
const LEFontInstance *fCurrentFont;
|
||||
};
|
||||
|
||||
inline HDC GDISurface::getHDC()
|
||||
inline HDC GDISurface::getHDC() const
|
||||
{
|
||||
return fHdc;
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ GnomeSurface::~GnomeSurface()
|
||||
}
|
||||
|
||||
void GnomeSurface::drawGlyphs(const RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
||||
const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height) const
|
||||
const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height)
|
||||
{
|
||||
GnomeFontInstance *gFont = (GnomeFontInstance *) font;
|
||||
TT_Instance instance = gFont->getFont();
|
||||
|
@ -29,7 +29,7 @@ public:
|
||||
virtual ~GnomeSurface();
|
||||
|
||||
virtual void drawGlyphs(const RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
||||
const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height) const;
|
||||
const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
||||
|
||||
GtkWidget *getWidget() const;
|
||||
void setWidget(GtkWidget *theWidget);
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
virtual ~RenderingSurface() {};
|
||||
|
||||
virtual void drawGlyphs(const RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
||||
const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height) const = 0;
|
||||
const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
|
||||
};
|
||||
|
||||
enum RFIErrorCode {
|
||||
|
Loading…
Reference in New Issue
Block a user