Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/TextSceneLayer.h @ 1610:b7630b1a0253
ISceneLayer::GetBoundingBox() returns void
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Oct 2020 17:13:13 +0100 |
parents | 8563ea5d8ae4 |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1609:5f5c549499ff | 1610:b7630b1a0253 |
---|---|
90 virtual Type GetType() const ORTHANC_OVERRIDE | 90 virtual Type GetType() const ORTHANC_OVERRIDE |
91 { | 91 { |
92 return Type_Text; | 92 return Type_Text; |
93 } | 93 } |
94 | 94 |
95 virtual bool GetBoundingBox(Extent2D& target) const ORTHANC_OVERRIDE | 95 virtual void GetBoundingBox(Extent2D& target) const ORTHANC_OVERRIDE |
96 { | 96 { |
97 return false; | 97 target.Clear(); |
98 } | 98 } |
99 | 99 |
100 virtual uint64_t GetRevision() const ORTHANC_OVERRIDE | 100 virtual uint64_t GetRevision() const ORTHANC_OVERRIDE |
101 { | 101 { |
102 return revision_; | 102 return revision_; |