vdr-plugin-softhddevice-drm-gles 1.4.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cOglCmdDrawEllipse Class Reference

#include <openglosd.h>

Collaboration diagram for cOglCmdDrawEllipse:
Collaboration graph
[legend]

Public Member Functions

 cOglCmdDrawEllipse (cOglFb *fb, GLint x, GLint y, GLint width, GLint height, GLint color, GLint quadrants)
 quadrants: 0 draws the entire ellipse 1..4 draws only the first, second, third or fourth quadrant, respectively 5..8 draws the right, top, left or bottom half, respectively -1..-4 draws the inverted part of the given quadrant More...
 
virtual ~cOglCmdDrawEllipse (void)
 
virtual const char * Description (void)
 
virtual bool Execute (void)
 
- Public Member Functions inherited from cOglCmd
 cOglCmd (cOglFb *fb)
 
virtual ~cOglCmd (void)
 
virtual const char * Description (void)=0
 
virtual bool Execute (void)=0
 

Private Member Functions

GLfloat * CreateVerticesFull (int &numVertices)
 
GLfloat * CreateVerticesQuadrant (int &numVertices)
 
GLfloat * CreateVerticesHalf (int &numVertices)
 

Private Attributes

GLint x
 
GLint y
 
GLint width
 
GLint height
 
GLint color
 
GLint quadrants
 

Additional Inherited Members

- Protected Attributes inherited from cOglCmd
cOglFbfb
 

Detailed Description

Definition at line 454 of file openglosd.h.

Constructor & Destructor Documentation

◆ cOglCmdDrawEllipse()

cOglCmdDrawEllipse::cOglCmdDrawEllipse ( cOglFb fb,
GLint  x,
GLint  y,
GLint  width,
GLint  height,
GLint  color,
GLint  quadrants 
)

quadrants: 0 draws the entire ellipse 1..4 draws only the first, second, third or fourth quadrant, respectively 5..8 draws the right, top, left or bottom half, respectively -1..-4 draws the inverted part of the given quadrant

Definition at line 1429 of file openglosd.cpp.

References color, height, quadrants, width, x, and y.

◆ ~cOglCmdDrawEllipse()

virtual cOglCmdDrawEllipse::~cOglCmdDrawEllipse ( void  )
inlinevirtual

Definition at line 465 of file openglosd.h.

Member Function Documentation

◆ CreateVerticesFull()

GLfloat * cOglCmdDrawEllipse::CreateVerticesFull ( int &  numVertices)
private

Definition at line 1477 of file openglosd.cpp.

References height, width, x, and y.

Referenced by Execute().

◆ CreateVerticesHalf()

GLfloat * cOglCmdDrawEllipse::CreateVerticesHalf ( int &  numVertices)
private

Definition at line 1558 of file openglosd.cpp.

References height, quadrants, width, x, and y.

Referenced by Execute().

◆ CreateVerticesQuadrant()

GLfloat * cOglCmdDrawEllipse::CreateVerticesQuadrant ( int &  numVertices)
private

Definition at line 1492 of file openglosd.cpp.

References height, quadrants, width, x, and y.

Referenced by Execute().

◆ Description()

virtual const char * cOglCmdDrawEllipse::Description ( void  )
inlinevirtual

Implements cOglCmd.

Definition at line 466 of file openglosd.h.

◆ Execute()

bool cOglCmdDrawEllipse::Execute ( void  )
virtual

Member Data Documentation

◆ color

GLint cOglCmdDrawEllipse::color
private

Definition at line 458 of file openglosd.h.

Referenced by cOglCmdDrawEllipse(), and Execute().

◆ height

GLint cOglCmdDrawEllipse::height
private

◆ quadrants

GLint cOglCmdDrawEllipse::quadrants
private

◆ width

GLint cOglCmdDrawEllipse::width
private

◆ x

GLint cOglCmdDrawEllipse::x
private

◆ y

GLint cOglCmdDrawEllipse::y
private

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