Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
VRage.Profiler.MyDrawArea Class Reference

Public Member Functions

 MyDrawArea (float xStart, float yStart, float xScale, float yScale, float yRange)
 Initializes draw area. More...
 
void IncreaseYRange ()
 
void DecreaseYRange ()
 

Public Attributes

readonly float x_start
 
readonly float y_start
 
readonly float x_scale
 
readonly float y_scale
 

Properties

float y_range [get]
 
float y_legend_ms_increment [get]
 
int y_legend_ms_count [get]
 
float y_legend_increment [get]
 

Detailed Description

Definition at line 5 of file MyDrawArea.cs.

Constructor & Destructor Documentation

VRage.Profiler.MyDrawArea.MyDrawArea ( float  xStart,
float  yStart,
float  xScale,
float  yScale,
float  yRange 
)
inline

Initializes draw area.

Parameters
yRangeRange of y axis, will be rounded to 2^n or 2^n * 1.5

Definition at line 28 of file MyDrawArea.cs.

Member Function Documentation

void VRage.Profiler.MyDrawArea.DecreaseYRange ( )
inline

Definition at line 45 of file MyDrawArea.cs.

void VRage.Profiler.MyDrawArea.IncreaseYRange ( )
inline

Definition at line 39 of file MyDrawArea.cs.

Member Data Documentation

readonly float VRage.Profiler.MyDrawArea.x_scale

Definition at line 9 of file MyDrawArea.cs.

readonly float VRage.Profiler.MyDrawArea.x_start

Definition at line 7 of file MyDrawArea.cs.

readonly float VRage.Profiler.MyDrawArea.y_scale

Definition at line 10 of file MyDrawArea.cs.

readonly float VRage.Profiler.MyDrawArea.y_start

Definition at line 8 of file MyDrawArea.cs.

Property Documentation

float VRage.Profiler.MyDrawArea.y_legend_increment
get

Definition at line 15 of file MyDrawArea.cs.

int VRage.Profiler.MyDrawArea.y_legend_ms_count
get

Definition at line 14 of file MyDrawArea.cs.

float VRage.Profiler.MyDrawArea.y_legend_ms_increment
get

Definition at line 13 of file MyDrawArea.cs.

float VRage.Profiler.MyDrawArea.y_range
get

Definition at line 12 of file MyDrawArea.cs.


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