Platzhalter für zukünftige Seiten erstellt
This commit is contained in:
19
pages/compass.py
Normal file
19
pages/compass.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
|
||||
Kompass
|
||||
|
||||
|
||||
"""
|
||||
|
||||
import cairo
|
||||
import math
|
||||
from .page import Page
|
||||
|
||||
class Compass(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("Compass")
|
||||
Reference in New Issue
Block a user