Represents the geometry of a QR code. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.EQRCodeGeometry.__init__ object. | |
| None | __init__ (self, eVision.EQRCodeGeometry other) |
| Constructs an eVision.EQRCodeGeometry.__init__ object. | |
| None | __init__ (self, eVision.EQuadrangle position, list[eVision._eVision.EPoint] finderPatternCenters) |
| Constructs an eVision.EQRCodeGeometry.__init__ object. | |
| eVision.ERegion | ToRegion (self) |
| Creates an eVision.ERegion from the eVision.EQRCodeGeometry. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the QR code geometry. | |
| eVision.EQuadrangle | Position (self) |
| Position of the QR code returned as an eVision.EQuadrangle object. | |
| list[eVision._eVision.EPoint] | FinderPatternCenters (self) |
| Finder patterns centers. | |
Represents the geometry of a QR code.
This geometry is composed of the position of the QR code and the finder pattern centers.
Remarks:
License(s): EasyQRCode
| None eVision.EQRCodeGeometry.__init__ | ( | self | ) |
Constructs an eVision.EQRCodeGeometry.__init__ object.
Remarks:
In case of a Micro QR code (not yet supported), there must be only one finder pattern center. In case of another QR code, there must be three finder pattern centers, entered in the following order: top right, top left, bottom left.
The corners of the eVision.EQuadrangle must be entered in the following order : top right, top left, bottom left, bottom right.
| None eVision.EQRCodeGeometry.__init__ | ( | self, | |
| eVision.EQRCodeGeometry | other ) |
Constructs an eVision.EQRCodeGeometry.__init__ object.
Remarks:
In case of a Micro QR code (not yet supported), there must be only one finder pattern center. In case of another QR code, there must be three finder pattern centers, entered in the following order: top right, top left, bottom left.
The corners of the eVision.EQuadrangle must be entered in the following order : top right, top left, bottom left, bottom right.
| other | Another eVision.EQRCodeGeometry.__init__. |
| None eVision.EQRCodeGeometry.__init__ | ( | self, | |
| eVision.EQuadrangle | position, | ||
| list[eVision._eVision.EPoint] | finderPatternCenters ) |
Constructs an eVision.EQRCodeGeometry.__init__ object.
Remarks:
In case of a Micro QR code (not yet supported), there must be only one finder pattern center. In case of another QR code, there must be three finder pattern centers, entered in the following order: top right, top left, bottom left.
The corners of the eVision.EQuadrangle must be entered in the following order : top right, top left, bottom left, bottom right.
| position | The position of the QR code represented as an eVision.EQuadrangle object. |
| finderPatternCenters | The vector of Finder Pattern centers. |
| None eVision.EQRCodeGeometry.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the QR code geometry.
Remarks:
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| drawAdapter | Draw adapter. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. |
| panX | Horizontal panning value expressed in pixels. |
| panY | Vertical panning value expressed in pixels. |
| list[eVision._eVision.EPoint] eVision.EQRCodeGeometry.FinderPatternCenters | ( | self | ) |
Finder patterns centers.
Remarks:
In case of a Micro QR code, there is only one finder pattern center. In case of another QR code, there are three finder pattern centers, returned in the following order: top right, top left, bottom left.
| eVision.EQuadrangle eVision.EQRCodeGeometry.Position | ( | self | ) |
Position of the QR code returned as an eVision.EQuadrangle object.
The eVision.EQuadrangle's corners are in the following order: top right, top left, bottom left, bottom right.
| eVision.ERegion eVision.EQRCodeGeometry.ToRegion | ( | self | ) |
Creates an eVision.ERegion from the eVision.EQRCodeGeometry.