This commit is contained in:
Ryan Oldenburg 2021-08-26 13:11:51 -05:00
parent 6ba0813007
commit 2097269f9e
2 changed files with 4 additions and 3 deletions

View file

@ -1521,3 +1521,4 @@ proc pixie_angle_to_miter_limit(angle: float32): float32 {.importc: "pixie_angle
proc angleToMiterLimit*(angle: float32): float32 {.inline.} =
result = pixie_angle_to_miter_limit(angle)

View file

@ -631,7 +631,7 @@ class Paint(Structure):
dll.pixie_paint_gradient_handle_positions_clear(self.paint)
@property
def paint_gradient_handle_positions(self):
def gradient_handle_positions(self):
return self.PaintGradientHandlePositions(self)
class PaintGradientStops:
@ -658,7 +658,7 @@ class Paint(Structure):
dll.pixie_paint_gradient_stops_clear(self.paint)
@property
def paint_gradient_stops(self):
def gradient_stops(self):
return self.PaintGradientStops(self)
def new_paint(self):
@ -858,7 +858,7 @@ class Font(Structure):
dll.pixie_font_paints_clear(self.font)
@property
def font_paints(self):
def paints(self):
return self.FontPaints(self)
@property