C# Class Braincase.GanttChart.ImageViewport

IViewport for printing to image. The full chart in the world is printed as-is.
Inheritance: IViewport
Mostrar archivo Open project: JackWangCUMT/NetGanttControl

Public Methods

Method Description
DeviceToWorldCoord ( Point screencoord ) : PointF

The device and world coordinates are the same for ImageViewport

DeviceToWorldCoord ( PointF screencoord ) : PointF

The device and world coordinates are the same for ImageViewport

ImageViewport ( float scale, float worldWidth, float worldHeight ) : System
Resize ( ) : void
WorldToDeviceCoord ( PointF worldcoord ) : PointF

The device and world coordinates are the same for ImageViewport

Method Details

DeviceToWorldCoord() public method

The device and world coordinates are the same for ImageViewport
public DeviceToWorldCoord ( Point screencoord ) : PointF
screencoord Point
return System.Drawing.PointF

DeviceToWorldCoord() public method

The device and world coordinates are the same for ImageViewport
public DeviceToWorldCoord ( PointF screencoord ) : PointF
screencoord System.Drawing.PointF
return System.Drawing.PointF

ImageViewport() public method

public ImageViewport ( float scale, float worldWidth, float worldHeight ) : System
scale float
worldWidth float
worldHeight float
return System

Resize() public method

public Resize ( ) : void
return void

WorldToDeviceCoord() public method

The device and world coordinates are the same for ImageViewport
public WorldToDeviceCoord ( PointF worldcoord ) : PointF
worldcoord System.Drawing.PointF
return System.Drawing.PointF