< Home

< Table of Contents

REFERENCE MANUAL

HPS.Line Class Reference

This is the Line Class More...

Public Types

enum  SizeUnits {
  SizeUnits.ScaleFactor = 0, SizeUnits.ObjectSpace = 1, SizeUnits.SubscreenRelative = 2, SizeUnits.WindowRelative = 3,
  SizeUnits.WorldSpace = 4, SizeUnits.Points = 5, SizeUnits.Pixels = 6
}
 Line Size Units More...
 

Detailed Description

This is the Line Class

Member Enumeration Documentation

Line Size Units

Enumerator
ScaleFactor 

A unitless linear scaling factor.

A value of 2.0 will cause lines to be rendered twice as thick. A value of 1.0 will result in a visually pleasing device-dependent line weight. A value of 0 will result in the minimal weight line supported by the device.

ObjectSpace 

Object space units ignoring any scaling components in modelling matrices.

SubscreenRelative 

Fraction of the height of the outermost window.

WindowRelative 

Fraction of the height of the local window.

WorldSpace 

Object space units including any scaling components in modelling matrices and cameras.

Points 

Points units typically used for text size.

1 point corresponds to 1/72 inch.

Pixels 

Number of pixels.


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