Ring Documentation, Release 1.6
• void glRasterPos2i(GLint x,GLint y)
• void glRasterPos2f(GLfloat x,GLfloat y)
• void glRasterPos2d(GLdouble x,GLdouble y)
• void glRasterPos3s(GLshort x,GLshort y,GLshort z)
• void glRasterPos3i(GLint x,GLint y,GLint z)
• void glRasterPos3f(GLfloat x,GLfloat y,GLfloat z)
• void glRasterPos3d(GLdouble x,GLdouble y,GLdouble z)
• void glRasterPos4s(GLshort x,GLshort y,GLshort z,GLshort w)
• void glRasterPos4i(GLint x,GLint y,GLint z,GLint w)
• void glRasterPos4f(GLfloat x,GLfloat y,GLfloat z,GLfloat w)
• void glRasterPos4d(GLdouble x,GLdouble y,GLdouble z,GLdouble w)
• void glReadBuffer(GLenum mode)
• void glReadPixels(GLint x,GLint y,GLsizei width,GLsizei height,GLenum format,GLenum type,GLvoid * data)
• void glRectd(GLdouble x1,GLdouble y1,GLdouble x2,GLdouble y2)
• void glRectf(GLfloat x1,GLfloat y1,GLfloat x2,GLfloat y2)
• void glRecti(GLint x1,GLint y1,GLint x2,GLint y2)
• void glRects(GLshort x1,GLshort y1,GLshort x2,GLshort y2)
• void glRectdv(const GLdouble * v1,const GLdouble * v2)
• void glRectfv(const GLfloat * v1,const GLfloat * v2)
• void glRectiv(const GLint * v1,const GLint * v2)
• void glRectsv(const GLshort * v1,const GLshort * v2)
• GLint glRenderMode(GLenum mode)
• void glResetHistogram(GLenum target)
• void glRotated(GLdouble angle,GLdouble x,GLdouble y,GLdouble z)
• void glRotatef(GLfloat angle,GLfloat x,GLfloat y,GLfloat z)
• void glSampleCoverage(GLclampf value,GLboolean invert)
• void glScaled(GLdouble x,GLdouble y,GLdouble z)
• void glScalef(GLfloat x,GLfloat y,GLfloat z)
• void glScissor(GLint x,GLint y,GLsizei width,GLsizei height)
• void glSecondaryColor3b(GLbyte red,GLbyte green,GLbyte blue)
• void glSecondaryColor3s(GLshort red,GLshort green,GLshort blue)
• void glSecondaryColor3i(GLint red,GLint green,GLint blue)
• void glSecondaryColor3f(GLfloat red,GLfloat green,GLfloat blue)
• void glSecondaryColor3d(GLdouble red,GLdouble green,GLdouble blue)
• void glSecondaryColor3ub(GLubyte red,GLubyte green,GLubyte blue)
• void glSecondaryColor3us(GLushort red,GLushort green,GLushort blue)
1613
Ring Documentation, Release 1.6
• void glSecondaryColor3ui(GLuint red,GLuint green,GLuint blue)
• void glSecondaryColor3bv(const GLbyte * v)
• void glSecondaryColor3sv(const GLshort * v)
• void glSecondaryColor3iv(const GLint * v)
• void glSecondaryColor3fv(const GLfloat * v)
• void glSecondaryColor3dv(const GLdouble * v)
• void glSecondaryColor3ubv(const GLubyte * v)
• void glSecondaryColor3usv(const GLushort * v)
• void glSecondaryColor3uiv(const GLuint * v)
• void glSecondaryColorPointer(GLint size,GLenum type,GLsizei stride,const GLvoid * pointer)
• void glSelectBuffer(GLsizei size,GLuint * buffer)
• void glSeparableFilter2D(GLenum target,GLenum internalformat,GLsizei width,GLsizei height,GLenum for-
mat,GLenum type,const GLvoid * row,const GLvoid * column)
• void glShadeModel(GLenum mode)
• void glShaderSource(GLuint shader,GLsizei count,const GLchar **string,const GLint *length)
• void glStencilFunc(GLenum func,GLint ref,GLuint mask)
• void glStencilFuncSeparate(GLenum face,GLenum func,GLint ref,GLuint mask)
• void glStencilMask(GLuint mask)
• void glStencilMaskSeparate(GLenum face,GLuint mask)
• void glStencilOp(GLenum sfail,GLenum dpfail,GLenum dppass)
• void glStencilOpSeparate(GLenum face,GLenum sfail,GLenum dpfail,GLenum dppass)
• void glTexCoord1s(GLshort s)
• void glTexCoord1i(GLint s)
• void glTexCoord1f(GLfloat s)
• void glTexCoord1d(GLdouble s)
• void glTexCoord2s(GLshort s,GLshort t)
• void glTexCoord2i(GLint s,GLint t)
• void glTexCoord2f(GLfloat s,GLfloat t)
• void glTexCoord2d(GLdouble s,GLdouble t)
• void glTexCoord3s(GLshort s,GLshort t,GLshort r)
• void glTexCoord3i(GLint s,GLint t,GLint r)
• void glTexCoord3f(GLfloat s,GLfloat t,GLfloat r)
• void glTexCoord3d(GLdouble s,GLdouble t,GLdouble r)
• void glTexCoord4s(GLshort s,GLshort t,GLshort r,GLshort q)
• void glTexCoord4i(GLint s,GLint t,GLint r,GLint q)
• void glTexCoord4f(GLfloat s,GLfloat t,GLfloat r,GLfloat q)
1614
Ring Documentation, Release 1.6
• void glTexCoord4d(GLdouble s,GLdouble t,GLdouble r,GLdouble q)
• void glTexCoord1sv(const GLshort * v)
• void glTexCoord1iv(const GLint * v)
• void glTexCoord1fv(const GLfloat * v)
• void glTexCoord1dv(const GLdouble * v)
• void glTexCoord2sv(const GLshort * v)
• void glTexCoord2iv(const GLint * v)
• void glTexCoord2fv(const GLfloat * v)
• void glTexCoord2dv(const GLdouble * v)
• void glTexCoord3sv(const GLshort * v)
• void glTexCoord3iv(const GLint * v)
• void glTexCoord3fv(const GLfloat * v)
• void glTexCoord3dv(const GLdouble * v)
• void glTexCoord4sv(const GLshort * v)
• void glTexCoord4iv(const GLint * v)
• void glTexCoord4fv(const GLfloat * v)
• void glTexCoord4dv(const GLdouble * v)
• void glTexCoordPointer(GLint size,GLenum type,GLsizei stride,const GLvoid * pointer)
• void glTexEnvf(GLenum target,GLenum pname,GLfloat param)
• void glTexEnvi(GLenum target,GLenum pname,GLint param)
• void glTexGeni(GLenum coord,GLenum pname,GLint param)
• void glTexGenf(GLenum coord,GLenum pname,GLfloat param)
• void glTexGend(GLenum coord,GLenum pname,GLdouble param)
• void glTexGeniv(GLenum coord,GLenum pname,const GLint * params)
• void glTexGenfv(GLenum coord,GLenum pname,const GLfloat * params)
• void glTexGendv(GLenum coord,GLenum pname,const GLdouble * params)
• void glTexImage1D(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLint border,GLenum
format,GLenum type,const GLvoid * data)
• void glTexImage2D(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLsizei height,GLint bor-
der,GLenum format,GLenum type,const GLvoid * data)
• void glTexImage3D(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLsizei height,GLsizei
depth,GLint border,GLenum format,GLenum type,const GLvoid * data)
• void glTexParameterf(GLenum target,GLenum pname,GLfloat param)
• void glTexParameteri(GLenum target,GLenum pname,GLint param)
• void glTexParameterfv(GLenum target,GLenum pname,const GLfloat * params)
• void glTexParameteriv(GLenum target,GLenum pname,const GLint * params)
1615
Ring Documentation, Release 1.6
• void glTexSubImage1D(GLenum target,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum
type,const GLvoid * data)
• void glTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei
height,GLenum format,GLenum type,const GLvoid * data)
• void glTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei
width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const GLvoid * data)
• void glTranslated(GLdouble x,GLdouble y,GLdouble z)
• void glTranslatef(GLfloat x,GLfloat y,GLfloat z)
• void glUniform1f(GLint location,GLfloat v0)
• void glUniform2f(GLint location,GLfloat v0,GLfloat v1)
• void glUniform3f(GLint location,GLfloat v0,GLfloat v1,GLfloat v2)
• void glUniform4f(GLint location,GLfloat v0,GLfloat v1,GLfloat v2,GLfloat v3)
• void glUniform1i(GLint location,GLint v0)
• void glUniform2i(GLint location,GLint v0,GLint v1)
• void glUniform3i(GLint location,GLint v0,GLint v1,GLint v2)
• void glUniform4i(GLint location,GLint v0,GLint v1,GLint v2,GLint v3)
• void glUniform1fv(GLint location,GLsizei count,const GLfloat *value)
• void glUniform2fv(GLint location,GLsizei count,const GLfloat *value)
• void glUniform3fv(GLint location,GLsizei count,const GLfloat *value)
• void glUniform4fv(GLint location,GLsizei count,const GLfloat *value)
• void glUniform1iv(GLint location,GLsizei count,const GLint *value)
• void glUniform2iv(GLint location,GLsizei count,const GLint *value)
• void glUniform3iv(GLint location,GLsizei count,const GLint *value)
• void glUniform4iv(GLint location,GLsizei count,const GLint *value)
• void glUniformMatrix2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix2x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix3x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix2x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix4x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix3x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUniformMatrix4x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value)
• void glUseProgram(GLuint program)
• void glValidateProgram(GLuint program)
• void glVertex2s(GLshort x,GLshort y)
• void glVertex2i(GLint x,GLint y)
1616
Ring Documentation, Release 1.6
• void glVertex2f(GLfloat x,GLfloat y)
• void glVertex2d(GLdouble x,GLdouble y)
• void glVertex3s(GLshort x,GLshort y,GLshort z)
• void glVertex3i(GLint x,GLint y,GLint z)
• void glVertex3f(GLfloat x,GLfloat y,GLfloat z)
• void glVertex3d(GLdouble x,GLdouble y,GLdouble z)
• void glVertex4s(GLshort x,GLshort y,GLshort z,GLshort w)
• void glVertex4i(GLint x,GLint y,GLint z,GLint w)
• void glVertex4f(GLfloat x,GLfloat y,GLfloat z,GLfloat w)
• void glVertex4d(GLdouble x,GLdouble y,GLdouble z,GLdouble w)
• void glVertex2sv(const GLshort * v)
• void glVertex2iv(const GLint * v)
• void glVertex2fv(const GLfloat * v)
• void glVertex2dv(const GLdouble * v)
• void glVertex3sv(const GLshort * v)
• void glVertex3iv(const GLint * v)
• void glVertex3fv(const GLfloat * v)
• void glVertex3dv(const GLdouble * v)
• void glVertex4sv(const GLshort * v)
• void glVertex4iv(const GLint * v)
• void glVertex4fv(const GLfloat * v)
• void glVertex4dv(const GLdouble * v)
• void glVertexAttrib1f(GLuint index,GLfloat v0)
• void glVertexAttrib1s(GLuint index,GLshort v0)
• void glVertexAttrib1d(GLuint index,GLdouble v0)
• void glVertexAttrib2f(GLuint index,GLfloat v0,GLfloat v1)
• void glVertexAttrib2s(GLuint index,GLshort v0,GLshort v1)
• void glVertexAttrib2d(GLuint index,GLdouble v0,GLdouble v1)
• void glVertexAttrib3f(GLuint index,GLfloat v0,GLfloat v1,GLfloat v2)
• void glVertexAttrib3s(GLuint index,GLshort v0,GLshort v1,GLshort v2)
• void glVertexAttrib3d(GLuint index,GLdouble v0,GLdouble v1,GLdouble v2)
• void glVertexAttrib4f(GLuint index,GLfloat v0,GLfloat v1,GLfloat v2,GLfloat v3)
• void glVertexAttrib4s(GLuint index,GLshort v0,GLshort v1,GLshort v2,GLshort v3)
• void glVertexAttrib4d(GLuint index,GLdouble v0,GLdouble v1,GLdouble v2,GLdouble v3)
• void glVertexAttrib4Nub(GLuint index,GLubyte v0,GLubyte v1,GLubyte v2,GLubyte v3)
• void glVertexAttrib1fv(GLuint index,const GLfloat *v)
1617
Ring Documentation, Release 1.6
• void glVertexAttrib1sv(GLuint index,const GLshort *v)
• void glVertexAttrib1dv(GLuint index,const GLdouble *v)
• void glVertexAttrib2fv(GLuint index,const GLfloat *v)
• void glVertexAttrib2sv(GLuint index,const GLshort *v)
• void glVertexAttrib2dv(GLuint index,const GLdouble *v)
• void glVertexAttrib3fv(GLuint index,const GLfloat *v)
• void glVertexAttrib3sv(GLuint index,const GLshort *v)
• void glVertexAttrib3dv(GLuint index,const GLdouble *v)
• void glVertexAttrib4fv(GLuint index,const GLfloat *v)
• void glVertexAttrib4sv(GLuint index,const GLshort *v)
• void glVertexAttrib4dv(GLuint index,const GLdouble *v)
• void glVertexAttrib4iv(GLuint index,const GLint *v)
• void glVertexAttrib4bv(GLuint index,const GLbyte *v)
• void glVertexAttrib4ubv(GLuint index,const GLubyte *v)
• void glVertexAttrib4usv(GLuint index,const GLushort *v)
• void glVertexAttrib4uiv(GLuint index,const GLuint *v)
• void glVertexAttribPointer(GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const
GLvoid * pointer)
• void glVertexPointer(GLint size,GLenum type,GLsizei stride,const GLvoid * pointer)
• void glViewport(GLint x,GLint y,GLsizei width,GLsizei height)
• void glWindowPos2s(GLshort x,GLshort y)
• void glWindowPos2i(GLint x,GLint y)
• void glWindowPos2f(GLfloat x,GLfloat y)
• void glWindowPos2d(GLdouble x,GLdouble y)
• void glWindowPos3s(GLshort x,GLshort y,GLshort z)
• void glWindowPos3i(GLint x,GLint y,GLint z)
• void glWindowPos3f(GLfloat x,GLfloat y,GLfloat z)
• void glWindowPos3d(GLdouble x,GLdouble y,GLdouble z)
• void glWindowPos2sv(const GLshort * v)
• void glWindowPos2iv(const GLint * v)
• void glWindowPos2fv(const GLfloat * v)
• void glWindowPos2dv(const GLdouble * v)
• void glWindowPos3sv(const GLshort * v)
• void glWindowPos3iv(const GLint * v)
• void glWindowPos3fv(const GLfloat * v)
• void glWindowPos3dv(const GLdouble * v)
1618
Ring Documentation, Release 1.6
• void gluBeginCurve(GLUnurbs* nurb)
• void gluBeginPolygon(GLUtesselator* tess)
• void gluBeginSurface(GLUnurbs* nurb)
• void gluBeginTrim(GLUnurbs* nurb)
• void gluCylinder(GLUquadric* quad,GLdouble base,GLdouble top,GLdouble height,GLint slices,GLint stacks)
• void gluDeleteNurbsRenderer(GLUnurbs* nurb)
• void gluDeleteQuadric(GLUquadric* quad)
• void gluDeleteTess(GLUtesselator* tess)
• void gluDisk(GLUquadric* quad,GLdouble inner,GLdouble outer,GLint slices,GLint loops)
• void gluEndCurve(GLUnurbs* nurb)
• void gluEndPolygon(GLUtesselator* tess)
• void gluEndSurface(GLUnurbs* nurb)
• void gluEndTrim(GLUnurbs* nurb)
• const GLubyte * gluErrorString(GLenum error)
• void gluGetNurbsProperty(GLUnurbs* nurb,GLenum property,GLfloat* data)
• const GLubyte * gluGetString(GLenum name)
• void gluGetTessProperty(GLUtesselator* tess,GLenum which,GLdouble* data)
• void gluLoadSamplingMatrices(GLUnurbs* nurb,const GLfloat * model,const GLfloat * perspective,const
GLint * view)
• void gluLookAt(GLdouble eyeX,GLdouble eyeY,GLdouble eyeZ,GLdouble centerX,GLdouble cen-
terY,GLdouble centerZ,GLdouble upX,GLdouble upY,GLdouble upZ)
• GLUnurbs *gluNewNurbsRenderer(void)
• GLUquadric *gluNewQuadric(void)
• GLUtesselator* gluNewTess(void)
• void gluNextContour(GLUtesselator* tess,GLenum type)
• void gluNurbsCurve(GLUnurbs* nurb,GLint knotCount,GLfloat * knots,GLint stride,GLfloat * control,GLint
order,GLenum type)
• void gluNurbsProperty(GLUnurbs* nurb,GLenum property,GLfloat value)
• void gluNurbsSurface(GLUnurbs* nurb,GLint sKnotCount,GLfloat* sKnots,GLint tKnotCount,GLfloat*
tKnots,GLint sStride,GLint tStride,GLfloat* control,GLint sOrder,GLint tOrder,GLenum type)
• void gluOrtho2D(GLdouble left,GLdouble right,GLdouble bottom,GLdouble top)
• void gluPartialDisk(GLUquadric* quad,GLdouble inner,GLdouble outer,GLint slices,GLint loops,GLdouble
start,GLdouble sweep)
• void gluPerspective(GLdouble fovy,GLdouble aspect,GLdouble zNear,GLdouble zFar)
• void gluPickMatrix(GLdouble x,GLdouble y,GLdouble delX,GLdouble delY,GLint * viewport)
• GLint gluProject(GLdouble objX,GLdouble objY,GLdouble objZ,const GLdouble * model,const GLdouble *
proj,const GLint * view,GLdouble* winX,GLdouble* winY,GLdouble* winZ)
• void gluPwlCurve(GLUnurbs* nurb,GLint count,GLfloat* data,GLint stride,GLenum type)
1619
Ring Documentation, Release 1.6
• void gluQuadricDrawStyle(GLUquadric* quad,GLenum draw)
• void gluQuadricNormals(GLUquadric* quad,GLenum normal)
• void gluQuadricOrientation(GLUquadric* quad,GLenum orientation)
• void gluQuadricTexture(GLUquadric* quad,GLboolean texture)
• GLint gluScaleImage(GLenum format,GLsizei wIn,GLsizei hIn,GLenum typeIn,const void * dataIn,GLsizei
wOut,GLsizei hOut,GLenum typeOut,GLvoid* dataOut)
• void gluSphere(GLUquadric* quad,GLdouble radius,GLint slices,GLint stacks)
• void gluTessBeginContour(GLUtesselator* tess)
• void gluTessBeginPolygon(GLUtesselator* tess,GLvoid* data)
• void gluTessEndContour(GLUtesselator* tess)
• void gluTessEndPolygon(GLUtesselator* tess)
• void gluTessNormal(GLUtesselator* tess,GLdouble valueX,GLdouble valueY,GLdouble valueZ)
• void gluTessProperty(GLUtesselator* tess,GLenum which,GLdouble data)
• void gluTessVertex(GLUtesselator* tess,GLdouble * location,GLvoid* data)
• GLint gluUnProject(GLdouble winX,GLdouble winY,GLdouble winZ,const GLdouble * model,const GLdou-
ble * proj,const GLint * view,GLdouble* objX,GLdouble* objY,GLdouble* objZ)
• void glDisable(GLenum cap)
1620
CHAPTER
NINETYNINE
RINGQT CLASSES REFERENCE
99.1 QApp Class
C++ Reference : http://doc.qt.io/qt-5/QApplication.html
Parent Class : QGuiApplication
• void exec(void)
• void quit(void)
• void processEvents(void)
• void styleWindows(void)
• void styleWindowsVista(void)
• void styleFusion(void)
• void styleFusionBlack(void)
• void styleFusionCustom(QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor)
• void closeAllWindows(void)
• Qt::KeyboardModifiers keyboardModifiers(void)
99.2 QDesktopServices Class
C++ Reference : http://doc.qt.io/qt-5/QDesktopServices.html
• bool openUrl(QUrl)
• void setUrlHandler(QString, QObject *receiver, const char *method)
• void unsetUrlHandler(QString)
99.3 QTest Class
C++ Reference : http://doc.qt.io/qt-5/QTest.html
• void qsleep(int)
1621
Ring Documentation, Release 1.6
99.4 QObject Class
C++ Reference : http://doc.qt.io/qt-5/QObject.html
Parameters : void
• bool blockSignals(bool block)
• QObjectList children(void)
• void dumpObjectInfo(void)
• void dumpObjectTree(void)
• bool inherits(const char *className)
• void installEventFilter(QObject *filterObj)
• bool isWidgetType(void)
• void killTimer(int id)
• void moveToThread(QThread *targetThread)
• QString objectName(void)
• QObject *parent(void)
• QVariant property(const char *name)
• void removeEventFilter(QObject *obj)
• void setObjectName(QString)
• void setParent(QObject *parent)
• bool setProperty(const char *name, QVariant)
• bool signalsBlocked(void)
• int startTimer(int interval)
• QThread *thread(void)
• void deleteLater(void)
99.5 QWidget Class
C++ Reference : http://doc.qt.io/qt-5/QWidget.html
Parameters : void
Parent Class : QObject
• bool acceptDrops(void)
• QString accessibleDescription(void)
• QString accessibleName(void)
• void activateWindow(void)
• void addAction(QAction *action)
• void adjustSize(void)
• bool autoFillBackground(void)
99.4. QObject Class 1622

