GLUTBITMAPSTRING(3)
β¨ NAME β¨
glutBitmapString β draw a string of bitmapped characters. Manual-page energy: GLUTBITMAPSTRING(3). That's the whole assignment, bestie.
π LIBRARY π
OpenGLUT - bitmapfont. Iconic library behavior, no cap.
πΈ SYNOPSIS πΈ
#include <openglut.h>
void
glutBitmapString(void *font, const unsigned char *string);
π PARAMETERS π
fontβ a bitmapped font identifier. Like, which OpenGLUT bitmap font are we using, bestie?stringβ a NUL-terminated ASCII string. It ends at the NUL, periodt.
π¦ DESCRIPTION π¦
Okay so glutBitmapString draws a string at the current OpenGL raster position using a bitmapped font. Slay. The raster position is advanced by the width of the string β so after it's done, the raster position has moved right by however wide your string is.
The starting raster position is used as the left margin for multi-line strings. Each newline character repositions the raster position at the beginning of the next line. Multi-line text stays left-aligned to that starting spot, iykyk.
Nothing is drawn, and the raster position is unaffected when either:
fontis not a valid OpenGLUT bitmap fontstringis an empty string orNULLpointer- The current OpenGL raster position is invalid
So if the font is not valid, the string is empty or NULL, or the current OpenGL raster position is invalid, you get nothing drawn and the raster position does not move. Zero drama, zero pixels. π
π SEE ALSO π
Signing off with date UNDATED and source/version UNTITLED(). Stay iconic, bestie. π«Άβ¨π
π¦ where this page comes from
- centos-stream 10: freeglut-devel 3.4.0-9.el10 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- Copyright 2004, the OpenGLUT contributors
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms