Click or drag to resize

GM_Constants Methods

The GM_Constants type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDEGTORAD
Converts Degrees to Radians
Public methodStatic memberGM_NORMALIZE_ANGLE_DEG
Define macro to normalize an angle value in degrees to [0,360]
Public methodStatic memberGM_NORMALIZE_ANGLE_RAD
Normalize an angle value in radians to [0,2*PI]
Public methodStatic memberRADTODEG
Converts Radians to Degrees
Public methodStatic memberRGB_TO_GRAY(Color)
Convert Color to a gray value
Public methodStatic memberRGB_TO_GRAY(Int32, Int32, Int32)
Convert RGB colors (or COLORREF) to a gray value
Top
See Also