From b31d554ab66022931f9f1279497eef32ba8c21e6 Mon Sep 17 00:00:00 2001 From: ElenaSubbotina Date: Tue, 10 May 2016 18:56:52 +0300 Subject: [PATCH] no message --- DesktopEditor/raster/Metafile/TestMain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DesktopEditor/raster/Metafile/TestMain.cpp b/DesktopEditor/raster/Metafile/TestMain.cpp index 6355e4ca3a..69640d30cf 100644 --- a/DesktopEditor/raster/Metafile/TestMain.cpp +++ b/DesktopEditor/raster/Metafile/TestMain.cpp @@ -1,7 +1,5 @@ //#define _CRTDBG_LEAK_CHECK_DF -#include "stdafx.h" - #include #include "../../fontengine/ApplicationFonts.h" @@ -65,7 +63,8 @@ void ConvertFolder(CMetaFile &oMetaFile, std::wstring wsFolderPath, const int nT double w, h, x, y; oMetaFile.GetBounds(&x, &y, &w, &h); - oMetaFile.ConvertToRaster(wsDstFilePath.c_str(), 4, 500); + ////oMetaFile.ConvertToRaster(wsDstFilePath.c_str(), 4, 500); + oMetaFile.ConvertToRaster(wsDstFilePath.c_str(), 4, w); oMetaFile.Close(); } @@ -79,7 +78,8 @@ void main() oFonts.Initialize(); CMetaFile oMetaFile(&oFonts); - ConvertFolder(oMetaFile, L"D://Test Files//Wmf//Test//", c_lMetaWmf); + ConvertFolder(oMetaFile, L"D://test//_svm//4//", c_lMetaSvm); + //ConvertFolder(oMetaFile, L"D://Test Files//Wmf//Test//", c_lMetaWmf); //ConvertFolder(oMetaFile, L"D://Test Files//Emf//Temp//", c_lMetaEmf); //_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);