Merge branch 'master' into psd

This commit is contained in:
Paul Friederichsen 2023-07-22 16:32:54 -05:00 committed by GitHub
commit 12da211091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
import typing
from qtpy import QtSvg
from qtpy import QtGui as QG
from qtpy import QtCore as QC
@ -24,7 +25,7 @@ def LoadSVGRenderer(path: str):
return renderer
def GenerateThumbnailBytesFromSVGPath(path: str, target_resolution: tuple[int, int], clip_rect = None) -> bytes:
def GenerateThumbnailBytesFromSVGPath(path: str, target_resolution: typing.Tuple[int, int], clip_rect = None) -> bytes:
# TODO handle clipping