comparison Framework/Viewport/CairoContext.h @ 366:a7de01c8fd29 am-2

new enum BitmapAnchor
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 01 Nov 2018 11:55:45 +0100
parents ef31240a73f6
children b70e9be013e4
comparison
equal deleted inserted replaced
365:ef31240a73f6 366:a7de01c8fd29
20 20
21 21
22 #pragma once 22 #pragma once
23 23
24 #include "CairoSurface.h" 24 #include "CairoSurface.h"
25 #include "../StoneEnumerations.h"
25 26
26 #include <Core/Images/Font.h> 27 #include <Core/Images/Font.h>
27 28
28 namespace OrthancStone 29 namespace OrthancStone
29 { 30 {
67 } 68 }
68 69
69 void DrawText(const Orthanc::Font& font, 70 void DrawText(const Orthanc::Font& font,
70 const std::string& text, 71 const std::string& text,
71 double x, 72 double x,
72 double y); 73 double y,
74 BitmapAnchor anchor);
73 }; 75 };
74 } 76 }