#include "scbstream.h"

Go to the source code of this file.
Data Structures | |
| struct | _ScbPoint |
| struct | _ScbDevPoint |
Typedefs | |
| typedef struct _ScbPoint | ScbPoint |
| typedef ScbPoint * | ScbPointPtr |
| typedef struct _ScbDevPoint | ScbDevPoint |
| typedef ScbDevPoint * | ScbDevPointPtr |
Functions | |
| void | erscribble_point_dump (const ScbPointPtr p) |
| gboolean | erscribble_point_load (ScbDevPointPtr point, ScbStreamPtr stream) |
| typedef struct _ScbDevPoint ScbDevPoint |
| typedef ScbDevPoint* ScbDevPointPtr |
Definition at line 82 of file scbpoint.h.
| typedef ScbPoint* ScbPointPtr |
Definition at line 73 of file scbpoint.h.
| void erscribble_point_dump | ( | const ScbPointPtr | p | ) |
Definition at line 77 of file scbpoint.c.
References DUMPPRINTF, ERSCRIBBLE_RET_IF, _ScbPoint::x, and _ScbPoint::y.
00078 { 00079 ERSCRIBBLE_RET_IF(p == NULL, "NULL pointer!"); 00080 DUMPPRINTF("(%d, %d)", p->x, p->y); 00081 }
| gboolean erscribble_point_load | ( | ScbDevPointPtr | point, | |
| ScbStreamPtr | stream | |||
| ) |
Definition at line 69 of file scbpoint.c.
References erscribble_read_stream(), and ERSCRIBBLE_RET_FALSE_IF.
Referenced by erscribble_stroke_load().
00070 { 00071 ERSCRIBBLE_RET_FALSE_IF(NULL == point || NULL == stream, "Invalid point or stream!"); 00072 00073 return erscribble_read_stream(stream, point, sizeof(ScbDevPoint)); 00074 }


1.6.2-20100208