예제 #1
0
        private void ToggleSnapping(RadShapeEditorControl.SnapTypes flags)
        {
            RadShapeEditorControl shapeEditorControl = this;

            shapeEditorControl.snapStates = (uint)((RadShapeEditorControl.SnapTypes)shapeEditorControl.snapStates ^ flags);
        }
예제 #2
0
 public SnapChangedEventArgs(RadShapeEditorControl.SnapTypes data)
 {
     this.param = data;
 }
예제 #3
0
 private bool IsSnappingActive(RadShapeEditorControl.SnapTypes flags)
 {
     return(((RadShapeEditorControl.SnapTypes) this.snapStates & flags) != (RadShapeEditorControl.SnapTypes) 0);
 }