liberscribble/include/scbtype.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ScbRect

Typedefs

typedef enum _ScbLineStyle ScbLineStyle
typedef struct _ScbRect ScbRect
typedef ScbRectScbRectPtr

Enumerations

enum  _ScbLineStyle { SCB_LINE_SOLID, SCB_LINE_INVALID }

Functions

const char * scb_line_style_to_str (const ScbLineStyle style)
ScbLineStyle scb_line_style_from_str (const char *str)


Typedef Documentation

Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.

typedef struct _ScbRect ScbRect

typedef ScbRect* ScbRectPtr

Definition at line 50 of file scbtype.h.


Enumeration Type Documentation

Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.

Enumerator:
SCB_LINE_SOLID 
SCB_LINE_INVALID 

Definition at line 36 of file scbtype.h.

00037 {
00038     SCB_LINE_SOLID,
00039     SCB_LINE_INVALID,
00040 }ScbLineStyle;


Function Documentation

ScbLineStyle scb_line_style_from_str ( const char *  str  ) 

Definition at line 79 of file scbstroke.c.

00080 {
00081     int i;
00082     for(i = 0; i < LineTabSize; ++i)
00083     {
00084         if (0 == strcasecmp(str, _Tab[i].name))
00085         {
00086             return _Tab[i].style;
00087         }
00088     }
00089     return SCB_LINE_INVALID;
00090 }

const char* scb_line_style_to_str ( const ScbLineStyle  style  ) 

Definition at line 66 of file scbstroke.c.

00067 {
00068     int i;
00069     for(i = 0; i < LineTabSize; ++i)
00070     {
00071         if (style == _Tab[i].style)
00072         {
00073             return _Tab[i].name;
00074         }
00075     }
00076     return NULL;
00077 }


Generated on Sun Dec 14 17:15:05 2008 by  doxygen 1.5.6