00001
00002
00003
00004
00005
00006 #ifndef __XYMULTIRASTERTEXT_H
00007 #define __XYMULTIRASTERTEXT_H
00008
00009 #include "xyrtext.h"
00010
00011
00012
00013
00014 class XYMultiRasterText : public XYRasterText
00015 {
00016 public:
00017
00018
00019
00020 XYMultiRasterText (const char* text,
00021
00022 XYCoordinate x,
00023 XYCoordinate y,
00024 long color,
00025 int size,
00026 Typeface font,
00027 Style style,
00028 Alignment alignment,
00029 Orientation orientation,
00030 xybool underline = xyfalse,
00031 xybool visible = xytrue);
00032
00033
00034 XYMultiRasterText (const char* text,
00035
00036 XYCoordinate x,
00037 XYCoordinate y,
00038 xybool visible = xytrue);
00039
00040
00041 XYMultiRasterText (
00042 const char* text,
00043 long color,
00044 int size,
00045 Typeface font,
00046 Style style,
00047 Alignment alignment,
00048 Orientation orientation,
00049 xybool underline = xyfalse,
00050 xybool visible = xytrue);
00051
00052
00053 XYMultiRasterText (long color,
00054 int size,
00055 Typeface font,
00056 Style style,
00057 Alignment alignment,
00058 Orientation orientation,
00059 xybool underline = xyfalse,
00060 xybool visible = xytrue);
00061
00062
00063 virtual void text (const char* s);
00064
00065 virtual char* text (void) const;
00066
00067
00068
00069 virtual void draw (void);
00070
00071 virtual void draw (int xmin, int ymin, int xmax, int ymax) const;
00072
00073
00074
00075 virtual void boundingBox (int& bxmin, int& bymin, int& bxmax, int& bymax) const;
00076
00077 private:
00078
00079 virtual void splitText();
00080
00081 char **_mtexts;
00082 int _ntexts;
00083
00084 };
00085 #endif
00086