-
-
Save parzibyte/2d4dbbc3610abda97980499107d17b2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def __init__(self, ruta=URL_PLUGIN_POR_DEFECTO, serial=""): | |
self.operaciones = [] | |
self.ruta = ruta | |
self.serial = serial | |
def agregar_operacion(self, nombre, argumentos): | |
self.operaciones.append({ | |
"nombre": nombre, | |
"argumentos": argumentos, | |
}) | |
def CargarImagenLocalEImprimir(self, ruta: str, tamaño: float, maximoAncho: float): | |
return self.agregar_operacion("CargarImagenLocalEImprimir", [ruta, tamaño, maximoAncho]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment