1 write to hdc
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
917this.hdc = new HandleRef(this, this.graphics.GetHdc());
24 references to hdc
System.Workflow.ComponentModel (24)
AuthoringOM\Design\DesignerHelpers.cs (24)
920this.oldGraphicsMode = NativeMethods.SetGraphicsMode(this.hdc, NativeMethods.GM_ADVANCED); 925int result = NativeMethods.SetWorldTransform(this.hdc, xform); 929IntPtr handle = NativeMethods.GetCurrentObject(this.hdc, NativeMethods.OBJ_PEN); 935handle = NativeMethods.GetCurrentObject(this.hdc, NativeMethods.OBJ_EXTPEN); 941handle = NativeMethods.GetCurrentObject(this.hdc, NativeMethods.OBJ_BRUSH); 953IntPtr objectPtr = NativeMethods.SelectObject(this.hdc, this.oldPen); 961objectPtr = NativeMethods.SelectObject(this.hdc, this.oldPenEx); 969objectPtr = NativeMethods.SelectObject(this.hdc, this.oldBrush); 977int result = NativeMethods.SetWorldTransform(this.hdc, new NativeMethods.XFORM()); 985result = NativeMethods.SetGraphicsMode(this.hdc, this.oldGraphicsMode); 1030IntPtr objectPtr = NativeMethods.SelectObject(this.hdc, majorGridPen.Handle); 1038if (!NativeMethods.MoveToEx(this.hdc, gridCoOrd, viewableRectangle.Top + 1, null)) 1041if (!NativeMethods.LineTo(this.hdc, gridCoOrd, viewableRectangle.Bottom - 1)) 1047objectPtr = NativeMethods.SelectObject(this.hdc, minorGridPen.Handle); 1051if (!NativeMethods.MoveToEx(this.hdc, gridCoOrd + gridUnit.Width / 2, viewableRectangle.Top + 1, null)) 1054if (!NativeMethods.LineTo(this.hdc, gridCoOrd + gridUnit.Width / 2, viewableRectangle.Bottom - 1)) 1057objectPtr = NativeMethods.SelectObject(this.hdc, majorGridPen.Handle); 1067if (!NativeMethods.MoveToEx(this.hdc, viewableRectangle.Left + 1, gridCoOrd, null)) 1070if (!NativeMethods.LineTo(this.hdc, viewableRectangle.Right - 1, gridCoOrd)) 1076objectPtr = NativeMethods.SelectObject(this.hdc, minorGridPen.Handle); 1080if (!NativeMethods.MoveToEx(this.hdc, viewableRectangle.Left + 1, gridCoOrd + gridUnit.Height / 2, null)) 1083if (!NativeMethods.LineTo(this.hdc, viewableRectangle.Right - 1, gridCoOrd + gridUnit.Height / 2)) 1086objectPtr = NativeMethods.SelectObject(this.hdc, majorGridPen.Handle); 1095IntPtr objectPtr = NativeMethods.SelectObject(this.hdc, this.oldPen);