The Ring programming language version 1.6 book - Part 165 of 189

  • 1.
    Ring Documentation, Release1.6 • void glRasterPos2i(GLint x,GLint y) • void glRasterPos2f(GLfloat x,GLfloat y) • void glRasterPos2d(GLdouble x,GLdouble y) • void glRasterPos3s(GLshort x,GLshort y,GLshort z) • void glRasterPos3i(GLint x,GLint y,GLint z) • void glRasterPos3f(GLfloat x,GLfloat y,GLfloat z) • void glRasterPos3d(GLdouble x,GLdouble y,GLdouble z) • void glRasterPos4s(GLshort x,GLshort y,GLshort z,GLshort w) • void glRasterPos4i(GLint x,GLint y,GLint z,GLint w) • void glRasterPos4f(GLfloat x,GLfloat y,GLfloat z,GLfloat w) • void glRasterPos4d(GLdouble x,GLdouble y,GLdouble z,GLdouble w) • void glReadBuffer(GLenum mode) • void glReadPixels(GLint x,GLint y,GLsizei width,GLsizei height,GLenum format,GLenum type,GLvoid * data) • void glRectd(GLdouble x1,GLdouble y1,GLdouble x2,GLdouble y2) • void glRectf(GLfloat x1,GLfloat y1,GLfloat x2,GLfloat y2) • void glRecti(GLint x1,GLint y1,GLint x2,GLint y2) • void glRects(GLshort x1,GLshort y1,GLshort x2,GLshort y2) • void glRectdv(const GLdouble * v1,const GLdouble * v2) • void glRectfv(const GLfloat * v1,const GLfloat * v2) • void glRectiv(const GLint * v1,const GLint * v2) • void glRectsv(const GLshort * v1,const GLshort * v2) • GLint glRenderMode(GLenum mode) • void glResetHistogram(GLenum target) • void glRotated(GLdouble angle,GLdouble x,GLdouble y,GLdouble z) • void glRotatef(GLfloat angle,GLfloat x,GLfloat y,GLfloat z) • void glSampleCoverage(GLclampf value,GLboolean invert) • void glScaled(GLdouble x,GLdouble y,GLdouble z) • void glScalef(GLfloat x,GLfloat y,GLfloat z) • void glScissor(GLint x,GLint y,GLsizei width,GLsizei height) • void glSecondaryColor3b(GLbyte red,GLbyte green,GLbyte blue) • void glSecondaryColor3s(GLshort red,GLshort green,GLshort blue) • void glSecondaryColor3i(GLint red,GLint green,GLint blue) • void glSecondaryColor3f(GLfloat red,GLfloat green,GLfloat blue) • void glSecondaryColor3d(GLdouble red,GLdouble green,GLdouble blue) • void glSecondaryColor3ub(GLubyte red,GLubyte green,GLubyte blue) • void glSecondaryColor3us(GLushort red,GLushort green,GLushort blue) 1613
  • 2.
    Ring Documentation, Release1.6 • void glSecondaryColor3ui(GLuint red,GLuint green,GLuint blue) • void glSecondaryColor3bv(const GLbyte * v) • void glSecondaryColor3sv(const GLshort * v) • void glSecondaryColor3iv(const GLint * v) • void glSecondaryColor3fv(const GLfloat * v) • void glSecondaryColor3dv(const GLdouble * v) • void glSecondaryColor3ubv(const GLubyte * v) • void glSecondaryColor3usv(const GLushort * v) • void glSecondaryColor3uiv(const GLuint * v) • void glSecondaryColorPointer(GLint size,GLenum type,GLsizei stride,const GLvoid * pointer) • void glSelectBuffer(GLsizei size,GLuint * buffer) • void glSeparableFilter2D(GLenum target,GLenum internalformat,GLsizei width,GLsizei height,GLenum for- mat,GLenum type,const GLvoid * row,const GLvoid * column) • void glShadeModel(GLenum mode) • void glShaderSource(GLuint shader,GLsizei count,const GLchar **string,const GLint *length) • void glStencilFunc(GLenum func,GLint ref,GLuint mask) • void glStencilFuncSeparate(GLenum face,GLenum func,GLint ref,GLuint mask) • void glStencilMask(GLuint mask) • void glStencilMaskSeparate(GLenum face,GLuint mask) • void glStencilOp(GLenum sfail,GLenum dpfail,GLenum dppass) • void glStencilOpSeparate(GLenum face,GLenum sfail,GLenum dpfail,GLenum dppass) • void glTexCoord1s(GLshort s) • void glTexCoord1i(GLint s) • void glTexCoord1f(GLfloat s) • void glTexCoord1d(GLdouble s) • void glTexCoord2s(GLshort s,GLshort t) • void glTexCoord2i(GLint s,GLint t) • void glTexCoord2f(GLfloat s,GLfloat t) • void glTexCoord2d(GLdouble s,GLdouble t) • void glTexCoord3s(GLshort s,GLshort t,GLshort r) • void glTexCoord3i(GLint s,GLint t,GLint r) • void glTexCoord3f(GLfloat s,GLfloat t,GLfloat r) • void glTexCoord3d(GLdouble s,GLdouble t,GLdouble r) • void glTexCoord4s(GLshort s,GLshort t,GLshort r,GLshort q) • void glTexCoord4i(GLint s,GLint t,GLint r,GLint q) • void glTexCoord4f(GLfloat s,GLfloat t,GLfloat r,GLfloat q) 1614
  • 3.
    Ring Documentation, Release1.6 • void glTexCoord4d(GLdouble s,GLdouble t,GLdouble r,GLdouble q) • void glTexCoord1sv(const GLshort * v) • void glTexCoord1iv(const GLint * v) • void glTexCoord1fv(const GLfloat * v) • void glTexCoord1dv(const GLdouble * v) • void glTexCoord2sv(const GLshort * v) • void glTexCoord2iv(const GLint * v) • void glTexCoord2fv(const GLfloat * v) • void glTexCoord2dv(const GLdouble * v) • void glTexCoord3sv(const GLshort * v) • void glTexCoord3iv(const GLint * v) • void glTexCoord3fv(const GLfloat * v) • void glTexCoord3dv(const GLdouble * v) • void glTexCoord4sv(const GLshort * v) • void glTexCoord4iv(const GLint * v) • void glTexCoord4fv(const GLfloat * v) • void glTexCoord4dv(const GLdouble * v) • void glTexCoordPointer(GLint size,GLenum type,GLsizei stride,const GLvoid * pointer) • void glTexEnvf(GLenum target,GLenum pname,GLfloat param) • void glTexEnvi(GLenum target,GLenum pname,GLint param) • void glTexGeni(GLenum coord,GLenum pname,GLint param) • void glTexGenf(GLenum coord,GLenum pname,GLfloat param) • void glTexGend(GLenum coord,GLenum pname,GLdouble param) • void glTexGeniv(GLenum coord,GLenum pname,const GLint * params) • void glTexGenfv(GLenum coord,GLenum pname,const GLfloat * params) • void glTexGendv(GLenum coord,GLenum pname,const GLdouble * params) • void glTexImage1D(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLint border,GLenum format,GLenum type,const GLvoid * data) • void glTexImage2D(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLsizei height,GLint bor- der,GLenum format,GLenum type,const GLvoid * data) • void glTexImage3D(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLenum format,GLenum type,const GLvoid * data) • void glTexParameterf(GLenum target,GLenum pname,GLfloat param) • void glTexParameteri(GLenum target,GLenum pname,GLint param) • void glTexParameterfv(GLenum target,GLenum pname,const GLfloat * params) • void glTexParameteriv(GLenum target,GLenum pname,const GLint * params) 1615
  • 4.
    Ring Documentation, Release1.6 • void glTexSubImage1D(GLenum target,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum type,const GLvoid * data) • void glTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLenum type,const GLvoid * data) • void glTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const GLvoid * data) • void glTranslated(GLdouble x,GLdouble y,GLdouble z) • void glTranslatef(GLfloat x,GLfloat y,GLfloat z) • void glUniform1f(GLint location,GLfloat v0) • void glUniform2f(GLint location,GLfloat v0,GLfloat v1) • void glUniform3f(GLint location,GLfloat v0,GLfloat v1,GLfloat v2) • void glUniform4f(GLint location,GLfloat v0,GLfloat v1,GLfloat v2,GLfloat v3) • void glUniform1i(GLint location,GLint v0) • void glUniform2i(GLint location,GLint v0,GLint v1) • void glUniform3i(GLint location,GLint v0,GLint v1,GLint v2) • void glUniform4i(GLint location,GLint v0,GLint v1,GLint v2,GLint v3) • void glUniform1fv(GLint location,GLsizei count,const GLfloat *value) • void glUniform2fv(GLint location,GLsizei count,const GLfloat *value) • void glUniform3fv(GLint location,GLsizei count,const GLfloat *value) • void glUniform4fv(GLint location,GLsizei count,const GLfloat *value) • void glUniform1iv(GLint location,GLsizei count,const GLint *value) • void glUniform2iv(GLint location,GLsizei count,const GLint *value) • void glUniform3iv(GLint location,GLsizei count,const GLint *value) • void glUniform4iv(GLint location,GLsizei count,const GLint *value) • void glUniformMatrix2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix2x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix3x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix2x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix4x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix3x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUniformMatrix4x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat *value) • void glUseProgram(GLuint program) • void glValidateProgram(GLuint program) • void glVertex2s(GLshort x,GLshort y) • void glVertex2i(GLint x,GLint y) 1616
  • 5.
    Ring Documentation, Release1.6 • void glVertex2f(GLfloat x,GLfloat y) • void glVertex2d(GLdouble x,GLdouble y) • void glVertex3s(GLshort x,GLshort y,GLshort z) • void glVertex3i(GLint x,GLint y,GLint z) • void glVertex3f(GLfloat x,GLfloat y,GLfloat z) • void glVertex3d(GLdouble x,GLdouble y,GLdouble z) • void glVertex4s(GLshort x,GLshort y,GLshort z,GLshort w) • void glVertex4i(GLint x,GLint y,GLint z,GLint w) • void glVertex4f(GLfloat x,GLfloat y,GLfloat z,GLfloat w) • void glVertex4d(GLdouble x,GLdouble y,GLdouble z,GLdouble w) • void glVertex2sv(const GLshort * v) • void glVertex2iv(const GLint * v) • void glVertex2fv(const GLfloat * v) • void glVertex2dv(const GLdouble * v) • void glVertex3sv(const GLshort * v) • void glVertex3iv(const GLint * v) • void glVertex3fv(const GLfloat * v) • void glVertex3dv(const GLdouble * v) • void glVertex4sv(const GLshort * v) • void glVertex4iv(const GLint * v) • void glVertex4fv(const GLfloat * v) • void glVertex4dv(const GLdouble * v) • void glVertexAttrib1f(GLuint index,GLfloat v0) • void glVertexAttrib1s(GLuint index,GLshort v0) • void glVertexAttrib1d(GLuint index,GLdouble v0) • void glVertexAttrib2f(GLuint index,GLfloat v0,GLfloat v1) • void glVertexAttrib2s(GLuint index,GLshort v0,GLshort v1) • void glVertexAttrib2d(GLuint index,GLdouble v0,GLdouble v1) • void glVertexAttrib3f(GLuint index,GLfloat v0,GLfloat v1,GLfloat v2) • void glVertexAttrib3s(GLuint index,GLshort v0,GLshort v1,GLshort v2) • void glVertexAttrib3d(GLuint index,GLdouble v0,GLdouble v1,GLdouble v2) • void glVertexAttrib4f(GLuint index,GLfloat v0,GLfloat v1,GLfloat v2,GLfloat v3) • void glVertexAttrib4s(GLuint index,GLshort v0,GLshort v1,GLshort v2,GLshort v3) • void glVertexAttrib4d(GLuint index,GLdouble v0,GLdouble v1,GLdouble v2,GLdouble v3) • void glVertexAttrib4Nub(GLuint index,GLubyte v0,GLubyte v1,GLubyte v2,GLubyte v3) • void glVertexAttrib1fv(GLuint index,const GLfloat *v) 1617
  • 6.
    Ring Documentation, Release1.6 • void glVertexAttrib1sv(GLuint index,const GLshort *v) • void glVertexAttrib1dv(GLuint index,const GLdouble *v) • void glVertexAttrib2fv(GLuint index,const GLfloat *v) • void glVertexAttrib2sv(GLuint index,const GLshort *v) • void glVertexAttrib2dv(GLuint index,const GLdouble *v) • void glVertexAttrib3fv(GLuint index,const GLfloat *v) • void glVertexAttrib3sv(GLuint index,const GLshort *v) • void glVertexAttrib3dv(GLuint index,const GLdouble *v) • void glVertexAttrib4fv(GLuint index,const GLfloat *v) • void glVertexAttrib4sv(GLuint index,const GLshort *v) • void glVertexAttrib4dv(GLuint index,const GLdouble *v) • void glVertexAttrib4iv(GLuint index,const GLint *v) • void glVertexAttrib4bv(GLuint index,const GLbyte *v) • void glVertexAttrib4ubv(GLuint index,const GLubyte *v) • void glVertexAttrib4usv(GLuint index,const GLushort *v) • void glVertexAttrib4uiv(GLuint index,const GLuint *v) • void glVertexAttribPointer(GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const GLvoid * pointer) • void glVertexPointer(GLint size,GLenum type,GLsizei stride,const GLvoid * pointer) • void glViewport(GLint x,GLint y,GLsizei width,GLsizei height) • void glWindowPos2s(GLshort x,GLshort y) • void glWindowPos2i(GLint x,GLint y) • void glWindowPos2f(GLfloat x,GLfloat y) • void glWindowPos2d(GLdouble x,GLdouble y) • void glWindowPos3s(GLshort x,GLshort y,GLshort z) • void glWindowPos3i(GLint x,GLint y,GLint z) • void glWindowPos3f(GLfloat x,GLfloat y,GLfloat z) • void glWindowPos3d(GLdouble x,GLdouble y,GLdouble z) • void glWindowPos2sv(const GLshort * v) • void glWindowPos2iv(const GLint * v) • void glWindowPos2fv(const GLfloat * v) • void glWindowPos2dv(const GLdouble * v) • void glWindowPos3sv(const GLshort * v) • void glWindowPos3iv(const GLint * v) • void glWindowPos3fv(const GLfloat * v) • void glWindowPos3dv(const GLdouble * v) 1618
  • 7.
    Ring Documentation, Release1.6 • void gluBeginCurve(GLUnurbs* nurb) • void gluBeginPolygon(GLUtesselator* tess) • void gluBeginSurface(GLUnurbs* nurb) • void gluBeginTrim(GLUnurbs* nurb) • void gluCylinder(GLUquadric* quad,GLdouble base,GLdouble top,GLdouble height,GLint slices,GLint stacks) • void gluDeleteNurbsRenderer(GLUnurbs* nurb) • void gluDeleteQuadric(GLUquadric* quad) • void gluDeleteTess(GLUtesselator* tess) • void gluDisk(GLUquadric* quad,GLdouble inner,GLdouble outer,GLint slices,GLint loops) • void gluEndCurve(GLUnurbs* nurb) • void gluEndPolygon(GLUtesselator* tess) • void gluEndSurface(GLUnurbs* nurb) • void gluEndTrim(GLUnurbs* nurb) • const GLubyte * gluErrorString(GLenum error) • void gluGetNurbsProperty(GLUnurbs* nurb,GLenum property,GLfloat* data) • const GLubyte * gluGetString(GLenum name) • void gluGetTessProperty(GLUtesselator* tess,GLenum which,GLdouble* data) • void gluLoadSamplingMatrices(GLUnurbs* nurb,const GLfloat * model,const GLfloat * perspective,const GLint * view) • void gluLookAt(GLdouble eyeX,GLdouble eyeY,GLdouble eyeZ,GLdouble centerX,GLdouble cen- terY,GLdouble centerZ,GLdouble upX,GLdouble upY,GLdouble upZ) • GLUnurbs *gluNewNurbsRenderer(void) • GLUquadric *gluNewQuadric(void) • GLUtesselator* gluNewTess(void) • void gluNextContour(GLUtesselator* tess,GLenum type) • void gluNurbsCurve(GLUnurbs* nurb,GLint knotCount,GLfloat * knots,GLint stride,GLfloat * control,GLint order,GLenum type) • void gluNurbsProperty(GLUnurbs* nurb,GLenum property,GLfloat value) • void gluNurbsSurface(GLUnurbs* nurb,GLint sKnotCount,GLfloat* sKnots,GLint tKnotCount,GLfloat* tKnots,GLint sStride,GLint tStride,GLfloat* control,GLint sOrder,GLint tOrder,GLenum type) • void gluOrtho2D(GLdouble left,GLdouble right,GLdouble bottom,GLdouble top) • void gluPartialDisk(GLUquadric* quad,GLdouble inner,GLdouble outer,GLint slices,GLint loops,GLdouble start,GLdouble sweep) • void gluPerspective(GLdouble fovy,GLdouble aspect,GLdouble zNear,GLdouble zFar) • void gluPickMatrix(GLdouble x,GLdouble y,GLdouble delX,GLdouble delY,GLint * viewport) • GLint gluProject(GLdouble objX,GLdouble objY,GLdouble objZ,const GLdouble * model,const GLdouble * proj,const GLint * view,GLdouble* winX,GLdouble* winY,GLdouble* winZ) • void gluPwlCurve(GLUnurbs* nurb,GLint count,GLfloat* data,GLint stride,GLenum type) 1619
  • 8.
    Ring Documentation, Release1.6 • void gluQuadricDrawStyle(GLUquadric* quad,GLenum draw) • void gluQuadricNormals(GLUquadric* quad,GLenum normal) • void gluQuadricOrientation(GLUquadric* quad,GLenum orientation) • void gluQuadricTexture(GLUquadric* quad,GLboolean texture) • GLint gluScaleImage(GLenum format,GLsizei wIn,GLsizei hIn,GLenum typeIn,const void * dataIn,GLsizei wOut,GLsizei hOut,GLenum typeOut,GLvoid* dataOut) • void gluSphere(GLUquadric* quad,GLdouble radius,GLint slices,GLint stacks) • void gluTessBeginContour(GLUtesselator* tess) • void gluTessBeginPolygon(GLUtesselator* tess,GLvoid* data) • void gluTessEndContour(GLUtesselator* tess) • void gluTessEndPolygon(GLUtesselator* tess) • void gluTessNormal(GLUtesselator* tess,GLdouble valueX,GLdouble valueY,GLdouble valueZ) • void gluTessProperty(GLUtesselator* tess,GLenum which,GLdouble data) • void gluTessVertex(GLUtesselator* tess,GLdouble * location,GLvoid* data) • GLint gluUnProject(GLdouble winX,GLdouble winY,GLdouble winZ,const GLdouble * model,const GLdou- ble * proj,const GLint * view,GLdouble* objX,GLdouble* objY,GLdouble* objZ) • void glDisable(GLenum cap) 1620
  • 9.
    CHAPTER NINETYNINE RINGQT CLASSES REFERENCE 99.1QApp Class C++ Reference : http://doc.qt.io/qt-5/QApplication.html Parent Class : QGuiApplication • void exec(void) • void quit(void) • void processEvents(void) • void styleWindows(void) • void styleWindowsVista(void) • void styleFusion(void) • void styleFusionBlack(void) • void styleFusionCustom(QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor,QColor) • void closeAllWindows(void) • Qt::KeyboardModifiers keyboardModifiers(void) 99.2 QDesktopServices Class C++ Reference : http://doc.qt.io/qt-5/QDesktopServices.html • bool openUrl(QUrl) • void setUrlHandler(QString, QObject *receiver, const char *method) • void unsetUrlHandler(QString) 99.3 QTest Class C++ Reference : http://doc.qt.io/qt-5/QTest.html • void qsleep(int) 1621
  • 10.
    Ring Documentation, Release1.6 99.4 QObject Class C++ Reference : http://doc.qt.io/qt-5/QObject.html Parameters : void • bool blockSignals(bool block) • QObjectList children(void) • void dumpObjectInfo(void) • void dumpObjectTree(void) • bool inherits(const char *className) • void installEventFilter(QObject *filterObj) • bool isWidgetType(void) • void killTimer(int id) • void moveToThread(QThread *targetThread) • QString objectName(void) • QObject *parent(void) • QVariant property(const char *name) • void removeEventFilter(QObject *obj) • void setObjectName(QString) • void setParent(QObject *parent) • bool setProperty(const char *name, QVariant) • bool signalsBlocked(void) • int startTimer(int interval) • QThread *thread(void) • void deleteLater(void) 99.5 QWidget Class C++ Reference : http://doc.qt.io/qt-5/QWidget.html Parameters : void Parent Class : QObject • bool acceptDrops(void) • QString accessibleDescription(void) • QString accessibleName(void) • void activateWindow(void) • void addAction(QAction *action) • void adjustSize(void) • bool autoFillBackground(void) 99.4. QObject Class 1622