Gantt Chart Control  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Braincase.GanttChart.ImageViewport Class Reference

IViewport for printing to image. The full chart in the world is printed as-is. More...

Inherits Braincase.GanttChart.IViewport.

Public Member Functions

 ImageViewport (float scale, float worldWidth, float worldHeight)
 
void Resize ()
 Request viewport to recalculate its get properties. More...
 
PointF DeviceToWorldCoord (Point screencoord)
 The device and world coordinates are the same for ImageViewport More...
 
PointF DeviceToWorldCoord (PointF screencoord)
 The device and world coordinates are the same for ImageViewport More...
 
PointF WorldToDeviceCoord (PointF worldcoord)
 The device and world coordinates are the same for ImageViewport More...
 

Properties

Matrix Projection [get]
 Get the projection matrix to transform world coordinates to device coordinates More...
 
RectangleF Rectangle [get]
 The device rectangle boundary in the world to capture and project onto device is the same rectangle of the world for ImageViewport So that the entire world is projected onto the ImageViewport 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]
 No effect for ImageViewport. X and Y world-coordinate offset is always at (0,0). More...
 
float Y [get, set]
 No effect for ImageViewport. X and Y world-coordinate offset is always at (0,0). More...
 
- Properties inherited from Braincase.GanttChart.IViewport
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...
 

Detailed Description

IViewport for printing to image. The full chart in the world is printed as-is.

Member Function Documentation

PointF Braincase.GanttChart.ImageViewport.DeviceToWorldCoord ( Point  screencoord)

The device and world coordinates are the same for ImageViewport

Implements Braincase.GanttChart.IViewport.

PointF Braincase.GanttChart.ImageViewport.DeviceToWorldCoord ( PointF  screencoord)

The device and world coordinates are the same for ImageViewport

Implements Braincase.GanttChart.IViewport.

void Braincase.GanttChart.ImageViewport.Resize ( )

Request viewport to recalculate its get properties.

Implements Braincase.GanttChart.IViewport.

PointF Braincase.GanttChart.ImageViewport.WorldToDeviceCoord ( PointF  worldcoord)

The device and world coordinates are the same for ImageViewport

Implements Braincase.GanttChart.IViewport.

Property Documentation

Matrix Braincase.GanttChart.ImageViewport.Projection
get

Get the projection matrix to transform world coordinates to device coordinates

RectangleF Braincase.GanttChart.ImageViewport.Rectangle
get

The device rectangle boundary in the world to capture and project onto device is the same rectangle of the world for ImageViewport So that the entire world is projected onto the ImageViewport

float Braincase.GanttChart.ImageViewport.WorldHeight
getset

Get or set the world height

float Braincase.GanttChart.ImageViewport.WorldWidth
getset

Get or set the world width

float Braincase.GanttChart.ImageViewport.X
getset

No effect for ImageViewport. X and Y world-coordinate offset is always at (0,0).

float Braincase.GanttChart.ImageViewport.Y
getset

No effect for ImageViewport. X and Y world-coordinate offset is always at (0,0).


The documentation for this class was generated from the following file: