mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 12:10:06 +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
	
	 Dan Paulat
						Dan Paulat