![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| COORD | from_param (cls, "WindowsCoordinates" value) |
Static Public Attributes | |
| int | row |
| int | col |
Coordinates in the Windows Console API are (y, x), not (x, y). This class is intended to prevent that confusion. Rows and columns are indexed from 0. This class can be used in place of wintypes._COORD in arguments and argtypes.
| COORD pip._vendor.rich._win32_console.WindowsCoordinates.from_param | ( | cls, | |
| "WindowsCoordinates" | value | ||
| ) |
Converts a WindowsCoordinates into a wintypes _COORD structure.
This classmethod is internally called by ctypes to perform the conversion.
Args:
value (WindowsCoordinates): The input coordinates to convert.
Returns:
wintypes._COORD: The converted coordinates struct.