C# Class touchvg.core.GiGraphics

Inheritance: global::System.IDisposable
Afficher le fichier Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Свойство Type Description
swigCMemOwn bool

Méthodes publiques

Méthode Description
Dispose ( ) : void
GiGraphics ( GiTransform xform ) : System
calcPenColor ( GiColor color ) : GiColor
calcPenWidth ( float lineWidth, bool useViewScale ) : float
copy ( GiGraphics src ) : void
drawArc ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle ) : bool
drawArc ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle, bool modelUnit ) : bool
drawArc3P ( GiContext ctx, Point2d startpt, Point2d midpt, Point2d endpt ) : bool
drawArc3P ( GiContext ctx, Point2d startpt, Point2d midpt, Point2d endpt, bool modelUnit ) : bool
drawBSplines ( GiContext ctx, int count, Point2d ctlpts ) : bool
drawBSplines ( GiContext ctx, int count, Point2d ctlpts, bool modelUnit ) : bool
drawBeziers ( GiContext ctx, int count, Point2d points ) : bool
drawBeziers ( GiContext ctx, int count, Point2d points, bool closed ) : bool
drawBeziers ( GiContext ctx, int count, Point2d points, bool closed, bool modelUnit ) : bool
drawClosedBSplines ( GiContext ctx, int count, Point2d ctlpts ) : bool
drawClosedBSplines ( GiContext ctx, int count, Point2d ctlpts, bool modelUnit ) : bool
drawClosedSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs ) : bool
drawClosedSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs, bool modelUnit ) : bool
drawEllipse ( GiContext ctx, Box2d rect ) : bool
drawEllipse ( GiContext ctx, Box2d rect, bool modelUnit ) : bool
drawEllipse ( GiContext ctx, Point2d center, float rx ) : bool
drawEllipse ( GiContext ctx, Point2d center, float rx, float ry ) : bool
drawEllipse ( GiContext ctx, Point2d center, float rx, float ry, bool modelUnit ) : bool
drawHandle ( Point2d pnt, int type ) : bool
drawHandle ( Point2d pnt, int type, bool modelUnit ) : bool
drawLine ( GiContext ctx, Point2d startPt, Point2d endPt ) : bool
drawLine ( GiContext ctx, Point2d startPt, Point2d endPt, bool modelUnit ) : bool
drawLines ( GiContext ctx, int count, Point2d points ) : bool
drawLines ( GiContext ctx, int count, Point2d points, bool modelUnit ) : bool
drawPath ( GiContext ctx, GiPath path, bool fill ) : bool
drawPath ( GiContext ctx, GiPath path, bool fill, bool modelUnit ) : bool
drawPie ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle ) : bool
drawPie ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle, bool modelUnit ) : bool
drawPolygon ( GiContext ctx, int count, Point2d points ) : bool
drawPolygon ( GiContext ctx, int count, Point2d points, bool modelUnit ) : bool
drawRect ( GiContext ctx, Box2d rect ) : bool
drawRect ( GiContext ctx, Box2d rect, bool modelUnit ) : bool
drawRoundRect ( GiContext ctx, Box2d rect, float rx ) : bool
drawRoundRect ( GiContext ctx, Box2d rect, float rx, float ry ) : bool
drawRoundRect ( GiContext ctx, Box2d rect, float rx, float ry, bool modelUnit ) : bool
drawSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs ) : bool
drawSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs, bool modelUnit ) : bool
getBkColor ( ) : GiColor
getClipBox ( RECT_2D rc ) : RECT_2D
getClipModel ( ) : Box2d
getClipWorld ( ) : Box2d
isDrawing ( ) : bool
isGrayMode ( ) : bool
isPrint ( ) : bool
setBkColor ( GiColor color ) : GiColor
setClipBox ( RECT_2D rc ) : bool
setClipWorld ( Box2d rectWorld ) : bool
setGrayMode ( bool gray ) : void
setMaxPenWidth ( float pixels ) : void
setMaxPenWidth ( float pixels, float minw ) : void
xf ( ) : GiTransform

Private Methods

Méthode Description
GiGraphics ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( GiGraphics obj ) : HandleRef

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GiGraphics() public méthode

public GiGraphics ( GiTransform xform ) : System
xform GiTransform
Résultat System

calcPenColor() public méthode

public calcPenColor ( GiColor color ) : GiColor
color GiColor
Résultat GiColor

