mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:20:05 +00:00 
			
		
		
		
	Expose units, scale and offset of color table
This commit is contained in:
		
							parent
							
								
									0e031e3b69
								
							
						
					
					
						commit
						66b7bd36fe
					
				
					 2 changed files with 18 additions and 0 deletions
				
			
		|  | @ -72,6 +72,21 @@ ColorTable::~ColorTable() = default; | |||
| ColorTable::ColorTable(ColorTable&&) noexcept            = default; | ||||
| ColorTable& ColorTable::operator=(ColorTable&&) noexcept = default; | ||||
| 
 | ||||
| std::string ColorTable::units() const | ||||
| { | ||||
|    return p->units_; | ||||
| } | ||||
| 
 | ||||
| float ColorTable::scale() const | ||||
| { | ||||
|    return p->scale_; | ||||
| } | ||||
| 
 | ||||
| float ColorTable::offset() const | ||||
| { | ||||
|    return p->offset_; | ||||
| } | ||||
| 
 | ||||
| boost::gil::rgba8_pixel_t ColorTable::rf_color() const | ||||
| { | ||||
|    return p->rfColor_; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat