Skip to content

Commit

Permalink
Removed section comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfWhitt committed Dec 21, 2024
1 parent 866f790 commit 0e5c8a9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/src/toga/widgets/canvas/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,6 @@ def on_alt_drag(self) -> OnTouchHandler:
def on_alt_drag(self, handler: OnTouchHandler) -> None:
self._on_alt_drag = wrapped_handler(self, handler)

###########################################################################
# Text measurement
###########################################################################

def measure_text(
self,
text: str,
Expand All @@ -322,10 +318,6 @@ def measure_text(

return self._impl.measure_text(str(text), font._impl)

###########################################################################
# As image
###########################################################################

def as_image(self, format: type[ImageT] = toga.Image) -> ImageT:
"""Render the canvas as an image.
Expand Down

0 comments on commit 0e5c8a9

Please sign in to comment.