x4Trace Documentation v1.0
Loading...
Searching...
No Matches
IGraphics.GInterface Namespace Reference

Classes

struct  IColor
 
struct  IFont
 Font of GUI interface. More...
 
class  IGraphics
 Represents an inteface of graphics. Not depend on operating system. More...
 
struct  IMargin
 Represents a margin. More...
 
struct  IPen
 Pen to draw lines. More...
 
struct  IPoint
 Represent a point. More...
 
struct  IRectangle
 Rectagle for drawing. More...
 
struct  ISize
 represent a size. More...
 
struct  IStringAlignment
 Alignment of string. More...
 

Enumerations

enum  IFontStyle { Regular , Bold }
 Style of interface font.
 
enum  Align { Near , Center , Far }
 Alignment type of string.
 

Functions

delegate void MeasureStringEvt1 (string text, IFont font, int width, IStringAlignment alignment, out ISize size)
 Delegate of measure string event.
 
delegate void MeasureStringEvt2 (string text, IFont font, out ISize size)
 Delegate of measure string event.
 

Function Documentation

◆ MeasureStringEvt1()

delegate void IGraphics.GInterface.MeasureStringEvt1 ( string text,
IFont font,
int width,
IStringAlignment alignment,
out ISize size )

Delegate of measure string event.

Parameters
textText to measure.
fontFont of test.
widthMaximum width of text.
alignmentAlignemt of text.
sizeResult size of text.

◆ MeasureStringEvt2()

delegate void IGraphics.GInterface.MeasureStringEvt2 ( string text,
IFont font,
out ISize size )

Delegate of measure string event.

Parameters
textText to measure.
fontFont of test.
sizeResult size of text.