IViewport for printing to file
More...
Inherits Braincase.GanttChart.IViewport.
|
| PrintViewport (Graphics graphics, float worldWidth, float worldHeight, int deviceWidth, int deviceHeight, int marginLeft, int marginTop) |
|
void | Resize () |
| Resize the viewport, recalculating and correcting dimensions More...
|
|
PointF | DeviceToWorldCoord (Point screencoord) |
| Convert view coordinates to world coordinate More...
|
|
PointF | DeviceToWorldCoord (PointF screencoord) |
| Convert view coordinates to world coordinate More...
|
|
PointF | WorldToDeviceCoord (PointF worldcoord) |
| Convert world coordinates to view coordinate More...
|
|
|
float | X [get, set] |
| Get or set viewport X world coordinate More...
|
|
float | Y [get, set] |
| Get or set viewport Y world coordinate More...
|
|
float | Scale [get, set] |
| Get or set scaling factor between 0.0f and 1.0f (obviously, scale of zero would mean you can't see anything) More...
|
|
float | WorldWidth [get, set] |
| Get or set width of the world More...
|
|
float | WorldHeight [get, set] |
| Get or set height of the world More...
|
|
Matrix | Projection [get] |
| Get the projection matrix for transforming models into viewport More...
|
|
RectangleF | Rectangle [get] |
| Get the rectangle bounds of the viewport in world coordinate More...
|
|
Matrix | Projection [get] |
| Get the projection matrix to transform world coordinates to device coordinates More...
|
|
RectangleF | Rectangle [get] |
| Get the rectangle boundary in world coordinates to be captured and projected onto viewport More...
|
|
float | WorldHeight [get, set] |
| Get or set the world height More...
|
|
float | WorldWidth [get, set] |
| Get or set the world width More...
|
|
float | X [get, set] |
| Get or set the X world-coordinate of the position of the viewport. This is also the same as the IViewport.Rectangle.Left. More...
|
|
float | Y [get, set] |
| Get or set the Y world-coordinate of the position of the viewport. This is also the same as the IViewport.Rectangle.Top. More...
|
|
IViewport for printing to file
PointF Braincase.GanttChart.PrintViewport.DeviceToWorldCoord |
( |
Point |
screencoord) | |
|
PointF Braincase.GanttChart.PrintViewport.DeviceToWorldCoord |
( |
PointF |
screencoord) | |
|
void Braincase.GanttChart.PrintViewport.Resize |
( |
) | |
|
PointF Braincase.GanttChart.PrintViewport.WorldToDeviceCoord |
( |
PointF |
worldcoord) | |
|
Matrix Braincase.GanttChart.PrintViewport.Projection |
|
get |
Get the projection matrix for transforming models into viewport
RectangleF Braincase.GanttChart.PrintViewport.Rectangle |
|
get |
Get the rectangle bounds of the viewport in world coordinate
float Braincase.GanttChart.PrintViewport.Scale |
|
getset |
Get or set scaling factor between 0.0f and 1.0f (obviously, scale of zero would mean you can't see anything)
float Braincase.GanttChart.PrintViewport.WorldHeight |
|
getset |
Get or set height of the world
float Braincase.GanttChart.PrintViewport.WorldWidth |
|
getset |
Get or set width of the world
float Braincase.GanttChart.PrintViewport.X |
|
getset |
Get or set viewport X world coordinate
float Braincase.GanttChart.PrintViewport.Y |
|
getset |
Get or set viewport Y world coordinate
The documentation for this class was generated from the following file:
- D:/SVN/codeplex/ganttchart/GanttChart/Viewport.cs