C# 클래스 SIL.FieldWorks.SharpViews.SharpViewsTests.MockDirectionSegment

Segment mocking, used for bidi tests, very limited functionality
상속: ILgSegment
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SimulatedAscent int
SimulatedHeight int
SimulatedWidth int

공개 메소드들

메소드 설명
ArrowKeyPosition ( int ichBase, IVwGraphics _vg, int &_ich, bool &_fAssocPrev, bool fRight, bool fMovingIn, bool &_fResult ) : void
BoundingRect ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst ) : Rect
DoBoundariesCoincide ( int ichBase, IVwGraphics _vg, bool fBoundaryEnd, bool fBoundaryRight ) : bool
DrawInsertionPoint ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ich, bool fAssocPrev, bool fOn, LgIPDrawMode dm ) : void
DrawRange ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichLim, int ydTop, int ydBottom, bool bOn, bool fIsLastLineOfSelection ) : Rect
DrawText ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int &dxdWidth ) : void
DrawTextNoBackground ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int &dxdWidth ) : void
ExtendSelectionPosition ( int ichBase, IVwGraphics _vg, int &_ich, bool fAssocPrevMatch, bool fAssocPrevNeeded, int ichAnchor, bool fRight, bool fMovingIn, bool &_fRet ) : void
Extent ( int ichBase, IVwGraphics _vg, int &_x, int &_y ) : void
GetActualWidth ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int &dxdWidth ) : void
GetCharPlacement ( int ichBase, IVwGraphics _vg, int ichMin, int ichLim, Rect rcSrc, Rect rcDst, bool fSkipSpace, int cxdMax, int &_cxd, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgxdLefts, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgxdRights, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgydUnderTops ) : void
IsValidInsertionPoint ( int ichBase, IVwGraphics _vg, int ich ) : LgIpValidResult
MockDirectionSegment ( ) : System
PointToChar ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, Point _tdClickPosition, int &_ich, bool &_fAssocPrev ) : void
PositionOfRange ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichim, int ydTop, int ydBottom, bool fIsLastLineOfSelection, Rect &rsBounds ) : bool
PositionsOfIP ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ich, bool fAssocPrev, LgIPDrawMode dm, Rect &rectPrimary, Rect &rectSecondary, bool &_fPrimaryHere, bool &_fSecHere ) : void
Recompute ( int ichBase, IVwGraphics _vg ) : void
SetDirectionDepth ( int ichwBase, int nNewDepth ) : void
get_Ascent ( int ichBase, IVwGraphics _vg ) : int
get_AscentOverhang ( int ichBase, IVwGraphics _vg ) : int
get_DescentOverhang ( int ichBase, IVwGraphics _vg ) : int
get_DirectionDepth ( int ichBase, int &nDepth ) : bool
get_EndBreakWeight ( int ichBase, IVwGraphics _vg ) : LgLineBreak
get_Height ( int ichBase, IVwGraphics _vg ) : int
get_LeftOverhang ( int ichBase, IVwGraphics _vg ) : int
get_Lim ( int ichBase ) : int
get_LimInterest ( int ichBase ) : int
get_RightOverhang ( int ichBase, IVwGraphics _vg ) : int
get_RightToLeft ( int ichBase ) : bool
get_StartBreakWeight ( int ichBase, IVwGraphics _vg ) : LgLineBreak
get_Stretch ( int ichBase ) : int
get_Width ( int ichBase, IVwGraphics _vg ) : int
get_WritingSystem ( int ichBase ) : int
set_EndLine ( int ichBase, IVwGraphics _vg, bool fNewVal ) : void
set_StartLine ( int ichBase, IVwGraphics _vg, bool fNewVal ) : void
set_Stretch ( int ichBase, int xs ) : void

메소드 상세

ArrowKeyPosition() 공개 메소드

public ArrowKeyPosition ( int ichBase, IVwGraphics _vg, int &_ich, bool &_fAssocPrev, bool fRight, bool fMovingIn, bool &_fResult ) : void
ichBase int
_vg IVwGraphics
_ich int
_fAssocPrev bool
fRight bool
fMovingIn bool
_fResult bool
리턴 void

