~vcs-imports/libwmf/main

« back to all changes in this revision

Viewing changes to wmfapi.h

  • Committer: mvermeer
  • Date: 2000-10-09 13:38:12 UTC
  • Revision ID: Arch-1:libwmf@bazaar.ubuntu.com%libwmf--MAIN--0--patch-28

Committing the changes made by Fr�d�ric Vivien before the weekend.
His summary (edited MV):

- Correction of bug in xf_draw_polygon.

- Now setlinestyle handle style_val, cap_style, and join_style (passed
as pointers). All the calls to setlinestyle are updated and cleaned
most (all ?) of the xf_draw_(something using a polyline).

- The META_STRETCHDIB is now processed by wmftofig. This is one of the
four functions handling bitmaps in wmf... and the one I have examples
of use.

- cleaned up the META_STRETCHDIB code, for example by no more
computing 5 times the same ratio, and ... to avoid rounding-up.

And finally: the problem file cell.wmf! Fr�d�ric gave permission
to include it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
497
497
int iNormY(float in,CSTRUCT *cstruct);
498
498
int ScaleY(S16 in,CSTRUCT *cstruct);
499
499
float fScaleY(float in, CSTRUCT *cstruct);
 
500
float fScaleiY(int in, CSTRUCT *cstruct);
500
501
int iScaleY(float in, CSTRUCT *cstruct);
501
502
int NormX(S16 in,CSTRUCT *cstruct);
502
503
float fNormX(float in,CSTRUCT *cstruct);
503
504
int iNormX(float in,CSTRUCT *cstruct);
504
505
int ScaleX(S16 in,CSTRUCT *cstruct);
505
506
float fScaleX(float in, CSTRUCT *cstruct);
 
507
float fScaleiX(int in, CSTRUCT *cstruct);
506
508
int iScaleX(float in, CSTRUCT *cstruct);
507
509
float floatabs(float in);
508
510
U16 AldusChecksum(PLACEABLEMETAHEADER *pmh);
514
516
void wmfinit(CSTRUCT *cstruct);
515
517
 
516
518
void parseROP(CSTRUCT *cstruct,U32 dwROP,U16 x, U16 y, U16 width, U16 height);
517
 
int PlayMetaFile(void *,HMETAFILE file);
 
519
int PlayMetaFile(void *,HMETAFILE file,int hard_convert,char *prefix);
518
520
WMFHEAD *GetRealMetaFile(FILE *filein);
519
521
void do_pixeling(CSTRUCT *cstruct, HMETAFILE file);
520
522
 
521
523
 
522
524
 
523
525
void wmfdebug(FILE *stream,char *fmt, ...);
 
526
char* auxname(char * prefix);
524
527
 
525
528
/* 
526
529
Here the pointer list is defined to the functions that should