calcPenWidth() public méthode

public calcPenWidth ( float lineWidth, bool useViewScale ) : float
lineWidth float
useViewScale bool
Résultat float

copy() public méthode

public copy ( GiGraphics src ) : void
src GiGraphics
Résultat void

drawArc() public méthode

public drawArc ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle ) : bool
ctx GiContext
center Point2d
rx float
ry float
startAngle float
sweepAngle float
Résultat bool

drawArc() public méthode

public drawArc ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle, bool modelUnit ) : bool
ctx GiContext
center Point2d
rx float
ry float
startAngle float
sweepAngle float
modelUnit bool
Résultat bool

drawArc3P() public méthode

public drawArc3P ( GiContext ctx, Point2d startpt, Point2d midpt, Point2d endpt ) : bool
ctx GiContext
startpt Point2d
midpt Point2d
endpt Point2d
Résultat bool

drawArc3P() public méthode

public drawArc3P ( GiContext ctx, Point2d startpt, Point2d midpt, Point2d endpt, bool modelUnit ) : bool
ctx GiContext
startpt Point2d
midpt Point2d
endpt Point2d
modelUnit bool
Résultat bool

drawBSplines() public méthode

public drawBSplines ( GiContext ctx, int count, Point2d ctlpts ) : bool
ctx GiContext
count int
ctlpts Point2d
Résultat bool

drawBSplines() public méthode

public drawBSplines ( GiContext ctx, int count, Point2d ctlpts, bool modelUnit ) : bool
ctx GiContext
count int
ctlpts Point2d
modelUnit bool
Résultat bool

drawBeziers() public méthode

public drawBeziers ( GiContext ctx, int count, Point2d points ) : bool
ctx GiContext
count int
points Point2d
Résultat bool

drawBeziers() public méthode

public drawBeziers ( GiContext ctx, int count, Point2d points, bool closed ) : bool
ctx GiContext
count int
points Point2d
closed bool
Résultat bool

drawBeziers() public méthode

public drawBeziers ( GiContext ctx, int count, Point2d points, bool closed, bool modelUnit ) : bool
ctx GiContext
count int
points Point2d
closed bool
modelUnit bool
Résultat bool

drawClosedBSplines() public méthode

public drawClosedBSplines ( GiContext ctx, int count, Point2d ctlpts ) : bool
ctx GiContext
count int
ctlpts Point2d
Résultat bool

drawClosedBSplines() public méthode

public drawClosedBSplines ( GiContext ctx, int count, Point2d ctlpts, bool modelUnit ) : bool
ctx GiContext
count int
ctlpts Point2d
modelUnit bool
Résultat bool

drawClosedSplines() public méthode

public drawClosedSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
Résultat bool

drawClosedSplines() public méthode

public drawClosedSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs, bool modelUnit ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
modelUnit bool
Résultat bool

drawEllipse() public méthode

public drawEllipse ( GiContext ctx, Box2d rect ) : bool
ctx GiContext
rect Box2d
Résultat bool

drawEllipse() public méthode

public drawEllipse ( GiContext ctx, Box2d rect, bool modelUnit ) : bool
ctx GiContext
rect Box2d
modelUnit bool
Résultat bool

drawEllipse() public méthode

public drawEllipse ( GiContext ctx, Point2d center, float rx ) : bool
ctx GiContext
center Point2d
rx float
Résultat bool

drawEllipse() public méthode

public drawEllipse ( GiContext ctx, Point2d center, float rx, float ry ) : bool
ctx GiContext
center Point2d
rx float
ry float
Résultat bool

drawEllipse() public méthode

public drawEllipse ( GiContext ctx, Point2d center, float rx, float ry, bool modelUnit ) : bool
ctx GiContext
center Point2d
rx float
ry float
modelUnit bool
Résultat bool

drawHandle() public méthode

public drawHandle ( Point2d pnt, int type ) : bool
pnt Point2d
type int
Résultat bool

drawHandle() public méthode

public drawHandle ( Point2d pnt, int type, bool modelUnit ) : bool
pnt Point2d
type int
modelUnit bool
Résultat bool

drawLine() public méthode

public drawLine ( GiContext ctx, Point2d startPt, Point2d endPt ) : bool
ctx GiContext
startPt Point2d
endPt Point2d
Résultat bool

drawLine() public méthode

