C# Class PixelFarm.Agg.Transform.Viewport

Exibir arquivo Open project: prepare/HTML-Renderer

Public Methods

Method Description
Viewport ( ) : System
align_x ( ) : double
align_y ( ) : double
aspect_ratio ( ) : AspectRatio
device_dx ( ) : double
device_dy ( ) : double
device_viewport ( double x1, double y1, double x2, double y2 ) : void
inverse_transform ( double &x, double &y ) : void
inverse_transform_scale_only ( double &x, double &y ) : void
is_valid ( ) : bool
preserve_aspect_ratio ( double alignx, double aligny, AspectRatio aspect ) : void
scale ( ) : double
scale_x ( ) : double
scale_y ( ) : double
to_affine ( ) : Affine
to_affine_scale_only ( ) : Affine
transform ( double &x, double &y ) : void
transform_scale_only ( double &x, double &y ) : void
world_viewport ( double x1, double y1, double x2, double y2 ) : void
world_viewport_actual ( double &x1, double &y1, double &x2, double &y2 ) : void

Private Methods

Method Description
update ( ) : void

Method Details

Viewport() public method

public Viewport ( ) : System
return System

align_x() public method

public align_x ( ) : double
return double

align_y() public method

public align_y ( ) : double
return double

aspect_ratio() public method

public aspect_ratio ( ) : AspectRatio
return AspectRatio

device_dx() public method

public device_dx ( ) : double
return double

device_dy() public method

public device_dy ( ) : double
return double

device_viewport() public method

public device_viewport ( double x1, double y1, double x2, double y2 ) : void
x1 double
y1 double
x2 double
y2 double
return void

inverse_transform() public method

public inverse_transform ( double &x, double &y ) : void
x double
y double
return void

inverse_transform_scale_only() public method

public inverse_transform_scale_only ( double &x, double &y ) : void
x double
y double
return void

is_valid() public method

public is_valid ( ) : bool
return bool

preserve_aspect_ratio() public method

public preserve_aspect_ratio ( double alignx, double aligny, AspectRatio aspect ) : void
alignx double
aligny double
aspect AspectRatio
return void

scale() public method

public scale ( ) : double
return double

scale_x() public method

public scale_x ( ) : double
return double

scale_y() public method

public scale_y ( ) : double
return double

to_affine() public method

public to_affine ( ) : Affine
return Affine

to_affine_scale_only() public method

public to_affine_scale_only ( ) : Affine
return Affine

transform() public method

public transform ( double &x, double &y ) : void
x double
y double
return void

transform_scale_only() public method

public transform_scale_only ( double &x, double &y ) : void
x double
y double
return void

world_viewport() public method

public world_viewport ( double x1, double y1, double x2, double y2 ) : void
x1 double
y1 double
x2 double
y2 double
return void

world_viewport_actual() public method

public world_viewport_actual ( double &x1, double &y1, double &x2, double &y2 ) : void
x1 double
y1 double
x2 double
y2 double
return void