C# Класс touchvg.core.GiGraphics

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

Защищенные свойства (Protected)

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

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

Метод Описание
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

Приватные методы

Метод Описание
GiGraphics ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( GiGraphics obj ) : HandleRef

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

Dispose() публичный Метод

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

GiGraphics() публичный Метод

public GiGraphics ( GiTransform xform ) : System
xform GiTransform
Результат System

calcPenColor() публичный Метод

public calcPenColor ( GiColor color ) : GiColor
color GiColor
Результат GiColor

calcPenWidth() публичный Метод

public calcPenWidth ( float lineWidth, bool useViewScale ) : float
lineWidth float
useViewScale bool
Результат float

copy() публичный Метод

public copy ( GiGraphics src ) : void
src GiGraphics
Результат void

drawArc() публичный Метод

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
Результат bool

drawArc() публичный Метод

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
Результат bool

drawArc3P() публичный Метод

public drawArc3P ( GiContext ctx, Point2d startpt, Point2d midpt, Point2d endpt ) : bool
ctx GiContext
startpt Point2d
midpt Point2d
endpt Point2d
Результат bool

drawArc3P() публичный Метод

public drawArc3P ( GiContext ctx, Point2d startpt, Point2d midpt, Point2d endpt, bool modelUnit ) : bool
ctx GiContext
startpt Point2d
midpt Point2d
endpt Point2d
modelUnit bool
Результат bool

drawBSplines() публичный Метод

public drawBSplines ( GiContext ctx, int count, Point2d ctlpts ) : bool
ctx GiContext
count int
ctlpts Point2d
Результат bool

drawBSplines() публичный Метод

public drawBSplines ( GiContext ctx, int count, Point2d ctlpts, bool modelUnit ) : bool
ctx GiContext
count int
ctlpts Point2d
modelUnit bool
Результат bool

drawBeziers() публичный Метод

public drawBeziers ( GiContext ctx, int count, Point2d points ) : bool
ctx GiContext
count int
points Point2d
Результат bool

drawBeziers() публичный Метод

public drawBeziers ( GiContext ctx, int count, Point2d points, bool closed ) : bool
ctx GiContext
count int
points Point2d
closed bool
Результат bool

drawBeziers() публичный Метод

public drawBeziers ( GiContext ctx, int count, Point2d points, bool closed, bool modelUnit ) : bool
ctx GiContext
count int
points Point2d
closed bool
modelUnit bool
Результат bool

drawClosedBSplines() публичный Метод

public drawClosedBSplines ( GiContext ctx, int count, Point2d ctlpts ) : bool
ctx GiContext
count int
ctlpts Point2d
Результат bool

drawClosedBSplines() публичный Метод

public drawClosedBSplines ( GiContext ctx, int count, Point2d ctlpts, bool modelUnit ) : bool
ctx GiContext
count int
ctlpts Point2d
modelUnit bool
Результат bool

drawClosedSplines() публичный Метод

public drawClosedSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
Результат bool

drawClosedSplines() публичный Метод

public drawClosedSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs, bool modelUnit ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
modelUnit bool
Результат bool

drawEllipse() публичный Метод

public drawEllipse ( GiContext ctx, Box2d rect ) : bool
ctx GiContext
rect Box2d
Результат bool

drawEllipse() публичный Метод

public drawEllipse ( GiContext ctx, Box2d rect, bool modelUnit ) : bool
ctx GiContext
rect Box2d
modelUnit bool
Результат bool

drawEllipse() публичный Метод

public drawEllipse ( GiContext ctx, Point2d center, float rx ) : bool
ctx GiContext
center Point2d
rx float
Результат bool

drawEllipse() публичный Метод

public drawEllipse ( GiContext ctx, Point2d center, float rx, float ry ) : bool
ctx GiContext
center Point2d
rx float
ry float
Результат bool

drawEllipse() публичный Метод

public drawEllipse ( GiContext ctx, Point2d center, float rx, float ry, bool modelUnit ) : bool
ctx GiContext
center Point2d
rx float
ry float
modelUnit bool
Результат bool

drawHandle() публичный Метод

public drawHandle ( Point2d pnt, int type ) : bool
pnt Point2d
type int
Результат bool

drawHandle() публичный Метод

public drawHandle ( Point2d pnt, int type, bool modelUnit ) : bool
pnt Point2d
type int
modelUnit bool
Результат bool

drawLine() публичный Метод

