00001
00002
00003
00004
00005
00006
00007
00008 #ifndef _DRAW_TEXT_ENTITY_H_
00009 #define _DRAW_TEXT_ENTITY_H_
00010
00011 #include "ObjectStructure.h"
00012 #include "StringMatrix.h"
00013 #include "Vect2Matrix.h"
00014
00019 int drawTextEntity( sciPointObj * pObj ) ;
00020
00033 void drawStringsInPosition( StringMatrix * strings ,
00034 Vect2iMatrix * cellsArray ,
00035 int center[2] ,
00036 double angle ,
00037 sciTextAlignment align ) ;
00038
00048 void drawStringInCell( char * string ,
00049 int blCorner[2] ,
00050 int urCorner[2] ,
00051 int rotCenter[2],
00052 double angle ,
00053 sciTextAlignment align ) ;
00054
00065 void getStringMargins( int stringSize[2],
00066 int blCorner[2] ,
00067 int urCorner[2] ,
00068 sciTextAlignment align ,
00069 int * lMargin ,
00070 int * bMargin ) ;
00071
00072
00073
00074 #endif