BoundingRect() 공개 메소드

public BoundingRect ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst ) : Rect
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
리턴 Rect

DoBoundariesCoincide() 공개 메소드

public DoBoundariesCoincide ( int ichBase, IVwGraphics _vg, bool fBoundaryEnd, bool fBoundaryRight ) : bool
ichBase int
_vg IVwGraphics
fBoundaryEnd bool
fBoundaryRight bool
리턴 bool

DrawInsertionPoint() 공개 메소드

public DrawInsertionPoint ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ich, bool fAssocPrev, bool fOn, LgIPDrawMode dm ) : void
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
ich int
fAssocPrev bool
fOn bool
dm LgIPDrawMode
리턴 void

DrawRange() 공개 메소드

public DrawRange ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichLim, int ydTop, int ydBottom, bool bOn, bool fIsLastLineOfSelection ) : Rect
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
ichMin int
ichLim int
ydTop int
ydBottom int
bOn bool
fIsLastLineOfSelection bool
리턴 Rect

DrawText() 공개 메소드

public DrawText ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int &dxdWidth ) : void
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
dxdWidth int
리턴 void

DrawTextNoBackground() 공개 메소드

public DrawTextNoBackground ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int &dxdWidth ) : void
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
dxdWidth int
리턴 void

ExtendSelectionPosition() 공개 메소드

public ExtendSelectionPosition ( int ichBase, IVwGraphics _vg, int &_ich, bool fAssocPrevMatch, bool fAssocPrevNeeded, int ichAnchor, bool fRight, bool fMovingIn, bool &_fRet ) : void
ichBase int
_vg IVwGraphics
_ich int
fAssocPrevMatch bool
fAssocPrevNeeded bool
ichAnchor int
fRight bool
fMovingIn bool
_fRet bool
리턴 void

Extent() 공개 메소드

public Extent ( int ichBase, IVwGraphics _vg, int &_x, int &_y ) : void
ichBase int
_vg IVwGraphics
_x int
_y int
리턴 void

GetActualWidth() 공개 메소드

public GetActualWidth ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int &dxdWidth ) : void
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
dxdWidth int
리턴 void

GetCharPlacement() 공개 메소드

public GetCharPlacement ( int ichBase, IVwGraphics _vg, int ichMin, int ichLim, Rect rcSrc, Rect rcDst, bool fSkipSpace, int cxdMax, int &_cxd, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgxdLefts, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgxdRights, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgydUnderTops ) : void
ichBase int
_vg IVwGraphics
ichMin int
ichLim int
rcSrc Rect
rcDst Rect
fSkipSpace bool
cxdMax int
_cxd int
_rgxdLefts SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
_rgxdRights SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
_rgydUnderTops SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
리턴 void

IsValidInsertionPoint() 공개 메소드

public IsValidInsertionPoint ( int ichBase, IVwGraphics _vg, int ich ) : LgIpValidResult
ichBase int
_vg IVwGraphics
ich int
리턴 LgIpValidResult

MockDirectionSegment() 공개 메소드

public MockDirectionSegment ( ) : System
리턴 System

PointToChar() 공개 메소드

public PointToChar ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, Point _tdClickPosition, int &_ich, bool &_fAssocPrev ) : void
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
_tdClickPosition Point
_ich int
_fAssocPrev bool
리턴 void

PositionOfRange() 공개 메소드

public PositionOfRange ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ichMin, int ichim, int ydTop, int ydBottom, bool fIsLastLineOfSelection, Rect &rsBounds ) : bool
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
ichMin int
ichim int
ydTop int
ydBottom int
fIsLastLineOfSelection bool
rsBounds Rect
리턴 bool

PositionsOfIP() 공개 메소드