public drawLine ( GiContext ctx, Point2d startPt, Point2d endPt ) : bool
ctx GiContext
startPt Point2d
endPt Point2d
Результат bool

drawLine() публичный Метод

public drawLine ( GiContext ctx, Point2d startPt, Point2d endPt, bool modelUnit ) : bool
ctx GiContext
startPt Point2d
endPt Point2d
modelUnit bool
Результат bool

drawLines() публичный Метод

public drawLines ( GiContext ctx, int count, Point2d points ) : bool
ctx GiContext
count int
points Point2d
Результат bool

drawLines() публичный Метод

public drawLines ( GiContext ctx, int count, Point2d points, bool modelUnit ) : bool
ctx GiContext
count int
points Point2d
modelUnit bool
Результат bool

drawPath() публичный Метод

public drawPath ( GiContext ctx, GiPath path, bool fill ) : bool
ctx GiContext
path GiPath
fill bool
Результат bool

drawPath() публичный Метод

public drawPath ( GiContext ctx, GiPath path, bool fill, bool modelUnit ) : bool
ctx GiContext
path GiPath
fill bool
modelUnit bool
Результат bool

drawPie() публичный Метод

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
Результат bool

drawPie() публичный Метод

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
Результат bool

drawPolygon() публичный Метод

public drawPolygon ( GiContext ctx, int count, Point2d points ) : bool
ctx GiContext
count int
points Point2d
Результат bool

drawPolygon() публичный Метод

public drawPolygon ( GiContext ctx, int count, Point2d points, bool modelUnit ) : bool
ctx GiContext
count int
points Point2d
modelUnit bool
Результат bool

drawRect() публичный Метод

public drawRect ( GiContext ctx, Box2d rect ) : bool
ctx GiContext
rect Box2d
Результат bool

drawRect() публичный Метод

public drawRect ( GiContext ctx, Box2d rect, bool modelUnit ) : bool
ctx GiContext
rect Box2d
modelUnit bool
Результат bool

drawRoundRect() публичный Метод

public drawRoundRect ( GiContext ctx, Box2d rect, float rx ) : bool
ctx GiContext
rect Box2d
rx float
Результат bool

drawRoundRect() публичный Метод

public drawRoundRect ( GiContext ctx, Box2d rect, float rx, float ry ) : bool
ctx GiContext
rect Box2d
rx float
ry float
Результат bool

drawRoundRect() публичный Метод

public drawRoundRect ( GiContext ctx, Box2d rect, float rx, float ry, bool modelUnit ) : bool
ctx GiContext
rect Box2d
rx float
ry float
modelUnit bool
Результат bool

drawSplines() публичный Метод

public drawSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
Результат bool

drawSplines() публичный Метод

public drawSplines ( GiContext ctx, int count, Point2d knots, Vector2d knotvs, bool modelUnit ) : bool
ctx GiContext
count int
knots Point2d
knotvs Vector2d
modelUnit bool
Результат bool

getBkColor() публичный Метод

public getBkColor ( ) : GiColor
Результат GiColor

getClipBox() публичный Метод

public getClipBox ( RECT_2D rc ) : RECT_2D
rc RECT_2D
Результат RECT_2D

getClipModel() публичный Метод

public getClipModel ( ) : Box2d
Результат Box2d

getClipWorld() публичный Метод

public getClipWorld ( ) : Box2d
Результат Box2d

isDrawing() публичный Метод

public isDrawing ( ) : bool
Результат bool

isGrayMode() публичный Метод

public isGrayMode ( ) : bool
Результат bool

isPrint() публичный Метод

public isPrint ( ) : bool
Результат bool

setBkColor() публичный Метод

public setBkColor ( GiColor color ) : GiColor
color GiColor
Результат GiColor

setClipBox() публичный Метод

public setClipBox ( RECT_2D rc ) : bool
rc RECT_2D
Результат bool

setClipWorld() публичный Метод

public setClipWorld ( Box2d rectWorld ) : bool
rectWorld Box2d
Результат bool

setGrayMode() публичный Метод

public setGrayMode ( bool gray ) : void
gray bool
Результат void

setMaxPenWidth() публичный Метод

public setMaxPenWidth ( float pixels ) : void
pixels float
Результат void

setMaxPenWidth() публичный Метод

public setMaxPenWidth ( float pixels, float minw ) : void
pixels float
minw float
Результат void

xf() публичный Метод

public xf ( ) : GiTransform
Результат GiTransform

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

swigCMemOwn защищенное свойство

protected bool swigCMemOwn
Результат bool