diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-25 12:25:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-25 12:25:06 +0900 |
commit | a09a6bc05e3f64c27e7c84dd768c7720fdf41136 (patch) | |
tree | fe5a644a42056c012132e5bbc57f3ce1ba40d5c2 /src/kernel/qfontengine_p.h | |
parent | bba3e1fa3870a23f1cf0b5d1143ffd646ac797a4 (diff) | |
download | tqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.tar.gz tqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.zip |
Remove documentation for QWS classes and Qt/Embedded
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qfontengine_p.h')
-rw-r--r-- | src/kernel/qfontengine_p.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/src/kernel/qfontengine_p.h b/src/kernel/qfontengine_p.h index 9e3c31261..7d0db28c1 100644 --- a/src/kernel/qfontengine_p.h +++ b/src/kernel/qfontengine_p.h @@ -80,9 +80,6 @@ public: // Apple MacOS types Mac, - - // Trolltech TQWS types - TQWS }; TQFontEngine() { @@ -162,71 +159,6 @@ public: TransformedFont *transformed_fonts; #endif }; -#elif defined( TQ_WS_QWS ) -class TQGfx; - -class TQFontEngine : public TQShared -{ -public: - TQFontEngine( const TQFontDef&, const TQPaintDevice * = 0 ); - ~TQFontEngine(); - /*TQMemoryManager::FontID*/ void *handle() const; - - enum Type { - // X11 types - Box, - XLFD, - Xft, - - // MS Windows types - Win, - Uniscribe, - - // Apple MacOS types - Mac, - - // Trolltech TQWS types - Qws - }; - - enum TextFlags { - Underline = 0x01, - Overline = 0x02, - StrikeOut = 0x04 - }; - - enum Error { - NoError, - OutOfMemory - }; - /* returns 0 as glyph index for non existant glyphs */ - Error stringToCMap( const TQChar *str, int len, glyph_t *glyphs, advance_t *advances, int *nglyphs, bool mirrored ) const; - - void draw( TQPainter *p, int x, int y, const TQTextEngine *engine, const TQScriptItem *si, int textFlags ); - - glyph_metrics_t boundingBox( const glyph_t *glyphs, - const advance_t *advances, const qoffset_t *offsets, int numGlyphs ); - glyph_metrics_t boundingBox( glyph_t glyph ); - - int ascent() const; - int descent() const; - int leading() const; - int maxCharWidth() const; - int minLeftBearing() const; - int minRightBearing() const; - int underlinePosition() const; - int lineThickness() const; - - Type type() { return Qws; } - - bool canRender( const TQChar *string, int len ); - inline const char *name() const { return 0; } - TQFontDef fontDef; - /*TQMemoryManager::FontID*/ void *id; - int cache_cost; - int cache_count; - int scale; -}; #endif // WIN || X11 || MAC |