ViewCaptureWriter

public abstract class ViewCaptureWriter
Callback system used by SVG and PDF exporter to generate documents. Not intended for general SDK usage

Constructors

ViewCaptureWriter

#Since v6.0
public ViewCaptureWriter(
dpi,
pageSize
)

Properties

Dpi

#
protected double Dpi { get; }

PageSize

#
protected Size PageSize { get; }

Methods

Draw

#Since v6.15
public void Draw(
nint
constPtrPrintInfo,
doc
)

DrawBitmap

#
protected abstract void DrawBitmap(
bitmap,
m11,
m12,
m21,
m22,
dx,
dy
)

DrawCircle

#
protected abstract void DrawCircle(
center,
diameter,
fillColor,
stroke
)

DrawGradientHatch

#
protected abstract void DrawGradientHatch(
pipeline,
hatch,
pattern,
gradientColors,
gradientStops,
gradientPoint1,
gradientPoint2,
linearGradient,
boundaryColor,
pointScale,
effectiveHatchScale
)

DrawPath

#
protected abstract void DrawPath(
points,
pen,
linearGradient,
stops,
gradientPoints,
pointScale
)

DrawRectangle

#
protected abstract void DrawRectangle(
rect,
fillColor,
strokeWidth,
strokeColor,
cornerRadius
)

DrawScreenText

#
protected abstract void DrawScreenText(
text,
textColor,
x,
y,
angle,
horizontalAlignment,
heightPoints,
font
)

FillPolygon

#
protected abstract void FillPolygon(
points,
fillColor
)

Flush

#
protected void Flush()

PopClipPath

#
protected void PopClipPath()

PushClipPath

#
protected void PushClipPath(
points
)

PushClipPath

#
protected void PushClipPath()

SetClipPath

#
protected abstract void SetClipPath(
points
)

SupportsArc

#
protected virtual bool SupportsArc()