[Overview][Constants][Classes][Index] | Reference for unit 'nvGLPainter' (#nvidia-widgets)

# GLUIPainter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

OpenGL painter class

## Declaration

Source position: nvglpainter.pas line 125

`type GLUIPainter = class(UIPainter)`
`public`
`constructor Create;`
`destructor Destroy; override;`
`procedure _begin(); override;`
`procedure _end; override;`
`public`
`procedure drawFrame();` |  | Draw frame primitive
`public`
`function getLabelRect(); override;`
`procedure drawLabel(); override;`
`function getButtonRect(); override;`
`procedure drawButton(); override;`
`function getCheckRect(); override;`
`procedure drawCheckButton(); override;`
`function getRadioRect(); override;`
`procedure drawRadioButton(); override;`
`function getHorizontalSliderRect(); override;`
`procedure drawHorizontalSlider(); override;`
`function getItemRect(); override;`
`procedure drawListItem(); override;`
`function getListRect(); override;`
`procedure drawListBox(); override;`
`function getComboRect(); override;`
`function getComboOptionsRect(); override;`
`procedure drawComboBox(); override;`
`procedure drawComboOptions(); override;`
`function getLineEditRect(); override;`
`procedure drawLineEdit(); override;`
`function getPanelRect(); override;`
`procedure drawPanel(); override;`
`function getTextureViewRect(); override;`
`procedure drawTextureView(); override;`
`function getCanvasMargin; override;` |  | Evaluate canvas margin
`function getCanvasSpace; override;` |  | Evaluate canvas space
`function getFontHeight; override;` |  | Evaluate font height
`function getTextLineWidth(); override;` |  | Evaluate text width
`function getTextSize(); override;` |  | Evaluate text size
`function getTextLineWidthAt();`
`function getPickedCharNb(); override;`
`procedure drawDebugRect(); override;` |  | Draw a rectangle for debugging purposes
`procedure drawText();` |  | Draw text with rectangle primitive
`procedure drawBoolFrame();` |  | Draw bool frame primitive
`procedure drawString();` |  | Draw multi-line text primitive
`procedure drawRect();` |  | Draw rectangle primitive
`procedure drawRoundedRect();` |  | Draw rouded rectangle primitive
`procedure drawRoundedRectOutline();` |  | Draw rouded rectangle outline primitive
`procedure drawCircle();` |  | Draw circle primitive
`procedure drawMinus();` |  | Draw minus primitive
`procedure drawPlus();` |  | Draw plus primitive
`procedure drawDownArrow();` |  | Draw down arrow primitive
`procedure drawUpArrow();` |  | Draw up arrow primitive
`procedure init; override;` |  | Initialization method of the painter class
`end;`

## Inheritance

`GLUIPainter` |  | OpenGL painter class
`UIPainter` |  | Basic painter class
`TObject`