Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

MyQPainter.h

00001 #include "FTFont.h"
00002 #ifndef MYQPAINTER_H
00003 #define MYQPAINTER_H
00004 #include <qpainter.h>
00005 #include <qfont.h>
00006 #include <qwidget.h>
00007 #include <qimage.h>
00008 #include <ft2build.h>
00009 #include FT_FREETYPE_H
00010 
00014 class MyQPainter:public QPainter
00015 {
00016   // FT_Library library;
00017   //   FT_Face face;
00018   //  QRgb colortable[256];
00019   int previousWidth;
00020   int previousY;
00021   FTFont *ff;
00022   //  FT_GlyphSlot slot;
00023 public:
00024     MyQPainter (QPaintDevice *);
00025   void drawFTSymbol (int nglyph, int xpos, int ypos);
00026   void drawNoteLine (int xpos, int ypos, int height);
00027   int getPreviousWidth ();
00028   int getPreviousY ();
00029   int getFTSize ();
00030   //  void setFTFontSize(int);
00031   //  QImage getImage(int symbol);
00032   //  QPoint getFTOrg(int );
00033 
00034 };
00035 #endif

Generated on Tue Jun 1 21:13:29 2004 for Alternate Take by doxygen 1.3.6