diff UnitTestsSources/ImageTests.cpp @ 1611:5e9b2aac8b89

fix for visual studio
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Sep 2015 16:30:42 +0200
parents 2dff2bdffdb8
children 96582230ddcb
line wrap: on
line diff
--- a/UnitTestsSources/ImageTests.cpp	Fri Sep 04 13:44:21 2015 +0200
+++ b/UnitTestsSources/ImageTests.cpp	Fri Sep 04 16:30:42 2015 +0200
@@ -251,7 +251,7 @@
   memset(s.GetBuffer(), 0, s.GetPitch() * s.GetHeight());
 
   ASSERT_GE(1, Orthanc::Configuration::GetFontRegistry().GetSize());
-  Orthanc::Configuration::GetFontRegistry().GetFont(0).DrawText(s, "Hello world É\n\rComment ça va ?\nq", 50, 60, 255, 0, 0);
+  Orthanc::Configuration::GetFontRegistry().GetFont(0).Draw(s, "Hello world É\n\rComment ça va ?\nq", 50, 60, 255, 0, 0);
 
   Orthanc::PngWriter w;
   w.WriteToFile("UnitTestsResults/font.png", s);