Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/TextSceneLayer.cpp @ 804:61ba4b504e9a
PolylineSceneLayer now has one color per chain
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 May 2019 15:58:21 +0200 |
parents | 03c4b998fcd0 |
children | 32eaf4929b08 |
comparison
equal
deleted
inserted
replaced
802:f38c1fc08655 | 804:61ba4b504e9a |
---|---|
35 | 35 |
36 | 36 |
37 ISceneLayer* TextSceneLayer::Clone() const | 37 ISceneLayer* TextSceneLayer::Clone() const |
38 { | 38 { |
39 std::auto_ptr<TextSceneLayer> cloned(new TextSceneLayer); | 39 std::auto_ptr<TextSceneLayer> cloned(new TextSceneLayer); |
40 cloned->SetColor(GetRed(), GetGreen(), GetBlue()); | 40 cloned->SetColor(GetColor()); |
41 cloned->x_ = x_; | 41 cloned->x_ = x_; |
42 cloned->y_ = y_; | 42 cloned->y_ = y_; |
43 cloned->utf8_ = utf8_; | 43 cloned->utf8_ = utf8_; |
44 cloned->fontIndex_ = fontIndex_; | 44 cloned->fontIndex_ = fontIndex_; |
45 cloned->anchor_ = anchor_; | 45 cloned->anchor_ = anchor_; |