Lines Matching defs:contents

1488     \fn myMetaFileProc(char *contents, unsigned int length, PWMF_CALLBACK_DATA lpData)
1490 \param contents binary contents of an WMF file
1491 \param length length in bytes of contents
1495 int Wmf::myMetaFileProc(const char *contents, unsigned int length, PWMF_CALLBACK_DATA d)
1504 const char *blimit = contents + length; // 1 byte past the end of the last record
1576 nSize = wmfheader_get(contents, blimit, &Placeable, &Header);
1601 nSize = U_WMRRECSAFE_get(contents + off, blimit);
1603 iType = *(uint8_t *)(contents + off + offsetof(U_METARECORD, iType ) );
1606 (void) U_WMRSETWINDOWEXT_get(contents + off, &Dst);
1688 contents += nSize; // pointer to the start of the next record
1693 nSize = U_WMRRECSAFE_get(contents, blimit);
1699 iType = *(uint8_t *)(contents + offsetof(U_METARECORD, iType ) );
1813 nSize = U_WMRSETBKCOLOR_get(contents, &tbkColor);
1823 nSize = U_WMRSETBKMODE_get(contents, &tbkMode);
1836 nSize = U_WMRSETMAPMODE_get(contents, &utmp16);
1862 nSize = U_WMRSETROP2_get(contents, &utmp16);
1870 nSize = U_WMRSETPOLYFILLMODE_get(contents, &utmp16);
1877 nSize = U_WMRSETSTRETCHBLTMODE_get(contents, &utmp16);
1885 nSize = U_WMRSETTEXTCOLOR_get(contents, &(d->dc[d->level].textColor));
1896 nSize = U_WMRSETWINDOWORG_get(contents, &d->dc[d->level].winorg);
1905 nSize = U_WMRSETWINDOWEXT_get(contents, &d->dc[d->level].sizeWnd);
1953 nSize = U_WMRSETVIEWPORTORG_get(contents, &d->dc[d->level].vieworg);
1960 nSize = U_WMRSETVIEWPORTEXT_get(contents, &d->dc[d->level].sizeView);
1997 nSize = U_WMRLINETO_get(contents, &pt16);
2008 nSize = U_WMRLINETO_get(contents, &pt16);
2023 nSize = U_WMREXCLUDECLIPRECT_get(contents, &rc);
2050 nSize = U_WMRINTERSECTCLIPRECT_get(contents, &rc);
2069 nSize = U_WMRARC_get(contents, &ArcStart, &ArcEnd, &rc);
2094 nSize = U_WMRELLIPSE_get(contents, &rc);
2122 nSize = U_WMRPIE_get(contents, &ArcStart, &ArcEnd, &rc);
2147 nSize = U_WMRRECTANGLE_get(contents, &rc);
2167 nSize = U_WMRROUNDRECT_get(contents, &Width, &Height, &rc);
2229 nSize = U_WMRPATBLT_get(contents, &Dst, &cwh, &dwRop3);
2260 nSize = U_WMROFFSETCLIPRGN_get(contents,&off);
2278 nSize = U_WMRBITBLT_get(contents,&Dst,&cwh,&Src,&dwRop3,&Bm16,&px);
2316 nSize = U_WMRSTRETCHBLT_get(contents,&Dst,&cDst,&Src,&cSrc,&dwRop3,&Bm16,&px);
2355 nSize = U_WMRPOLYGON_get(contents, &cPts, &points);
2379 nSize = U_WMRESCAPE_get(contents, &Escape, &elen, &text);
2414 nSize = U_WMRRESTOREDC_get(contents, &DC);
2443 nSize = U_WMRSELECTCLIPREGION_get(contents, &utmp16);
2452 nSize = U_WMRSELECTOBJECT_get(contents, &utmp16);
2483 nSize = U_WMRSETTEXTALIGN_get(contents, &(d->dc[d->level].textAlign));
2491 nSize = U_WMRCHORD_get(contents, &ArcStart, &ArcEnd, &rc);
2517 nSize = U_WMRTEXTOUT_get(contents, &Dst, &tlen, &text);
2522 nSize = U_WMREXTTEXTOUT_get(contents, &Dst, &tlen, &Opts, &text, &dx, &rc );
2668 nSize = U_WMRPOLYPOLYGON_get(contents, &nPolys, &aPolyCounts, &Points);
2715 nSize = U_WMRDIBBITBLT_get(contents, &Dst, &cwh, &Src, &dwRop3, &dib);
2760 nSize = U_WMRDIBSTRETCHBLT_get(contents, &Dst, &cDst, &Src, &cSrc, &dwRop3, &dib);
2780 insert_object(d, U_WMR_DIBCREATEPATTERNBRUSH, contents);
2786 nSize = U_WMRSTRETCHDIB_get(contents, &Dst, &cDst, &Src, &cSrc, &cUsage, &dwRop3, &dib);
2984 nSize = U_WMRDELETEOBJECT_get(contents, &utmp16);
3001 insert_object(d, U_WMR_CREATEPALETTE, contents);
3008 insert_object(d, U_WMR_CREATEPATTERNBRUSH, contents);
3014 insert_object(d, U_WMR_CREATEPENINDIRECT, contents);
3020 insert_object(d, U_WMR_CREATEFONTINDIRECT, contents);
3026 insert_object(d, U_WMR_CREATEBRUSHINDIRECT, contents);
3032 insert_object(d, U_WMR_CREATEBITMAPINDIRECT, contents);
3038 insert_object(d, U_WMR_CREATEBITMAP, contents);
3044 insert_object(d, U_WMR_CREATEREGION, contents);
3130 char *contents;
3131 if(wmf_readdata(uri, &contents, &length))return(NULL);
3139 int good = myMetaFileProc(contents,length, &d);
3140 free(contents);