Wide getter for character position. The character position is the position of a font model's origin with respect to the expected position of the pattern which the user supplies at run-time.
Namespace: Cognex.VisionPro.OCAssembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 73.0.0.0
public void GetScalingRotationTranslation(
out double scaling,
out double rotaton,
out double translationX,
out double translationY
)
public void GetScalingRotationTranslation(
out double scaling,
out double rotaton,
out double translationX,
out double translationY
)
Public Sub GetScalingRotationTranslation (
<OutAttribute> ByRef scaling As Double,
<OutAttribute> ByRef rotaton As Double,
<OutAttribute> ByRef translationX As Double,
<OutAttribute> ByRef translationY As Double
)
Public Sub GetScalingRotationTranslation (
<OutAttribute> ByRef scaling As Double,
<OutAttribute> ByRef rotaton As Double,
<OutAttribute> ByRef translationX As Double,
<OutAttribute> ByRef translationY As Double
)
public:
void GetScalingRotationTranslation(
[OutAttribute] double% scaling,
[OutAttribute] double% rotaton,
[OutAttribute] double% translationX,
[OutAttribute] double% translationY
)
public:
void GetScalingRotationTranslation(
[OutAttribute] double% scaling,
[OutAttribute] double% rotaton,
[OutAttribute] double% translationX,
[OutAttribute] double% translationY
)
Parameters
- scaling
- Type: System Double
The expected scale of the character.
- rotaton
- Type: System Double
The expected rotation of the character's origin, with respect to the
expected pattern position in radians.
- translationX
- Type: System Double
The x-translation from the pattern origin of the
expected character position.
- translationY
- Type: System Double
The y-translation from the pattern origin of the
character position.
Gets the expected location, rotation, and scale of this
character position with respect to the
overall pattern origin.