diff options
author | scuri <scuri> | 2008-10-17 06:10:33 +0000 |
---|---|---|
committer | scuri <scuri> | 2008-10-17 06:10:33 +0000 |
commit | 7b52cc13af4e85f1ca2deb6b6c77de9c95ea0dcf (patch) | |
tree | d0857278bde2eff784227c57dcaf930346ceb7ac /src/intcgm/bparse.h |
First commit - moving from LuaForge to SourceForge
Diffstat (limited to 'src/intcgm/bparse.h')
-rw-r--r-- | src/intcgm/bparse.h | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/src/intcgm/bparse.h b/src/intcgm/bparse.h new file mode 100644 index 0000000..1b86fee --- /dev/null +++ b/src/intcgm/bparse.h @@ -0,0 +1,117 @@ +#ifndef _BPARSE_H_ +#define _BPARSE_H_ + +typedef int(*_cdcgmsizecb)(cdCanvas* canvas, int w, int h, double w_mm, double h_mm); +typedef int(*_cdcgmbegmtfcb)(cdCanvas* canvas, int *xmin, int *ymin, int *xmax, int *ymax); +typedef int(*_cdcgmcountercb)(cdCanvas* canvas, double size); +typedef int(*_cdcgmsclmdecb)(cdCanvas* canvas, short scl_mde, short *drw_mode, double *factor); +typedef int(*_cdcgmvdcextcb)(cdCanvas* canvas, short type, double *xmn, double *ymn, double *xmx, double *ymx); +typedef int(*_cdcgmbegpictcb)(cdCanvas* canvas , char *pict ); +typedef int(*_cdcgmbegpictbcb)(cdCanvas* canvas, double scale_x, double scale_y, + double vdc_x2pix, double vdc_y2pix, + double vdc_x2mm, double vdc_y2mm, int drw_mode, + double xmin, double ymin, double xmax, double ymax); + +extern _cdcgmsizecb cdcgmsizecb; +extern _cdcgmbegmtfcb cdcgmbegmtfcb; +extern _cdcgmcountercb cdcgmcountercb; +extern _cdcgmsclmdecb cdcgmsclmdecb; +extern _cdcgmvdcextcb cdcgmvdcextcb; +extern _cdcgmbegpictcb cdcgmbegpictcb; +extern _cdcgmbegpictbcb cdcgmbegpictbcb; + +int cgmb_noop ( void ); +int cgmb_begmtf ( void ); +int cgmb_endmtf ( void ); +int cgmb_begpic ( void ); +int cgmb_begpib ( void ); +int cgmb_endpic ( void ); +int cgmb_mtfver ( void ); +int cgmb_mtfdsc ( void ); +int cgmb_vdctyp ( void ); +int cgmb_intpre ( void ); +int cgmb_realpr ( void ); +int cgmb_indpre ( void ); +int cgmb_colpre ( void ); +int cgmb_colipr ( void ); +int cgmb_maxcoi ( void ); +int cgmb_covaex ( void ); +int cgmb_mtfell ( void ); +int cgmb_bmtfdf ( void ); +int cgmb_fntlst ( void ); +int cgmb_chslst ( void ); +int cgmb_chcdac ( void ); +int cgmb_sclmde ( void ); +int cgmb_clslmd ( void ); +int cgmb_lnwdmd ( void ); +int cgmb_mkszmd ( void ); +int cgmb_edwdmd ( void ); +int cgmb_vdcext ( void ); +int cgmb_bckcol ( void ); +int cgmb_vdcipr ( void ); +int cgmb_vdcrpr ( void ); +int cgmb_auxcol ( void ); +int cgmb_transp ( void ); +int cgmb_clprec ( void ); +int cgmb_clpind ( void ); +int cgmb_polyln ( void ); +int cgmb_djtply ( void ); +int cgmb_polymk ( void ); +int cgmb_text ( void ); +int cgmb_rsttxt ( void ); +int cgmb_apdtxt ( void ); +int cgmb_polygn ( void ); +int cgmb_plgset ( void ); +int cgmb_cellar ( void ); +int cgm_generalized_drawing_primitive_4 ( void ); +int cgm_generalized_drawing_primitive_5 ( void ); +int cgmb_gdp ( void ); +int cgmb_rect ( void ); +int cgmb_circle ( void ); +int cgmb_circ3p ( void ); +int cgmb_cir3pc ( void ); +int cgmb_circnt ( void ); +int cgmb_ccntcl ( void ); +int cgmb_ellips ( void ); +int cgmb_ellarc ( void ); +int cgmb_ellacl ( void ); +int cgmb_lnbdin ( void ); +int cgmb_lntype ( void ); +int cgmb_lnwidt ( void ); +int cgmb_lncolr ( void ); +int cgmb_mkbdin ( void ); +int cgmb_mktype ( void ); +int cgmb_mksize ( void ); +int cgmb_mkcolr ( void ); +int cgmb_txbdin ( void ); +int cgmb_txftin ( void ); +int cgmb_txtprc ( void ); +int cgmb_chrexp ( void ); +int cgmb_chrspc ( void ); +int cgmb_txtclr ( void ); +int cgmb_chrhgt ( void ); +int cgmb_chrori ( void ); +int cgmb_txtpat ( void ); +int cgmb_txtali ( void ); +int cgmb_chseti ( void ); +int cgmb_achsti ( void ); +int cgmb_fillin ( void ); +int cgmb_intsty ( void ); +int cgmb_fillco ( void ); +int cgmb_hatind ( void ); +int cgmb_patind ( void ); +int cgmb_edgind ( void ); +int cgmb_edgtyp ( void ); +int cgmb_edgwid ( void ); +int cgmb_edgcol ( void ); +int cgmb_edgvis ( void ); +int cgmb_fillrf ( void ); +int cgmb_pattab ( void ); +int cgmb_messag ( void ); +int cgmb_appdta ( void ); +int cgmb_patsiz ( void ); +int cgmb_coltab ( void ); +int cgmb_asf ( void ); +int cgmb_escape ( void ); + +#endif |