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 ResetViewport()- Declared in: RT.Util.Drawing.Canvas
Declarationpublic void ResetViewport() Summary
Resets the scaling and offset so that world coordinates correspond to screen pixels. Maintains the offsets so
that all visible pixels have positive coordinates and one of the corners is 0,0. |