liberscribble/include/scbconfig.h File Reference

#include <stdio.h>

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

Go to the source code of this file.

Classes

struct  _ScbFastDrawParam

Defines

#define SCB_LIB_VERSION   "1.1"
#define SCB_LIB_ORG   "iRex Technologies"
#define SCB_DEF_SCREEN_UNITS   "px"
#define SCB_DEF_SCREEN_DPI   160
#define SCB_RET_OK   1
#define SCB_RET_ERR   0
#define SCB_INVALID_COUNT   -1
#define SCB_DEF_STROKE_POINTSIZE   40
#define SCB_DEF_STROKE_LAYER   0
#define SCB_DEF_STROKE_LINESTYLE   SCB_LINE_SOLID
#define SCB_DEF_STROKE_PENSIZE   3
#define SCB_DEF_FAST_DRAW_COUNT   10
#define SCB_DEF_FAST_DRAW_TIME   100 * 100
#define SCB_DEF_FAST_DRAW_BUF_LEN   25
#define SCB_MAX_PAGEID_LEN   256
#define SCB_DEF_PAGE_LEFT   0
#define SCB_DEF_PAGE_TOP   0
#define SCB_DEF_PAGE_RIGHT   768
#define SCB_DEF_PAGE_BOTTOM   1024
#define SCB_MAX_PATH   1024
#define SCB_MAX_XML_PATH   256
#define SCB_MAX_COLOR_LEN   8
#define SCB_DEF_ERASE_SIZE   1
#define SCB_DEF_CMD_ACT_SIZE   10

Typedefs

typedef struct _ScbFastDrawParam ScbFastDrawParam
typedef ScbFastDrawParamScbFastDrawParamPtr

Functions

void scb_cfg_init_fast_draw_param ()
void scb_cfg_set_fast_draw_param (ScbFastDrawParamPtr ptr)
void scb_cfg_get_fast_draw_param (ScbFastDrawParamPtr ptr)


Define Documentation

#define SCB_DEF_CMD_ACT_SIZE   10

Definition at line 71 of file scbconfig.h.

#define SCB_DEF_ERASE_SIZE   1

Definition at line 69 of file scbconfig.h.

#define SCB_DEF_FAST_DRAW_BUF_LEN   25

Definition at line 50 of file scbconfig.h.

#define SCB_DEF_FAST_DRAW_COUNT   10

Definition at line 48 of file scbconfig.h.

#define SCB_DEF_FAST_DRAW_TIME   100 * 100

Definition at line 49 of file scbconfig.h.

#define SCB_DEF_PAGE_BOTTOM   1024

Definition at line 57 of file scbconfig.h.

#define SCB_DEF_PAGE_LEFT   0

Definition at line 54 of file scbconfig.h.

#define SCB_DEF_PAGE_RIGHT   768

Definition at line 56 of file scbconfig.h.

#define SCB_DEF_PAGE_TOP   0

Definition at line 55 of file scbconfig.h.

#define SCB_DEF_SCREEN_DPI   160

Definition at line 34 of file scbconfig.h.

#define SCB_DEF_SCREEN_UNITS   "px"

Definition at line 33 of file scbconfig.h.

#define SCB_DEF_STROKE_LAYER   0

Definition at line 43 of file scbconfig.h.

#define SCB_DEF_STROKE_LINESTYLE   SCB_LINE_SOLID

Definition at line 44 of file scbconfig.h.

#define SCB_DEF_STROKE_PENSIZE   3

Definition at line 45 of file scbconfig.h.

#define SCB_DEF_STROKE_POINTSIZE   40

Definition at line 42 of file scbconfig.h.

#define SCB_INVALID_COUNT   -1

Definition at line 39 of file scbconfig.h.

#define SCB_LIB_ORG   "iRex Technologies"

Definition at line 31 of file scbconfig.h.

#define SCB_LIB_VERSION   "1.1"

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

Definition at line 30 of file scbconfig.h.

#define SCB_MAX_COLOR_LEN   8

Definition at line 66 of file scbconfig.h.

#define SCB_MAX_PAGEID_LEN   256

Definition at line 53 of file scbconfig.h.

#define SCB_MAX_PATH   1024

Definition at line 60 of file scbconfig.h.

#define SCB_MAX_XML_PATH   256

Definition at line 63 of file scbconfig.h.

#define SCB_RET_ERR   0

Definition at line 38 of file scbconfig.h.

#define SCB_RET_OK   1

Definition at line 37 of file scbconfig.h.


Typedef Documentation

Definition at line 85 of file scbconfig.h.


Function Documentation

void scb_cfg_get_fast_draw_param ( ScbFastDrawParamPtr  ptr  ) 

Definition at line 43 of file scbconfig.c.

00044 {
00045     if (ptr)
00046     {
00047         ptr->time  = s_fast_draw_param.time;
00048         ptr->count = s_fast_draw_param.count;
00049     }
00050 }

void scb_cfg_init_fast_draw_param (  ) 

Definition at line 28 of file scbconfig.c.

void scb_cfg_set_fast_draw_param ( ScbFastDrawParamPtr  ptr  ) 

Definition at line 34 of file scbconfig.c.

00035 {
00036     if (ptr)
00037     {
00038         s_fast_draw_param.time  = ptr->time;
00039         s_fast_draw_param.count = ptr->count;
00040     }
00041 }


Generated on Sun Dec 14 17:14:59 2008 by  doxygen 1.5.6