public void SetRect(uint nFlags, Common.RECT rc) { uint hr = VisualSetRect(this.pgad, nFlags, rc); if (f(hr)) { throw new DUserException(hr); } }
public void GetRect(uint nFlags, ref Common.RECT rcPxl) { uint hr = VisualGetRect(this.pgad, nFlags, rcPxl); if (f(hr)) { throw new DUserException(hr); } }
public void SetRect(uint nFlags, int x, int y, int w, int h) { Common.RECT rc = new Common.RECT(); rc.left = x; rc.top = y; rc.right = x + w; rc.bottom = y + h; uint hr = VisualSetRect(this.pgad, nFlags, rc); if (f(hr)) { throw new DUserException(hr); } }
public static extern uint VisualSetRect(int pgvThis, uint nFlags, Common.RECT prcPxl);