Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/TextSceneLayer.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 4fb8fdf03314 |
comparison
equal
deleted
inserted
replaced
1570:9a04f42098a3 | 1571:85e117739eca |
---|---|
41 uint64_t revision_; | 41 uint64_t revision_; |
42 | 42 |
43 public: | 43 public: |
44 TextSceneLayer(); | 44 TextSceneLayer(); |
45 | 45 |
46 virtual ISceneLayer* Clone() const; | 46 virtual ISceneLayer* Clone() const ORTHANC_OVERRIDE; |
47 | 47 |
48 void SetPosition(double x, | 48 void SetPosition(double x, |
49 double y); | 49 double y); |
50 | 50 |
51 void SetText(const std::string& utf8); | 51 void SetText(const std::string& utf8); |
84 BitmapAnchor GetAnchor() const | 84 BitmapAnchor GetAnchor() const |
85 { | 85 { |
86 return anchor_; | 86 return anchor_; |
87 } | 87 } |
88 | 88 |
89 virtual Type GetType() const | 89 virtual Type GetType() const ORTHANC_OVERRIDE |
90 { | 90 { |
91 return Type_Text; | 91 return Type_Text; |
92 } | 92 } |
93 | 93 |
94 virtual bool GetBoundingBox(Extent2D& target) const | 94 virtual bool GetBoundingBox(Extent2D& target) const ORTHANC_OVERRIDE |
95 { | 95 { |
96 return false; | 96 return false; |
97 } | 97 } |
98 | 98 |
99 virtual uint64_t GetRevision() const | 99 virtual uint64_t GetRevision() const ORTHANC_OVERRIDE |
100 { | 100 { |
101 return revision_; | 101 return revision_; |
102 } | 102 } |
103 }; | 103 }; |
104 } | 104 } |