glutBitmapWidth
NAMESYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
AUTHOR
NAME
glutBitmapWidth - returns the width of a bitmap character, glutBitmapLength returns the length of a bitmap font string.
SYNTAX
int
glutBitmapWidth(void *font, int character)
int glutBitmapLength(void *font, const unsigned char
*string)
ARGUMENTS
font |
Bitmap font to use. For valid values, see the glutBitmapCharacter description. | ||
character |
Character to return width of (not confined to 8 bits). | ||
string |
Text string (8-bit characters), nul terminated. |
DESCRIPTION
glutBitmapWidth returns the width in pixels of a bitmap character in a supported bitmap font. While the width of characters in a font may vary (though fixed width fonts do not vary), the maximum height characteristics of a particular font are fixed.
glutBitmapLength returns the length in pixels of a string (8-bit characters). This length is equivalent to summing all the widths returned by glutBitmapWidth for each character in the string.
SEE ALSO
glutBitmapCharacter, glutStrokeWidth
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
More Linux Commands
manpages/asn1_get_tag_der.3.html
asn1_get_tag_der(3) - API function - Linux manual page......
Decode the class and TAG from DER code. RETURNS Returns ASN1_SUCCESS on success, or an error. COPYRIGHT Copyright © 2006-2013 Free Software Foundation, Inc
manpages/ins_wch.3ncurses.html
ins_wch(3ncurses) - insert a complex character and rendition
These routines, insert the complex character wch with rendition before the character under the cursor. All characters to the right of the cursor are moved one s
manpages/cups-genppdupdate.8.html
cups-genppdupdate(8) - update CUPS+Gutenprint PPD files.....
cups-genppdupdate regenerates the Gutenprint PPD files in use by CUPS, using the PPD files under /usr/share/cups/model/gutenprint as templates. The new PPD file
manpages/man-pages.7.html
man-pages(7) - conventions for writing Linux man pages......
This page describes the conventions that should be employed when writing man pages for the Linux man-pages project, which documents the user-space API provided
manpages/xtrapin.1x.html
xtrapin(1x) - XTrap sample clients - Linux manual page......
These commands are SAMPLE CLIENTS provided with the XTrap X Server Extension Sources, Version 3.3. XTrap is an X Server extension which facilitates the capturin
manpages/apparmor.7.html
apparmor(7) kernel enhancement to confine programs to a limi
AppArmor is a kernel enhancement to confine programs to a limited set of resources. AppArmors unique security model is to bind access control attributes to prog
manpages/XCirculateRequestEvent.3.html
XCirculateRequestEvent(3) - CirculateRequest event structure
The structure for CirculateRequest events contains: typedef struct { int type; /* CirculateRequest */ unsigned long serial; /* # of last request processed by se
manpages/pvck.8.html
pvck(8) - check physical volume metadata - Linux man page...
pvck checks physical volume LVM metadata for consistency. OPTIONS See lvm(8) for common options. --labelsector sector By default, 4 sectors of PhysicalVolume ar
manpages/systemd-modules-load.8.html
systemd-modules-load(8) Configure kernel modules to load at
systemd-modules-load.service is an early-boot service that loads kernel modules from static configuration. See modules-load.d(5) for information about the confi
manpages/pcre32_jit_stack_free.3.html
pcre32_jit_stack_free(3) Perl-compatible regular expressions
This function is used to free a JIT stack that was created by pcre[16|32]_jit_stack_alloc() when it is no longer needed. For more details, see the pcrejit page.
manpages/wol.1.html
wol(1) - Wake On LAN client (Commands - Linux man page).....
This manual gives you an introduction into wol, the Wake On LAN client. It remotely turns on computers that supports Magic Packet technology (also known as Wake
manpages/genisoimagerc.5.html
genisoimagerc(5) - startup configuration file for genisoimag
genisoimage(1) searches for a configuration file in several places; it uses the first one it is able to open. First, if the GENISOIMAGERC environment variable i
