Removed ImageMagick dependency. Final class names for Cairo backend

This commit is contained in:
Manuel Reimer
2014-10-30 16:41:06 +01:00
parent 9609e183f2
commit 9454294559
8 changed files with 164 additions and 152 deletions

View File

@@ -712,7 +712,7 @@ void cView::DoDrawImage(int num, cTemplateFunction *func, int x0, int y0) {
case itImage: {
cImageLoader imgLoader;
if (imgLoader.LoadImage(path.c_str())) {
cImage *image = imgLoader.GetImage(width, height);
cImage *image = imgLoader.CreateImage(width, height);
DrawImage(num, pos, *image);
delete(image);
}