public drawLine ( GiContext ctx, Point2d startPt, Point2d endPt, bool modelUnit ) : bool
ctx GiContext
startPt Point2d
endPt Point2d
modelUnit bool
Résultat bool

drawLines() public méthode

public drawLines ( GiContext ctx, int count, Point2d points ) : bool
ctx GiContext
count int
points Point2d
Résultat bool

drawLines() public méthode

public drawLines ( GiContext ctx, int count, Point2d points, bool modelUnit ) : bool
ctx GiContext
count int
points Point2d
modelUnit bool
Résultat bool

drawPath() public méthode

public drawPath ( GiContext ctx, GiPath path, bool fill ) : bool
ctx GiContext
path GiPath
fill bool
Résultat bool

drawPath() public méthode

public drawPath ( GiContext ctx, GiPath path, bool fill, bool modelUnit ) : bool
ctx GiContext
path GiPath
fill bool
modelUnit bool
Résultat bool

drawPie() public méthode

public drawPie ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle ) : bool
ctx GiContext
center Point2d
rx float
ry float
startAngle float
sweepAngle float
Résultat bool

drawPie() public méthode

public drawPie ( GiContext ctx, Point2d center, float rx, float ry, float startAngle, float sweepAngle, bool modelUnit ) : bool
ctx GiContext
center Point2d
rx float
ry float
startAngle float
sweepAngle float
modelUnit bool
Résultat bool

drawPolygon() public méthode

public drawPolygon ( GiContext ctx, int count, Point2d points ) : bool
ctx GiContext
count int
points Point2d
Résultat bool

drawPolygon() public méthode

public drawPolygon ( GiContext ctx, int count, Point2d points, bool modelUnit ) : bool
ctx GiContext
count int
points Point2d
modelUnit bool
Résultat bool

drawRect() public méthode

public drawRect ( GiContext ctx, Box2d rect ) : bool
ctx GiContext
rect Box2d
Résultat bool

drawRect() public méthode

public drawRect ( GiContext ctx, Box2d rect, bool modelUnit ) : bool
ctx GiContext
rect Box2d
modelUnit bool
Résultat bool

drawRoundRect() public méthode

public drawRoundRect ( GiContext ctx, Box2d rect, float rx ) : bool
ctx GiContext
rect Box2d
rx float
Résultat bool

drawRoundRect() public méthode

public drawRoundRect ( GiContext ctx, Box2d rect, float rx, float ry ) : bool
ctx GiContext
rect Box2d
rx float
ry float
Résultat bool

drawRoundRect() public méthode

public drawRoundRect ( GiContext ctx, Box2d rect, float rx, float ry, bool modelUnit ) : bool
ctx GiContext
rect Box2d
rx float
ry float
modelUnit bool
Résultat bool

drawSplines() public méthode

public drawSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
Résultat bool

drawSplines() public méthode

public drawSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs, bool modelUnit ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
modelUnit bool
Résultat bool

getBkColor() public méthode

public getBkColor ( ) : GiColor
Résultat GiColor

getClipBox() public méthode

public getClipBox ( RECT_2D rc ) : RECT_2D
rc RECT_2D
Résultat RECT_2D

getClipModel() public méthode

public getClipModel ( ) : Box2d
Résultat Box2d

getClipWorld() public méthode

public getClipWorld ( ) : Box2d
Résultat Box2d

isDrawing() public méthode

public isDrawing ( ) : bool
Résultat bool

isGrayMode() public méthode

public isGrayMode ( ) : bool
Résultat bool

isPrint() public méthode

public isPrint ( ) : bool
Résultat bool

setBkColor() public méthode

public setBkColor ( GiColor color ) : GiColor
color GiColor
Résultat GiColor

setClipBox() public méthode

public setClipBox ( RECT_2D rc ) : bool
rc RECT_2D
Résultat bool

setClipWorld() public méthode

public setClipWorld ( Box2d rectWorld ) : bool
rectWorld Box2d
Résultat bool

setGrayMode() public méthode

public setGrayMode ( bool gray ) : void
gray bool
Résultat void

setMaxPenWidth() public méthode

public setMaxPenWidth ( float pixels ) : void
pixels float
Résultat void

setMaxPenWidth() public méthode

public setMaxPenWidth ( float pixels, float minw ) : void
pixels float
minw float
Résultat void

xf() public méthode

public xf ( ) : GiTransform
Résultat GiTransform

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
Résultat bool