mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:20:05 +00:00
Placefile image statement
This commit is contained in:
parent
26a326b450
commit
ca6f55d712
2 changed files with 82 additions and 1 deletions
|
|
@ -142,6 +142,25 @@ public:
|
|||
std::vector<Element> elements_ {};
|
||||
};
|
||||
|
||||
struct ImageDrawItem : DrawItem
|
||||
{
|
||||
ImageDrawItem() { itemType_ = ItemType::Image; }
|
||||
|
||||
std::string imageFile_ {};
|
||||
|
||||
struct Element
|
||||
{
|
||||
double latitude_ {};
|
||||
double longitude_ {};
|
||||
double x_ {};
|
||||
double y_ {};
|
||||
double tu_ {};
|
||||
double tv_ {};
|
||||
};
|
||||
|
||||
std::vector<Element> elements_ {};
|
||||
};
|
||||
|
||||
struct PolygonDrawItem : DrawItem
|
||||
{
|
||||
PolygonDrawItem() { itemType_ = ItemType::Polygon; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue