C# Класс SIL.FieldWorks.SharpViews.SharpViewsTests.MockGraphics

Наследование: IVwGraphics
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ClipRectangle System.Drawing.Rectangle
LastRenderPictureArgs RenderPictureArgs

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
DrawHorzLine ( int xLeft, int xRight, int y, int dyHeight, int cdx, int rgdx, int &dxStart ) : void
DrawLine ( int xLeft, int yTop, int xRight, int yBottom ) : void
DrawPolygon ( int cvpnt, Point _rgvpnt ) : void
DrawRectangle ( int xLeft, int yTop, int xRight, int yBottom ) : void
DrawText ( int x, int y, int cch, string rgch, int xStretch ) : void
DrawTextExt ( int x, int y, int cch, string _rgchw, uint uOptions, Rect &_rect, int _rgdx ) : void
GetClipRect ( int &xLeft, int &yTop, int &xRight, int &yBottom ) : void
GetFontData ( int nTableId, int &_cbTableSz ) : string
GetFontDataRgch ( int nTableId, int &_cbTableSz, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgch, int cchMax ) : void
GetFontEmSquare ( ) : int
GetGlyphMetrics ( int chw, int &_sBoundingWidth, int &_yBoundingHeight, int &_xBoundingX, int &_yBoundingY, int &_xAdvanceX, int &_yAdvanceY ) : void
GetSubscriptHeightRatio ( int &_iNumerator, int &_iDenominator ) : void
GetSubscriptYOffsetRatio ( int &_iNumerator, int &_iDenominator ) : void
GetSuperscriptHeightRatio ( int &_iNumerator, int &_iDenominator ) : void
GetSuperscriptYOffsetRatio ( int &_iNumerator, int &_iDenominator ) : void
GetTextExtent ( int cch, string _rgch, int &_x, int &_y ) : void
GetTextLeadWidth ( int cch, string _rgch, int ich, int xStretch ) : int
InvertRect ( int xLeft, int yTop, int xRight, int yBottom ) : void
MakePicture ( byte _bData, int cbData ) : IPicture
MockGraphics ( ) : System
PopClipRect ( ) : void
PushClipRect ( Rect rcClip ) : void
ReleaseDC ( ) : void
RenderPicture ( IPicture pic, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, Rect &rcWBounds ) : void
SetupGraphics ( LgCharRenderProps &_chrp ) : void
XYFromGlyphPoint ( int chw, int nPoint, int &_xRet, int &_yRet ) : void

Описание методов

DrawHorzLine() публичный метод

public DrawHorzLine ( int xLeft, int xRight, int y, int dyHeight, int cdx, int rgdx, int &dxStart ) : void
xLeft int
xRight int
y int
dyHeight int
cdx int
rgdx int
dxStart int
Результат void

DrawLine() публичный метод

public DrawLine ( int xLeft, int yTop, int xRight, int yBottom ) : void
xLeft int
yTop int
xRight int
yBottom int
Результат void

DrawPolygon() публичный метод

public DrawPolygon ( int cvpnt, Point _rgvpnt ) : void
cvpnt int
_rgvpnt Point
Результат void

DrawRectangle() публичный метод

public DrawRectangle ( int xLeft, int yTop, int xRight, int yBottom ) : void
xLeft int
yTop int
xRight int
yBottom int
Результат void

DrawText() публичный метод

public DrawText ( int x, int y, int cch, string rgch, int xStretch ) : void
x int
y int
cch int
rgch string
xStretch int
Результат void

DrawTextExt() публичный метод

public DrawTextExt ( int x, int y, int cch, string _rgchw, uint uOptions, Rect &_rect, int _rgdx ) : void
x int
y int
cch int
_rgchw string
uOptions uint
_rect Rect
_rgdx int
Результат void

GetClipRect() публичный метод

public GetClipRect ( int &xLeft, int &yTop, int &xRight, int &yBottom ) : void
xLeft int
yTop int
xRight int
yBottom int
Результат void

GetFontData() публичный метод

public GetFontData ( int nTableId, int &_cbTableSz ) : string
nTableId int
_cbTableSz int
Результат string

GetFontDataRgch() публичный метод

public GetFontDataRgch ( int nTableId, int &_cbTableSz, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgch, int cchMax ) : void
nTableId int
_cbTableSz int
_rgch SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
cchMax int
Результат void

GetFontEmSquare() публичный метод

public GetFontEmSquare ( ) : int
Результат int

GetGlyphMetrics() публичный метод

public GetGlyphMetrics ( int chw, int &_sBoundingWidth, int &_yBoundingHeight, int &_xBoundingX, int &_yBoundingY, int &_xAdvanceX, int &_yAdvanceY ) : void
chw int
_sBoundingWidth int
_yBoundingHeight int
_xBoundingX int
_yBoundingY int
_xAdvanceX int
_yAdvanceY int
Результат void

GetSubscriptHeightRatio() публичный метод

public GetSubscriptHeightRatio ( int &_iNumerator, int &_iDenominator ) : void
_iNumerator int
_iDenominator int
Результат void

GetSubscriptYOffsetRatio() публичный метод

public GetSubscriptYOffsetRatio ( int &_iNumerator, int &_iDenominator ) : void
_iNumerator int
_iDenominator int
Результат void

GetSuperscriptHeightRatio() публичный метод

public GetSuperscriptHeightRatio ( int &_iNumerator, int &_iDenominator ) : void
_iNumerator int
_iDenominator int
Результат void

GetSuperscriptYOffsetRatio() публичный метод

public GetSuperscriptYOffsetRatio ( int &_iNumerator, int &_iDenominator ) : void
_iNumerator int
_iDenominator int
Результат void

GetTextExtent() публичный метод

public GetTextExtent ( int cch, string _rgch, int &_x, int &_y ) : void
cch int
_rgch string
_x int
_y int
Результат void

GetTextLeadWidth() публичный метод

public GetTextLeadWidth ( int cch, string _rgch, int ich, int xStretch ) : int
cch int
_rgch string
ich int
xStretch int
Результат int

InvertRect() публичный метод

public InvertRect ( int xLeft, int yTop, int xRight, int yBottom ) : void
xLeft int
yTop int
xRight int
yBottom int
Результат void

MakePicture() публичный метод

public MakePicture ( byte _bData, int cbData ) : IPicture
_bData byte
cbData int
Результат IPicture

MockGraphics() публичный метод

public MockGraphics ( ) : System
Результат System

PopClipRect() публичный метод

public PopClipRect ( ) : void
Результат void

PushClipRect() публичный метод

public PushClipRect ( Rect rcClip ) : void
rcClip Rect
Результат void

ReleaseDC() публичный метод

public ReleaseDC ( ) : void
Результат void

RenderPicture() публичный метод

public RenderPicture ( IPicture pic, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, Rect &rcWBounds ) : void
pic IPicture
x int
y int
cx int
cy int
xSrc int
ySrc int
cxSrc int
cySrc int
rcWBounds Rect
Результат void

SetupGraphics() публичный метод

public SetupGraphics ( LgCharRenderProps &_chrp ) : void
_chrp LgCharRenderProps
Результат void

XYFromGlyphPoint() публичный метод

public XYFromGlyphPoint ( int chw, int nPoint, int &_xRet, int &_yRet ) : void
chw int
nPoint int
_xRet int
_yRet int
Результат void

Описание свойств

ClipRectangle публичное свойство

public Rectangle,System.Drawing ClipRectangle
Результат System.Drawing.Rectangle

LastRenderPictureArgs публичное свойство

public RenderPictureArgs LastRenderPictureArgs
Результат RenderPictureArgs