C# Class Braincase.GanttChart.ImageViewport

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

Méthodes publiques

Méthode 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 méthode

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

DeviceToWorldCoord() public méthode

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

ImageViewport() public méthode

public ImageViewport ( float scale, float worldWidth, float worldHeight ) : System
scale float
worldWidth float
worldHeight float
Résultat System

Resize() public méthode

public Resize ( ) : void
Résultat void

WorldToDeviceCoord() public méthode

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