Exemple #1
0
        protected TokenType()
        {
            DistanceOriginCenterPX      = SetOriginToCenterDistance();
            DistanceOriginAxisMarkersPX = SetOriginToAxisDistance();
            DataMarkerOriginPositionPX  = SetDataMarkerOriginPosition();
            DataMarkerOriginPositionCM  = SetDataMarkerOriginPositionCM();
            TokenDiagonalPX             = SetTokenDiagonal();

            TokenClassLUT = InitiliazeTokenClassLUT();

            DataGridMarkersStepPX = TokensEngine.CmToPixels(TokenAttributes.TOKEN_DATA_MARKERS_STEP);
        }
Exemple #2
0
 internal override float SetTokenDiagonal()
 {
     return(TokensEngine.CmToPixels(TokenAttributes.TOKEN_4X4_DIAGONAL));
 }
Exemple #3
0
 internal override float SetDataMarkerOriginPosition()
 {
     return(TokensEngine.CmToPixels(TokenAttributes.TOKEN_4X4_DATA_MARKER_ORIGIN));
 }
Exemple #4
0
 internal override float SetOriginToCenterDistance()
 {
     return(TokensEngine.CmToPixels(TokenAttributes.TOKEN_4X4_ORIGIN_TO_CENTER_DST));
 }
Exemple #5
0
 internal override float SetOriginToAxisDistance()
 {
     return(TokensEngine.CmToPixels(TokenAttributes.TOKEN_4X4_ORIGIN_TO_AXIS_MARKERS_DST));
 }