Query: transpose_font
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
transpose_font(3alleg4) Allegro manual transpose_font(3alleg4)NAMEtranspose_font - Transposes all characters in a font. Allegro game programming library.SYNOPSIS#include <allegro.h> int transpose_font(FONT *f, int drange)DESCRIPTIONThis function transposes all characters in a font, effectively remapping the font. Example: FONT *myfont; FONT *capitals; ... /* Create a font of only capital letters */ capitals = extract_font_range(myfont, 'A', 'Z'); /* Now transpose the characters in the font so that they will be used */ /* for the lower case letters a-z */ transpose_font(capitals, 'a'-'A'); textout_ex(screen, capitals, "allcaps", 100, 100, makecol(255,255,255), 0);RETURN VALUEReturns 0 on success, -1 on failure.SEE ALSOget_font_range_begin(3alleg4), get_font_range_end(3alleg4), merge_fonts(3alleg4), extract_font_range(3alleg4) Allegro version 4.4.2 transpose_font(3alleg4)
Related Man Pages |
---|
get_font_range_end(3alleg4) - debian |
merge_fonts(3alleg4) - debian |
exunicod(3alleg4) - centos |
exunicod(3alleg4) - opendarwin |
exunicod(3alleg4) - mojave |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
How can I do this in VI editor? |
Introduction |
One instance of comparing grep and awk |