Beispiel #1
0
 //---------------------------------------------------------------IsClosed
 public static bool IsClosed(EPathFlags c)
 {
     return (c & EPathFlags.Close) != 0;
 }
Beispiel #2
0
 //---------------------------------------------------------GetOrientation
 public static EPathFlags GetOrientation(EPathFlags c)
 {
     return c & (EPathFlags.Clockwise | EPathFlags.CounterClockwise);
 }
Beispiel #3
0
 //-------------------------------------------------------ClearOrientation
 public static EPathFlags ClearOrientation(EPathFlags c)
 {
     return c & ~(EPathFlags.Clockwise | EPathFlags.CounterClockwise);
 }
Beispiel #4
0
 //---------------------------------------------------------GetOrientation
 public static EPathFlags GetOrientation(EPathFlags c)
 {
     return(c & (EPathFlags.Clockwise | EPathFlags.CounterClockwise));
 }
Beispiel #5
0
 //-------------------------------------------------------ClearOrientation
 public static EPathFlags ClearOrientation(EPathFlags c)
 {
     return(c & ~(EPathFlags.Clockwise | EPathFlags.CounterClockwise));
 }
Beispiel #6
0
 //---------------------------------------------------------------IsClosed
 public static bool IsClosed(EPathFlags c)
 {
     return((c & EPathFlags.Close) != 0);
 }