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

            TokenClassLUT = InitiliazeTokenClassLUT();

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