diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-03-27 11:54:07 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-03-27 11:54:07 +0200 |
commit | 08d5ad047adccb2eac806f7f82575779c9f77130 (patch) | |
tree | 4f2ea67cc9e139930e09c259d5ceb49fc336269f /dvbsubtitle.c | |
parent | 8768a9c3219e462ab5c7ca93eba5589d31f4fa64 (diff) | |
download | vdr-08d5ad047adccb2eac806f7f82575779c9f77130.tar.gz vdr-08d5ad047adccb2eac806f7f82575779c9f77130.tar.bz2 |
Renamed cBitmap::Scale() to Scaled()
Diffstat (limited to 'dvbsubtitle.c')
-rw-r--r-- | dvbsubtitle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbsubtitle.c b/dvbsubtitle.c index dbfb3e19..cd296bb9 100644 --- a/dvbsubtitle.c +++ b/dvbsubtitle.c @@ -7,7 +7,7 @@ * Original author: Marco Schlüßler <marco@lordzodiac.de> * With some input from the "subtitle plugin" by Pekka Virtanen <pekka.virtanen@sci.fi> * - * $Id: dvbsubtitle.c 2.13 2011/03/20 15:10:30 kls Exp $ + * $Id: dvbsubtitle.c 2.14 2011/03/27 11:52:42 kls Exp $ */ #include "dvbsubtitle.h" @@ -656,7 +656,7 @@ void cDvbSubtitleBitmaps::Draw(cOsd *Osd) for (int i = 0; i < bitmaps.Size(); i++) { cBitmap *b = bitmaps[i]; if (!(DoubleEqual(osdFactorX, 1.0) && DoubleEqual(osdFactorY, 1.0))) - b = b->Scale(osdFactorX, osdFactorY); + b = b->Scaled(osdFactorX, osdFactorY); Osd->DrawBitmap(int(round(b->X0() * osdFactorX)), int(round(b->Y0() * osdFactorY)), *b); if (b != bitmaps[i]) delete b; |