public PositionsOfIP ( int ichBase, IVwGraphics _vg, Rect rcSrc, Rect rcDst, int ich, bool fAssocPrev, LgIPDrawMode dm, Rect &rectPrimary, Rect &rectSecondary, bool &_fPrimaryHere, bool &_fSecHere ) : void
ichBase int
_vg IVwGraphics
rcSrc Rect
rcDst Rect
ich int
fAssocPrev bool
dm LgIPDrawMode
rectPrimary Rect
rectSecondary Rect
_fPrimaryHere bool
_fSecHere bool
리턴 void

Recompute() 공개 메소드

public Recompute ( int ichBase, IVwGraphics _vg ) : void
ichBase int
_vg IVwGraphics
리턴 void

SetDirectionDepth() 공개 메소드

public SetDirectionDepth ( int ichwBase, int nNewDepth ) : void
ichwBase int
nNewDepth int
리턴 void

get_Ascent() 공개 메소드

public get_Ascent ( int ichBase, IVwGraphics _vg ) : int
ichBase int
_vg IVwGraphics
리턴 int

get_AscentOverhang() 공개 메소드

public get_AscentOverhang ( int ichBase, IVwGraphics _vg ) : int
ichBase int
_vg IVwGraphics
리턴 int

get_DescentOverhang() 공개 메소드

public get_DescentOverhang ( int ichBase, IVwGraphics _vg ) : int
ichBase int
_vg IVwGraphics
리턴 int

get_DirectionDepth() 공개 메소드

public get_DirectionDepth ( int ichBase, int &nDepth ) : bool
ichBase int
nDepth int
리턴 bool

get_EndBreakWeight() 공개 메소드

public get_EndBreakWeight ( int ichBase, IVwGraphics _vg ) : LgLineBreak
ichBase int
_vg IVwGraphics
리턴 LgLineBreak

get_Height() 공개 메소드

public get_Height ( int ichBase, IVwGraphics _vg ) : int
ichBase int
_vg IVwGraphics
리턴 int

get_LeftOverhang() 공개 메소드

public get_LeftOverhang ( int ichBase, IVwGraphics _vg ) : int
ichBase int
_vg IVwGraphics
리턴 int

get_Lim() 공개 메소드

public get_Lim ( int ichBase ) : int
ichBase int
리턴 int

get_LimInterest() 공개 메소드

public get_LimInterest ( int ichBase ) : int
ichBase int
리턴 int

get_RightOverhang() 공개 메소드

public get_RightOverhang ( int ichBase, IVwGraphics _vg ) : int
ichBase int
_vg IVwGraphics
리턴 int

get_RightToLeft() 공개 메소드

public get_RightToLeft ( int ichBase ) : bool
ichBase int
리턴 bool

get_StartBreakWeight() 공개 메소드

public get_StartBreakWeight ( int ichBase, IVwGraphics _vg ) : LgLineBreak
ichBase int
_vg IVwGraphics
리턴 LgLineBreak

get_Stretch() 공개 메소드

public get_Stretch ( int ichBase ) : int
ichBase int
리턴 int

get_Width() 공개 메소드

public get_Width ( int ichBase, IVwGraphics _vg ) : int
ichBase int
_vg IVwGraphics
리턴 int

get_WritingSystem() 공개 메소드

public get_WritingSystem ( int ichBase ) : int
ichBase int
리턴 int

set_EndLine() 공개 메소드

public set_EndLine ( int ichBase, IVwGraphics _vg, bool fNewVal ) : void
ichBase int
_vg IVwGraphics
fNewVal bool
리턴 void

set_StartLine() 공개 메소드

public set_StartLine ( int ichBase, IVwGraphics _vg, bool fNewVal ) : void
ichBase int
_vg IVwGraphics
fNewVal bool
리턴 void

set_Stretch() 공개 메소드

public set_Stretch ( int ichBase, int xs ) : void
ichBase int
xs int
리턴 void

프로퍼티 상세

SimulatedAscent 공개적으로 프로퍼티

public int SimulatedAscent
리턴 int

SimulatedHeight 공개적으로 프로퍼티

public int SimulatedHeight
리턴 int

SimulatedWidth 공개적으로 프로퍼티

public int SimulatedWidth
리턴 int