Home
last modified time | relevance | path

Searched refs:TexFont (Results 1 – 25 of 37) sorted by relevance

12

/dports/devel/bullet/bullet3-3.21/examples/OpenGLWindow/
H A DTwFonts.cpp143 TexFont->m_CharHeight = h; in TwGenerateFont()
146 TexFont->m_TexBytes = new unsigned char[TexFont->m_TexWidth * TexFont->m_TexHeight]; in TwGenerateFont()
147 memset(TexFont->m_TexBytes, 0, TexFont->m_TexWidth * TexFont->m_TexHeight); in TwGenerateFont()
180 TexFont->m_CharU0[ch + 32] = (float(xx) + du) / float(TexFont->m_TexWidth); in TwGenerateFont()
182 TexFont->m_CharU1[ch + 32] = (float(xx) + du) / float(TexFont->m_TexWidth); in TwGenerateFont()
192 TexFont->m_CharU0[ch] = TexFont->m_CharU0[Undef]; in TwGenerateFont()
193 TexFont->m_CharU1[ch] = TexFont->m_CharU1[Undef]; in TwGenerateFont()
194 TexFont->m_CharV0[ch] = TexFont->m_CharV0[Undef]; in TwGenerateFont()
195 TexFont->m_CharV1[ch] = TexFont->m_CharV1[Undef]; in TwGenerateFont()
196 TexFont->m_CharWidth[ch] = TexFont->m_CharWidth[Undef] / 2; in TwGenerateFont()
[all …]
/dports/graphics/anttweakbar/AntTweakBar/src/
H A DTwFonts.cpp137 TexFont->m_NbCharRead = ch-32; in TwGenerateFont()
141 TexFont->m_TexBytes = new unsigned char[TexFont->m_TexWidth*TexFont->m_TexHeight]; in TwGenerateFont()
142 memset(TexFont->m_TexBytes, 0, TexFont->m_TexWidth*TexFont->m_TexHeight); in TwGenerateFont()
172 TexFont->m_CharU0[ch+32] = (float(xx)+du)/float(TexFont->m_TexWidth); in TwGenerateFont()
174 TexFont->m_CharU1[ch+32] = (float(xx)+du)/float(TexFont->m_TexWidth); in TwGenerateFont()
184 TexFont->m_CharU0[ch] = TexFont->m_CharU0[Undef]; in TwGenerateFont()
185 TexFont->m_CharU1[ch] = TexFont->m_CharU1[Undef]; in TwGenerateFont()
186 TexFont->m_CharV0[ch] = TexFont->m_CharV0[Undef]; in TwGenerateFont()
187 TexFont->m_CharV1[ch] = TexFont->m_CharV1[Undef]; in TwGenerateFont()
188 TexFont->m_CharWidth[ch] = TexFont->m_CharWidth[Undef]/2; in TwGenerateFont()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/OpenGLWindow/
H A DTwFonts.cpp143 TexFont->m_CharHeight = h; in TwGenerateFont()
146 TexFont->m_TexBytes = new unsigned char[TexFont->m_TexWidth * TexFont->m_TexHeight]; in TwGenerateFont()
147 memset(TexFont->m_TexBytes, 0, TexFont->m_TexWidth * TexFont->m_TexHeight); in TwGenerateFont()
180 TexFont->m_CharU0[ch + 32] = (float(xx) + du) / float(TexFont->m_TexWidth); in TwGenerateFont()
182 TexFont->m_CharU1[ch + 32] = (float(xx) + du) / float(TexFont->m_TexWidth); in TwGenerateFont()
192 TexFont->m_CharU0[ch] = TexFont->m_CharU0[Undef]; in TwGenerateFont()
193 TexFont->m_CharU1[ch] = TexFont->m_CharU1[Undef]; in TwGenerateFont()
194 TexFont->m_CharV0[ch] = TexFont->m_CharV0[Undef]; in TwGenerateFont()
195 TexFont->m_CharV1[ch] = TexFont->m_CharV1[Undef]; in TwGenerateFont()
196 TexFont->m_CharWidth[ch] = TexFont->m_CharWidth[Undef] / 2; in TwGenerateFont()
[all …]
/dports/astro/openuniverse/openuniverse-1.0beta3/src/
H A Dtexfont.h53 } TexFont; typedef
57 extern TexFont *txfLoadFont(char *filename);
59 extern void txfUnloadFont(TexFont * txf);
61 extern GLuint txfEstablishTexture(TexFont * txf,
64 extern void txfBindFontTexture(TexFont * txf);
66 extern void txfGetStringMetrics(TexFont * txf,
72 extern void txfRenderGlyph(TexFont * txf, int c);
74 extern void txfRenderString(TexFont * txf, char *string, int len);
76 extern void txfRenderFancyString(TexFont * txf, char *string, int len);
H A Dtexfont.cpp69 static TexGlyphVertexInfo *getTCVI(TexFont * txf, int c) in getTCVI()
107 TexFont *txfLoadFont(char *filename) in txfLoadFont()
109 TexFont *txf; in txfLoadFont()
127 txf = (TexFont *) malloc(sizeof(TexFont)); in txfLoadFont()
409 void txfBindFontTexture(TexFont * txf) in txfBindFontTexture()
418 void txfUnloadFont(TexFont * txf) in txfUnloadFont()
430 txfGetStringMetrics(TexFont * txf, in txfGetStringMetrics()
464 void txfRenderGlyph(TexFont * txf, int c) in txfRenderGlyph()
482 void txfRenderString(TexFont * txf, char *string, int len) in txfRenderString()
495 void txfRenderFancyString(TexFont * txf, char *string, int len) in txfRenderFancyString()
[all …]
H A Dou.h103 extern TexFont *txf;
/dports/astro/opencpn/OpenCPN-5.2.4/src/
H A DTexFont.cpp43 TexFont *GetTexFont(wxFont *pFont)
46 TexFont *f_cache;
64 TexFont::TexFont( ) in TexFont() function in TexFont
72 TexFont::~TexFont( ) in ~TexFont()
78 void TexFont::Build( wxFont &font, bool blur ) in Build()
209 void TexFont::Delete( ) in Delete()
218 void TexFont::GetTextExtent(const char *string, int *width, int *height) in GetTextExtent()
244 void TexFont::GetTextExtent(const wxString &string, int *width, int *height) in GetTextExtent()
249 void TexFont::RenderGlyph( int c ) in RenderGlyph()
382 void TexFont::RenderString( const char *string, int x, int y ) in RenderString()
[all …]
H A DDepthFont.cpp43 TexFont *GetTexFont(wxFont *pFont)
46 TexFont *f_cache;
/dports/astro/opencpn/OpenCPN-5.2.4/plugins/grib_pi/src/
H A Dpi_TexFont.cpp44 TexFont::TexFont( ) in TexFont() function in TexFont
51 TexFont::~TexFont( ) in ~TexFont()
57 void TexFont::Build( wxFont &font, bool blur ) in Build()
189 void TexFont::Delete( ) in Delete()
197 void TexFont::GetTextExtent(const char *string, int *width, int *height) in GetTextExtent()
223 void TexFont::GetTextExtent(const wxString &string, int *width, int *height) in GetTextExtent()
228 void TexFont::RenderGlyph( int c ) in RenderGlyph()
352 void TexFont::RenderString( const char *string, int x, int y ) in RenderString()
406 void TexFont::RenderString( const wxString &string, int x, int y ) in RenderString()
H A Dpi_TexFont.h52 class DECL_EXP TexFont {
54 TexFont();
55 ~TexFont();
H A DIsoLine.h105 class TexFont; variable
122 wxString label, wxColour &color, TexFont &texfont);
H A Dpi_ocpndc.h148 TexFont m_texfont;
/dports/astro/opencpn/OpenCPN-5.2.4/plugins/wmm_pi/src/
H A Dpi_TexFont.cpp42 TexFont::TexFont( ) in TexFont() function in TexFont
49 TexFont::~TexFont( ) in ~TexFont()
55 void TexFont::Build( wxFont &font, bool blur ) in Build()
186 void TexFont::Delete( ) in Delete()
194 void TexFont::GetTextExtent(const char *string, int *width, int *height) in GetTextExtent()
220 void TexFont::GetTextExtent(const wxString &string, int *width, int *height) in GetTextExtent()
225 void TexFont::RenderGlyph( int c ) in RenderGlyph()
345 void TexFont::RenderString( const char *string, int x, int y ) in RenderString()
399 void TexFont::RenderString( const wxString &string, int x, int y ) in RenderString()
H A Dpi_TexFont.h52 class DECL_EXP TexFont {
54 TexFont();
55 ~TexFont();
H A DMagneticPlotMap.h121 TexFont m_TexFont;
H A Dpi_ocpndc.h149 TexFont m_texfont;
/dports/astro/opencpn/OpenCPN-5.2.4/include/
H A DTexFont.h45 class TexFont {
47 TexFont();
48 ~TexFont();
79 TexFont *GetTexFont(wxFont *key);
H A Docpndc.h147 TexFont m_texfont;
H A Ds52plib.h67 class TexFont; variable
428 TexFont *m_txf;
/dports/cad/leocad/leocad-21.06/common/
H A Dtexfont.cpp92 TexFont gTexFont;
94 TexFont::TexFont() in TexFont() function in TexFont
100 bool TexFont::Initialize(lcContext* Context) in Initialize()
151 void TexFont::Reset() in Reset()
156 void TexFont::GetStringDimensions(int* cx, int* cy, const char* Text) const in GetStringDimensions()
168 void TexFont::PrintText(lcContext* Context, float Left, float Top, float Z, const char* Text) const in PrintText()
230 void TexFont::GetTriangles(const lcMatrix44& Transform, const char* Text, float* Buffer) const in GetTriangles()
300 void TexFont::GetGlyphTriangles(float Left, float Top, float Z, int Glyph, float* Buffer) const in GetGlyphTriangles()
H A Dtexfont.h3 class TexFont
6 TexFont();
39 extern TexFont gTexFont;
/dports/games/scourge/scourge/src/
H A Dtext.h60 struct TexFont { struct
100 TexFont *txf;
112 TexFont *txfLoadFont( std::string& filename );
H A Dtext.cpp51 TexFont *TexturedText::txfLoadFont( string& filename ) { in txfLoadFont()
52 TexFont *txf = NULL; in txfLoadFont()
66 txf = new TexFont; in txfLoadFont()
/dports/games/scourge/scourge/
H A DREADME56 see: http://www.opengl.org/developers/code/mjktips/TexFont/TexFont.html
/dports/astro/opencpn/OpenCPN-5.2.4/po/
H A DPOTFILES.in101 include/TexFont.h
206 src/TexFont.cpp

12