Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/TextSceneLayer.cpp @ 860:238693c3bc51 am-dev
merge default -> am-dev
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 24 Jun 2019 14:35:00 +0200 |
parents | 61ba4b504e9a |
children | 32eaf4929b08 |
comparison
equal
deleted
inserted
replaced
856:a6e17a5a39e7 | 860:238693c3bc51 |
---|---|
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_; |