Package pyraf :: Module opengltext
[hide private]
[frames] | no frames]

Module opengltext

source code

Implements text rendering using stroked font and OpenGL

$Id: opengltext.py 779 2007-02-09 16:52:50Z rij $

Functions [hide private]
 
softText(win, x, y, textstr) source code
 
drawchar(char, font, size, aspect) source code

Imports: numpy, math, openglutil, CHARPATH_UP, FONT_BOLD, JUSTIFIED_BOTTOM, CHARPATH_DOWN, JUSTIFIED_TOP, JUSTIFIED_LEFT, FQUALITY_NORMAL, JUSTIFIED_RIGHT, TextAttributes, CHARPATH_LEFT, FONT_ROMAN, FONT_GREEK, FONT_ITALIC, fontdata, FQUALITY_HIGH, FQUALITY_LOW, JUSTIFIED_NORMAL, CHARPATH_RIGHT, JUSTIFIED_CENTER, FQUALITY_MEDIUM