26 lines
		
	
	
		
			392 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			392 B
		
	
	
	
		
			Python
		
	
	
	
| """
 | |
| 
 | |
| AIS
 | |
| 
 | |
| Anzeige von Objekten in der Nähe
 | |
| 
 | |
|  - mehrere Kreise
 | |
|  - Bootssysmbole
 | |
|  - Filterfunkton
 | |
|  - Zoom
 | |
| 
 | |
| """
 | |
| 
 | |
| import cairo
 | |
| import math
 | |
| from .page import Page
 | |
| 
 | |
| class AIS(Page):
 | |
| 
 | |
|     def draw(self, ctx):
 | |
|         # Title
 | |
|         ctx.select_font_face("Ubuntu", cairo.FontSlant.NORMAL, cairo.FontWeight.BOLD)
 | |
|         ctx.set_font_size(24)
 | |
|         ctx.move_to(10, 45)
 | |
|         ctx.show_text("AIS")
 |