public bool PositionOfRange(int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichLim, int ydTop, int ydBottom, bool fIsLastLineOfSelection, out Rect rsBounds) { LastDrawRangeCall = new DrawRangeArgs { IchBase = ichBase, Graphics = _vg, RcSrc = rcSrc, RcDst = rcDst, IchMin = ichMin, IchLim = ichLim, YdTop = ydTop, YdBottom = ydBottom, IsLastLineOfSelection = fIsLastLineOfSelection }; if (NextPositionOfRange == null) { rsBounds = new Rect(-1, -1, -1, -1); return(false); } else { rsBounds = NextPositionOfRange.RsBounds; return(NextPositionOfRange.DisplayedInSegment); } }
public Rect DrawRange(int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichLim, int ydTop, int ydBottom, bool bOn, bool fIsLastLineOfSelection) { LastDrawRangeCall = new DrawRangeArgs { IchBase = ichBase, Graphics = _vg, RcSrc = rcSrc, RcDst = rcDst, IchMin = ichMin, IchLim = ichLim, YdTop = ydTop, YdBottom = ydBottom, On = bOn, IsLastLineOfSelection = fIsLastLineOfSelection }; return(new Rect(DrawRangeLeft, ydTop, DrawRangeRight, ydBottom)); }
public bool PositionOfRange(int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichLim, int ydTop, int ydBottom, bool fIsLastLineOfSelection, out Rect rsBounds) { LastDrawRangeCall = new DrawRangeArgs { IchBase = ichBase, Graphics = _vg, RcSrc = rcSrc, RcDst = rcDst, IchMin = ichMin, IchLim = ichLim, YdTop = ydTop, YdBottom = ydBottom, IsLastLineOfSelection = fIsLastLineOfSelection }; if (NextPositionOfRange == null) { rsBounds = new Rect(-1, -1, -1, -1); return false; } else { rsBounds = NextPositionOfRange.RsBounds; return NextPositionOfRange.DisplayedInSegment; } }
public Rect DrawRange(int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichLim, int ydTop, int ydBottom, bool bOn, bool fIsLastLineOfSelection) { LastDrawRangeCall = new DrawRangeArgs { IchBase = ichBase, Graphics = _vg, RcSrc = rcSrc, RcDst = rcDst, IchMin = ichMin, IchLim = ichLim, YdTop = ydTop, YdBottom = ydBottom, On = bOn, IsLastLineOfSelection = fIsLastLineOfSelection }; return new Rect(DrawRangeLeft, ydTop, DrawRangeRight, ydBottom); }