Use replaying surface for hatched areas
This commit is contained in:
parent
8ebd1143be
commit
b2ac1be8b3
1 changed files with 2 additions and 1 deletions
|
@ -517,7 +517,8 @@ class SPCOutlookMap(EquirectMap):
|
|||
def __init__(self):
|
||||
super().__init__(*MAP_SCREEN_DIMENSIONS, MAP_BOUNDS)
|
||||
|
||||
self.hatched_surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, 8, 8)
|
||||
self.hatched_surface = cairo.RecordingSurface(cairo.CONTENT_COLOR_ALPHA,
|
||||
cairo.Rectangle(0, 0, 8, 8))
|
||||
|
||||
cr = cairo.Context(self.hatched_surface)
|
||||
cr.move_to(0, 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue