ICU-2243 make RenderingSurface::drawGlyphs *not* const.

X-SVN-Rev: 10549
This commit is contained in:
Eric Mader 2002-12-06 22:37:22 +00:00
parent 02f00e1d05
commit abde416f01
4 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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();

View File

@ -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);

View File

@ -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 {