mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:50:05 +00:00 
			
		
		
		
	Text alignment and point size
This commit is contained in:
		
							parent
							
								
									ee0f3b35bf
								
							
						
					
					
						commit
						89ca94eda8
					
				
					 4 changed files with 42 additions and 9 deletions
				
			
		|  | @ -33,10 +33,10 @@ public: | |||
|                     const std::string&          text, | ||||
|                     float                       x, | ||||
|                     float                       y, | ||||
|                     float                       scale, | ||||
|                     float                       pointSize, | ||||
|                     boost::gil::rgba8_pixel_t   color) const; | ||||
|    float Kerning(char c1, char c2) const; | ||||
|    float TextLength(const std::string& text, float scale) const; | ||||
|    float TextLength(const std::string& text, float pointSize) const; | ||||
| 
 | ||||
|    GLuint GenerateTexture(OpenGLFunctions& gl); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat