An IViewport that is placed over a world coordinate system and provides methods to transform between world and view coordinates
More...
Inherits Braincase.GanttChart.IViewport.
|
static readonly Matrix | Identity = new Matrix(1, 0, 0, 1, 0, 0) |
| Identity Matrix More...
|
|
|
int | WheelDelta [get, set] |
| Get or set the number of pixels to scroll on each click of the mouse More...
|
|
RectangleF | Rectangle [get] |
| Get the Rectangle area in world coordinates where the Viewport is currently viewing over More...
|
|
Matrix | Projection [get] |
| Get the projection transformation matrix required for drawing models in the world projected into view More...
|
|
float | WorldWidth [get, set] |
| Get or set the world width More...
|
|
float | WorldHeight [get, set] |
| Get or set the world height More...
|
|
float | X [get, set] |
| Get or set the world X coordinate of the Viewport location, represented by the top left corner of the Viewport Rectangle More...
|
|
float | Y [get, set] |
| Get or set the wordl Y coordinate of the Viewport location, represented by the top left corner of the Viewport Rectangle 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...
|
|
An IViewport that is placed over a world coordinate system and provides methods to transform between world and view coordinates
Braincase.GanttChart.ControlViewport.ControlViewport |
( |
Control |
view) | |
|
Construct a Viewport
- Parameters
-
PointF Braincase.GanttChart.ControlViewport.DeviceToWorldCoord |
( |
Point |
screencoord) | |
|
PointF Braincase.GanttChart.ControlViewport.DeviceToWorldCoord |
( |
PointF |
screencoord) | |
|
void Braincase.GanttChart.ControlViewport.Resize |
( |
) | |
|
Resize the Viewport according to the view control and world dimensions, which ever larger and add scrollbars where approperiate
Implements Braincase.GanttChart.IViewport.
PointF Braincase.GanttChart.ControlViewport.WorldToDeviceCoord |
( |
PointF |
worldcoord) | |
|
readonly Matrix Braincase.GanttChart.ControlViewport.Identity = new Matrix(1, 0, 0, 1, 0, 0) |
|
static |
Matrix Braincase.GanttChart.ControlViewport.Projection |
|
get |
Get the projection transformation matrix required for drawing models in the world projected into view
RectangleF Braincase.GanttChart.ControlViewport.Rectangle |
|
get |
Get the Rectangle area in world coordinates where the Viewport is currently viewing over
int Braincase.GanttChart.ControlViewport.WheelDelta |
|
getset |
Get or set the number of pixels to scroll on each click of the mouse
float Braincase.GanttChart.ControlViewport.WorldHeight |
|
getset |
Get or set the world height
float Braincase.GanttChart.ControlViewport.WorldWidth |
|
getset |
Get or set the world width
float Braincase.GanttChart.ControlViewport.X |
|
getset |
Get or set the world X coordinate of the Viewport location, represented by the top left corner of the Viewport Rectangle
float Braincase.GanttChart.ControlViewport.Y |
|
getset |
Get or set the wordl Y coordinate of the Viewport location, represented by the top left corner of the Viewport Rectangle
The documentation for this class was generated from the following file:
- D:/SVN/codeplex/ganttchart/GanttChart/Viewport.cs