OpenGL.GLUT
Modules
The GLUT library implementation via ctypes
Functions
glutBitmapCharacter(
font
,
character
)
glutBitmapCharacter( c_void_p(font), c_int(character) ) -> None
glutBitmapLength(
font
,
string
)
-> <class 'ctypes.c_int'>
glutBitmapLength( c_void_p(font), POINTER(c_ubyte)(string) ) -> c_int
glutBitmapWidth(
font
,
character
)
-> <class 'ctypes.c_int'>
glutBitmapWidth( c_void_p(font), c_int(character) ) -> c_int
glutChangeToMenuEntry(
item
,
label
,
value
)
glutChangeToMenuEntry( c_int(item), STRING(label), c_int(value) ) -> None
glutChangeToSubMenu(
item
,
label
,
value
)
glutChangeToSubMenu( c_int(item), STRING(label), c_int(value) ) -> None
glutCreateSubWindow(
window
,
x
,
y
,
width
,
height
)
-> <class 'ctypes.c_int'>
glutCreateSubWindow( c_int(window), c_int(x), c_int(y), c_int(width), c_int(height) ) -> c_int
glutExtensionSupported(
extension
)
-> <class 'ctypes.c_int'>
glutExtensionSupported( STRING(extension) ) -> c_int
glutGetColor(
color
,
component
)
-> <class 'ctypes.c_float'>
glutGetColor( c_int(color), c_int(component) ) -> GLfloat
glutSetColor(
color
,
red
,
green
,
blue
)
glutSetColor( c_int(color), GLfloat(red), GLfloat(green), GLfloat(blue) ) -> None
glutSolidCone(
base
,
height
,
slices
,
stacks
)
glutSolidCone( GLdouble(base), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutSolidSphere(
radius
,
slices
,
stacks
)
glutSolidSphere( GLdouble(radius), GLint(slices), GLint(stacks) ) -> None
glutSolidTorus(
innerRadius
,
outerRadius
,
sides
,
rings
)
glutSolidTorus( GLdouble(innerRadius), GLdouble(outerRadius), GLint(sides), GLint(rings) ) -> None
glutStrokeCharacter(
font
,
character
)
glutStrokeCharacter( c_void_p(font), c_int(character) ) -> None
glutStrokeLength(
font
,
string
)
-> <class 'ctypes.c_int'>
glutStrokeLength( c_void_p(font), POINTER(c_ubyte)(string) ) -> c_int
glutStrokeWidth(
font
,
character
)
-> <class 'ctypes.c_int'>
glutStrokeWidth( c_void_p(font), c_int(character) ) -> c_int
glutWireCone(
base
,
height
,
slices
,
stacks
)
glutWireCone( GLdouble(base), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutWireSphere(
radius
,
slices
,
stacks
)
glutWireSphere( GLdouble(radius), GLint(slices), GLint(stacks) ) -> None
glutWireTorus(
innerRadius
,
outerRadius
,
sides
,
rings
)
glutWireTorus( GLdouble(innerRadius), GLdouble(outerRadius), GLint(sides), GLint(rings) ) -> None