| 
									
										
										
										
											2017-10-18 22:13:20 +08:00
										 |  |  | #include "..\enodes.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-03-30 23:37:42 +08:00
										 |  |  | e2d::Font::Font()  | 
					
						
							|  |  |  | 	: fontFamily("") | 
					
						
							|  |  |  | 	, size(22) | 
					
						
							|  |  |  | 	, color(Color::WHITE) | 
					
						
							|  |  |  | 	, weight(FontWeight::NORMAL) | 
					
						
							|  |  |  | 	, italic(false) | 
					
						
							|  |  |  | 	, underline(false) | 
					
						
							|  |  |  | 	, strikethrough(false) | 
					
						
							|  |  |  | {} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | e2d::Font::Font(String fontFamily, double fontSize, UINT32 color, UINT32 fontWeight, bool italic, bool hasUnderline, bool hasStrikethrough) | 
					
						
							|  |  |  | 	: fontFamily(fontFamily) | 
					
						
							|  |  |  | 	, size(fontSize) | 
					
						
							|  |  |  | 	, color(color) | 
					
						
							|  |  |  | 	, weight(fontWeight) | 
					
						
							|  |  |  | 	, italic(italic) | 
					
						
							|  |  |  | 	, underline(hasUnderline) | 
					
						
							|  |  |  | 	, strikethrough(hasStrikethrough) | 
					
						
							|  |  |  | {} |