Esempio n. 1
0
 private void gridSizeTxtBox_KeyPress(object sender, KeyPressEventArgs e)
 {
     StaticHelpers.ForceNumericKeypress(sender, e);
 }
Esempio n. 2
0
 private void sizeYTxtBox_KeyPress(object sender, KeyPressEventArgs e)
 {
     StaticHelpers.ForceNumericKeypress(sender, e, false);
 }
 private void seamlessDataPortTxt_KeyPress(object sender, KeyPressEventArgs e)
 {
     StaticHelpers.ForceNumericKeypress(sender, e, false);
 }
 private void gFloorZDist_KeyPress(object sender, KeyPressEventArgs e)
 {
     StaticHelpers.ForceNumericKeypress(sender, e, false);
 }
Esempio n. 5
0
        public static PointF GetPrevControlPoint(this BezierNodeData Data)
        {
            PointF controlPoint = new PointF(Data.worldX - Data.controlPointsDistance, Data.worldY);

            return(StaticHelpers.RotatePointAround(controlPoint, new PointF(Data.worldX, Data.worldY), Data.rotation));
        }