DrawArc(pen, center, radius, startAngle, sweepAngle) DrawPie(pen, center, radius, startAngle, sweepAngle) DrawPie(pen, centerX, centerY, radius, startAngle, sweepAngle) DrawText(text, brush, font, centerX, centerY) SetViewport(leftWX, topWY, rightWX, bottomWY, maintainAspect) SetViewport(leftWX, topWY, rightWX, bottomWY, aspectXY) SetViewportHorz(worldLeft, worldRight, screenLeft, screenRight, maintainAspect) SetViewportVert(worldTop, worldBottom, screenTop, screenBottom, maintainAspect)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Method: void SetViewport(double, double, double)- Declared in: RT.Util.Drawing.Canvas
Declarationpublic void SetViewport(
double centerWX,
double centerWY,
double scale
) Summary
Sets the viewport so that the specified world coordinate is in the centre of the viewable screen, using the
specified scaling factor. |