drawTextEntity.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------*/
00002 /* file: drawTextEntity.h                                                 */
00003 /* Copyright INRIA 2006                                                   */
00004 /* Authors : Jean-Baptiste Silvy                                          */
00005 /* desc : Contains functions needed to draw a text handle                 */
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 /* _DRAW_TEXT_HANDLE_H_ */

Generated on Sun Mar 4 15:03:52 2007 for Scilab [trunk] by  doxygen 1.5.1