Lines Matching defs:contents

653    void core3_print(const char *name, const char *label, const char *contents)
654 void core7_print(const char *name, const char *field1, const char *field2, const char *contents)
655 void core8_print(const char *name, const char *contents, int type)
662 void core1_print(const char *name, const char *contents){
665 PU_EMRPOLYLINETO pEmr = (PU_EMRPOLYLINETO) (contents);
670 const char *blimit = contents + pEmr->emr.nSize;
682 void core2_print(const char *name, const char *contents){
685 PU_EMRPOLYPOLYGON pEmr = (PU_EMRPOLYPOLYGON) (contents);
690 const char *blimit = contents + pEmr->emr.nSize;
711 void core3_print(const char *name, const char *label, const char *contents){
714 PU_EMRSETMAPMODE pEmr = (PU_EMRSETMAPMODE)(contents);
731 void core4_print(const char *name, const char *contents){
733 PU_EMRELLIPSE pEmr = (PU_EMRELLIPSE)( contents);
742 void core6_print(const char *name, const char *contents){
745 PU_EMRPOLYBEZIER16 pEmr = (PU_EMRPOLYBEZIER16) (contents);
750 const char *blimit = contents + pEmr->emr.nSize;
767 void core7_print(const char *name, const char *field1, const char *field2, const char *contents){
769 PU_EMRGENERICPAIR pEmr = (PU_EMRGENERICPAIR) (contents);
784 void core8_print(const char *name, const char *contents, int type){
786 PU_EMREXTTEXTOUTA pEmr = (PU_EMREXTTEXTOUTA) (contents);
787 const char *blimit = contents + pEmr->emr.nSize;
793 emrtext_print(contents + sizeof(U_EMREXTTEXTOUTA) - sizeof(U_EMRTEXT),contents,blimit,type);
798 void core9_print(const char *name, const char *contents){
800 PU_EMRARC pEmr = (PU_EMRARC) (contents);
811 void core10_print(const char *name, const char *contents){
814 PU_EMRPOLYPOLYLINE16 pEmr = (PU_EMRPOLYPOLYLINE16) (contents);
819 const char *blimit = contents + pEmr->emr.nSize;
840 void core11_print(const char *name, const char *contents){
842 PU_EMRINVERTRGN pEmr = (PU_EMRINVERTRGN) (contents);
847 const char *blimit = contents + pEmr->emr.nSize;
858 void core12_print(const char *name, const char *contents){
860 PU_EMRCREATEMONOBRUSH pEmr = (PU_EMRCREATEMONOBRUSH) (contents);
865 const char *blimit = contents + pEmr->emr.nSize;
872 bitmapinfo_print(contents + pEmr->offBmi, blimit);
880 void core13_print(const char *name, const char *contents){
882 PU_EMRALPHABLEND pEmr = (PU_EMRALPHABLEND) (contents);
887 const char *blimit = contents + pEmr->emr.nSize;
900 bitmapinfo_print(contents + pEmr->offBmiSrc, blimit);
917 \param contents pointer to a buffer holding all EMR records
919 void U_EMRNOTIMPLEMENTED_print(const char *name, const char *contents){
921 UNUSED(contents);
928 \param contents pointer to a buffer holding all EMR records
930 void U_EMRHEADER_print(const char *contents){
934 PU_EMRHEADER pEmr = (PU_EMRHEADER)(contents);
939 const char *blimit = contents + pEmr->emr.nSize;
951 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, pEmr->offDescription + pEmr->nDescription*2*sizeof(char), blimit);
970 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, pEmr->offPixelFormat + sizeof(U_PIXELFORMATDESCRIPTOR), blimit);
971 pixelformatdescriptor_print( *(PU_PIXELFORMATDESCRIPTOR) (contents + pEmr->offPixelFormat));
987 \param contents pointer to a buffer holding all EMR records
989 void U_EMRPOLYBEZIER_print(const char *contents){
990 core1_print("U_EMRPOLYBEZIER", contents);
996 \param contents pointer to a buffer holding all EMR records
998 void U_EMRPOLYGON_print(const char *contents){
999 core1_print("U_EMRPOLYGON", contents);
1006 \param contents pointer to a buffer holding all EMR records
1008 void U_EMRPOLYLINE_print(const char *contents){
1009 core1_print("U_EMRPOLYLINE", contents);
1015 \param contents pointer to a buffer holding all EMR records
1017 void U_EMRPOLYBEZIERTO_print(const char *contents){
1018 core1_print("U_EMRPOLYBEZIERTO", contents);
1024 \param contents pointer to a buffer holding all EMR records
1026 void U_EMRPOLYLINETO_print(const char *contents){
1027 core1_print("U_EMRPOLYLINETO", contents);
1033 \param contents pointer to a buffer holding all EMR records
1035 void U_EMRPOLYPOLYLINE_print(const char *contents){
1036 core2_print("U_EMRPOLYPOLYLINE", contents);
1042 \param contents pointer to a buffer holding all EMR records
1044 void U_EMRPOLYPOLYGON_print(const char *contents){
1045 core2_print("U_EMRPOLYPOLYGON", contents);
1051 \param contents pointer to a buffer holding all EMR records
1053 void U_EMRSETWINDOWEXTEX_print(const char *contents){
1054 core7_print("U_EMRSETWINDOWEXTEX", "szlExtent:","",contents);
1060 \param contents pointer to a buffer holding all EMR records
1062 void U_EMRSETWINDOWORGEX_print(const char *contents){
1063 core7_print("U_EMRSETWINDOWORGEX", "ptlOrigin:","",contents);
1069 \param contents pointer to a buffer holding all EMR records
1071 void U_EMRSETVIEWPORTEXTEX_print(const char *contents){
1072 core7_print("U_EMRSETVIEWPORTEXTEX", "szlExtent:","",contents);
1078 \param contents pointer to a buffer holding all EMR records
1080 void U_EMRSETVIEWPORTORGEX_print(const char *contents){
1081 core7_print("U_EMRSETVIEWPORTORGEX", "ptlOrigin:","",contents);
1087 \param contents pointer to a buffer holding all EMR records
1089 void U_EMRSETBRUSHORGEX_print(const char *contents){
1090 core7_print("U_EMRSETBRUSHORGEX", "ptlOrigin:","",contents);
1096 \param contents pointer to a buffer holding all EMR records
1098 void U_EMREOF_print(const char *contents){
1099 PU_EMREOF pEmr = (PU_EMREOF)(contents);
1108 logpalette_print( (PU_LOGPALETTE)(contents + pEmr->offPalEntries));
1117 \param contents pointer to a buffer holding all EMR records
1119 void U_EMRSETPIXELV_print(const char *contents){
1120 PU_EMRSETPIXELV pEmr = (PU_EMRSETPIXELV)(contents);
1133 \param contents pointer to a buffer holding all EMR records
1135 void U_EMRSETMAPPERFLAGS_print(const char *contents){
1136 PU_EMRSETMAPPERFLAGS pEmr = (PU_EMRSETMAPPERFLAGS)(contents);
1148 \param contents pointer to a buffer holding all EMR records
1150 void U_EMRSETMAPMODE_print(const char *contents){
1151 core3_print("U_EMRSETMAPMODE", "iMode:", contents);
1157 \param contents pointer to a buffer holding all EMR records
1159 void U_EMRSETBKMODE_print(const char *contents){
1160 core3_print("U_EMRSETBKMODE", "iMode:", contents);
1166 \param contents pointer to a buffer holding all EMR records
1168 void U_EMRSETPOLYFILLMODE_print(const char *contents){
1169 core3_print("U_EMRSETPOLYFILLMODE", "iMode:", contents);
1175 \param contents pointer to a buffer holding all EMR records
1177 void U_EMRSETROP2_print(const char *contents){
1178 core3_print("U_EMRSETROP2", "dwRop:", contents);
1184 \param contents pointer to a buffer holding all EMR records
1186 void U_EMRSETSTRETCHBLTMODE_print(const char *contents){
1187 core3_print("U_EMRSETSTRETCHBLTMODE", "iMode:", contents);
1193 \param contents pointer to a buffer holding all EMR records
1195 void U_EMRSETTEXTALIGN_print(const char *contents){
1196 core3_print("U_EMRSETTEXTALIGN", "iMode:", contents);
1202 \param contents pointer to a buffer holding all EMR records
1204 void U_EMRSETCOLORADJUSTMENT_print(const char *contents){
1205 PU_EMRSETCOLORADJUSTMENT pEmr = (PU_EMRSETCOLORADJUSTMENT)(contents);
1218 \param contents pointer to a buffer holding all EMR records
1220 void U_EMRSETTEXTCOLOR_print(const char *contents){
1221 core3_print("U_EMRSETTEXTCOLOR", "crColor:", contents);
1227 \param contents pointer to a buffer holding all EMR records
1229 void U_EMRSETBKCOLOR_print(const char *contents){
1230 core3_print("U_EMRSETBKCOLOR", "crColor:", contents);
1236 \param contents pointer to a buffer holding all EMR records
1238 void U_EMROFFSETCLIPRGN_print(const char *contents){
1239 core7_print("U_EMROFFSETCLIPRGN", "ptl:","",contents);
1245 \param contents pointer to a buffer holding all EMR records
1247 void U_EMRMOVETOEX_print(const char *contents){
1248 core7_print("U_EMRMOVETOEX", "ptl:","",contents);
1254 \param contents pointer to a buffer holding all EMR records
1256 void U_EMRSETMETARGN_print(const char *contents){
1257 UNUSED(contents);
1263 \param contents pointer to a buffer holding all EMR records
1265 void U_EMREXCLUDECLIPRECT_print(const char *contents){
1266 core4_print("U_EMREXCLUDECLIPRECT", contents);
1272 \param contents pointer to a buffer holding all EMR records
1274 void U_EMRINTERSECTCLIPRECT_print(const char *contents){
1275 core4_print("U_EMRINTERSECTCLIPRECT", contents);
1281 \param contents pointer to a buffer holding all EMR records
1283 void U_EMRSCALEVIEWPORTEXTEX_print(const char *contents){
1284 core4_print("U_EMRSCALEVIEWPORTEXTEX", contents);
1291 \param contents pointer to a buffer holding all EMR records
1293 void U_EMRSCALEWINDOWEXTEX_print(const char *contents){
1294 core4_print("U_EMRSCALEWINDOWEXTEX", contents);
1300 \param contents pointer to a buffer holding all EMR records
1302 void U_EMRSAVEDC_print(const char *contents){
1303 UNUSED(contents);
1309 \param contents pointer to a buffer holding all EMR records
1311 void U_EMRRESTOREDC_print(const char *contents){
1312 core3_print("U_EMRRESTOREDC", "iRelative:", contents);
1318 \param contents pointer to a buffer holding all EMR records
1320 void U_EMRSETWORLDTRANSFORM_print(const char *contents){
1321 PU_EMRSETWORLDTRANSFORM pEmr = (PU_EMRSETWORLDTRANSFORM)(contents);
1334 \param contents pointer to a buffer holding all EMR records
1336 void U_EMRMODIFYWORLDTRANSFORM_print(const char *contents){
1337 PU_EMRMODIFYWORLDTRANSFORM pEmr = (PU_EMRMODIFYWORLDTRANSFORM)(contents);
1351 \param contents pointer to a buffer holding all EMR records
1353 void U_EMRSELECTOBJECT_print(const char *contents){
1354 PU_EMRSELECTOBJECT pEmr = (PU_EMRSELECTOBJECT)(contents);
1370 \param contents pointer to a buffer holding all EMR records
1372 void U_EMRCREATEPEN_print(const char *contents){
1373 PU_EMRCREATEPEN pEmr = (PU_EMRCREATEPEN)(contents);
1385 \param contents pointer to a buffer holding all EMR records
1387 void U_EMRCREATEBRUSHINDIRECT_print(const char *contents){
1388 PU_EMRCREATEBRUSHINDIRECT pEmr = (PU_EMRCREATEBRUSHINDIRECT)(contents);
1400 \param contents pointer to a buffer holding all EMR records
1402 void U_EMRDELETEOBJECT_print(const char *contents){
1403 PU_EMRDELETEOBJECT pEmr = (PU_EMRDELETEOBJECT)(contents);
1414 \param contents pointer to a buffer holding all EMR records
1416 void U_EMRANGLEARC_print(const char *contents){
1417 PU_EMRANGLEARC pEmr = (PU_EMRANGLEARC)(contents);
1431 \param contents pointer to a buffer holding all EMR records
1433 void U_EMRELLIPSE_print(const char *contents){
1434 core4_print("U_EMRELLIPSE", contents);
1440 \param contents pointer to a buffer holding all EMR records
1442 void U_EMRRECTANGLE_print(const char *contents){
1443 core4_print("U_EMRRECTANGLE", contents);
1449 \param contents pointer to a buffer holding all EMR records
1451 void U_EMRROUNDRECT_print(const char *contents){
1452 PU_EMRROUNDRECT pEmr = (PU_EMRROUNDRECT)(contents);
1464 \param contents pointer to a buffer holding all EMR records
1466 void U_EMRARC_print(const char *contents){
1467 core9_print("U_EMRARC", contents);
1473 \param contents pointer to a buffer holding all EMR records
1475 void U_EMRCHORD_print(const char *contents){
1476 core9_print("U_EMRCHORD", contents);
1482 \param contents pointer to a buffer holding all EMR records
1484 void U_EMRPIE_print(const char *contents){
1485 core9_print("U_EMRPIE", contents);
1491 \param contents pointer to a buffer holding all EMR records
1493 void U_EMRSELECTPALETTE_print(const char *contents){
1494 core3_print("U_EMRSELECTPALETTE", "ihPal:", contents);
1500 \param contents pointer to a buffer holding all EMR records
1502 void U_EMRCREATEPALETTE_print(const char *contents){
1503 PU_EMRCREATEPALETTE pEmr = (PU_EMRCREATEPALETTE)(contents);
1515 \param contents pointer to a buffer holding all EMR records
1517 void U_EMRSETPALETTEENTRIES_print(const char *contents){
1519 PU_EMRSETPALETTEENTRIES pEmr = (PU_EMRSETPALETTEENTRIES)(contents);
1524 const char *blimit = contents + pEmr->emr.nSize;
1542 \param contents pointer to a buffer holding all EMR records
1544 void U_EMRRESIZEPALETTE_print(const char *contents){
1545 core7_print("U_EMRRESIZEPALETTE", "ihPal:","cEntries",contents);
1551 \param contents pointer to a buffer holding all EMR records
1553 void U_EMRREALIZEPALETTE_print(const char *contents){
1554 UNUSED(contents);
1560 \param contents pointer to a buffer holding all EMR records
1562 void U_EMREXTFLOODFILL_print(const char *contents){
1563 PU_EMREXTFLOODFILL pEmr = (PU_EMREXTFLOODFILL)(contents);
1576 \param contents pointer to a buffer holding all EMR records
1578 void U_EMRLINETO_print(const char *contents){
1579 core7_print("U_EMRLINETO", "ptl:","",contents);
1585 \param contents pointer to a buffer holding all EMR records
1587 void U_EMRARCTO_print(const char *contents){
1588 core9_print("U_EMRARCTO", contents);
1594 \param contents pointer to a buffer holding all EMR records
1596 void U_EMRPOLYDRAW_print(const char *contents){
1598 PU_EMRPOLYDRAW pEmr = (PU_EMRPOLYDRAW)(contents);
1603 const char *blimit = contents + pEmr->emr.nSize;
1625 \param contents pointer to a buffer holding all EMR records
1627 void U_EMRSETARCDIRECTION_print(const char *contents){
1628 core3_print("U_EMRSETARCDIRECTION","arcDirection:", contents);
1634 \param contents pointer to a buffer holding all EMR records
1636 void U_EMRSETMITERLIMIT_print(const char *contents){
1637 core3_print("U_EMRSETMITERLIMIT", "eMiterLimit:", contents);
1644 \param contents pointer to a buffer holding all EMR records
1646 void U_EMRBEGINPATH_print(const char *contents){
1647 UNUSED(contents);
1653 \param contents pointer to a buffer holding all EMR records
1655 void U_EMRENDPATH_print(const char *contents){
1656 UNUSED(contents);
1662 \param contents pointer to a buffer holding all EMR records
1664 void U_EMRCLOSEFIGURE_print(const char *contents){
1665 UNUSED(contents);
1671 \param contents pointer to a buffer holding all EMR records
1673 void U_EMRFILLPATH_print(const char *contents){
1674 core4_print("U_EMRFILLPATH", contents);
1680 \param contents pointer to a buffer holding all EMR records
1682 void U_EMRSTROKEANDFILLPATH_print(const char *contents){
1683 core4_print("U_EMRSTROKEANDFILLPATH", contents);
1689 \param contents pointer to a buffer holding all EMR records
1691 void U_EMRSTROKEPATH_print(const char *contents){
1692 core4_print("U_EMRSTROKEPATH", contents);
1698 \param contents pointer to a buffer holding all EMR records
1700 void U_EMRFLATTENPATH_print(const char *contents){
1701 UNUSED(contents);
1707 \param contents pointer to a buffer holding all EMR records
1709 void U_EMRWIDENPATH_print(const char *contents){
1710 UNUSED(contents);
1716 \param contents pointer to a buffer holding all EMR records
1718 void U_EMRSELECTCLIPPATH_print(const char *contents){
1719 core3_print("U_EMRSELECTCLIPPATH", "iMode:", contents);
1725 \param contents pointer to a buffer holding all EMR records
1727 void U_EMRABORTPATH_print(const char *contents){
1728 UNUSED(contents);
1737 \param contents pointer to a location in memory holding the comment record
1742 void U_EMRCOMMENT_print(const char *contents, size_t off){
1750 PU_EMRCOMMENT pEmr = (PU_EMRCOMMENT)(contents);
1755 const char *blimit = contents + pEmr->emr.nSize;
1759 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, sizeof(U_EMRCOMMENT), blimit);
1762 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, sizeof(U_EMR) + sizeof(U_CBDATA) + cbData, blimit);
1768 what the contents are even if more byte swapping is required. */
1774 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, sizeof(U_EMRCOMMENT_PUBLIC), blimit);
1784 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, sizeof(U_EMRCOMMENT_SPOOL), blimit);
1794 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, sizeof(U_EMRCOMMENT_EMFPLUS), blimit);
1826 \param contents pointer to a buffer holding all EMR records
1828 void U_EMRFILLRGN_print(const char *contents){
1829 PU_EMRFILLRGN pEmr = (PU_EMRFILLRGN)(contents);
1834 const char *blimit = contents + pEmr->emr.nSize;
1845 \param contents pointer to a buffer holding all EMR records
1847 void U_EMRFRAMERGN_print(const char *contents){
1848 PU_EMRFRAMERGN pEmr = (PU_EMRFRAMERGN)(contents);
1853 const char *blimit = contents + pEmr->emr.nSize;
1865 \param contents pointer to a buffer holding all EMR records
1867 void U_EMRINVERTRGN_print(const char *contents){
1868 core11_print("U_EMRINVERTRGN", contents);
1874 \param contents pointer to a buffer holding all EMR records
1876 void U_EMRPAINTRGN_print(const char *contents){
1877 core11_print("U_EMRPAINTRGN", contents);
1883 \param contents pointer to a buffer holding all EMR records
1885 void U_EMREXTSELECTCLIPRGN_print(const char *contents){
1886 PU_EMREXTSELECTCLIPRGN pEmr = (PU_EMREXTSELECTCLIPRGN) (contents);
1891 const char *blimit = contents + pEmr->emr.nSize;
1907 \param contents pointer to a buffer holding all EMR records
1909 void U_EMRBITBLT_print(const char *contents){
1910 PU_EMRBITBLT pEmr = (PU_EMRBITBLT) (contents);
1915 const char *blimit = contents + pEmr->emr.nSize;
1928 bitmapinfo_print(contents + pEmr->offBmiSrc, blimit);
1938 \param contents pointer to a buffer holding all EMR records
1940 void U_EMRSTRETCHBLT_print(const char *contents){
1941 PU_EMRSTRETCHBLT pEmr = (PU_EMRSTRETCHBLT) (contents);
1946 const char *blimit = contents + pEmr->emr.nSize;
1959 bitmapinfo_print(contents + pEmr->offBmiSrc, blimit);
1970 \param contents pointer to a buffer holding all EMR records
1972 void U_EMRMASKBLT_print(const char *contents){
1973 PU_EMRMASKBLT pEmr = (PU_EMRMASKBLT) (contents);
1978 const char *blimit = contents + pEmr->emr.nSize;
1991 bitmapinfo_print(contents + pEmr->offBmiSrc, blimit);
2002 bitmapinfo_print(contents + pEmr->offBmiMask, blimit);
2012 \param contents pointer to a buffer holding all EMR records
2014 void U_EMRPLGBLT_print(const char *contents){
2015 PU_EMRPLGBLT pEmr = (PU_EMRPLGBLT) (contents);
2020 const char *blimit = contents + pEmr->emr.nSize;
2034 bitmapinfo_print(contents + pEmr->offBmiSrc, blimit);
2045 bitmapinfo_print(contents + pEmr->offBmiMask, blimit);
2055 \param contents pointer to a buffer holding all EMR records
2057 void U_EMRSETDIBITSTODEVICE_print(const char *contents){
2058 PU_EMRSETDIBITSTODEVICE pEmr = (PU_EMRSETDIBITSTODEVICE) (contents);
2063 const char *blimit = contents + pEmr->emr.nSize;
2072 bitmapinfo_print(contents + pEmr->offBmiSrc, blimit);
2085 \param contents pointer to a buffer holding all EMR records
2087 void U_EMRSTRETCHDIBITS_print(const char *contents){
2088 PU_EMRSTRETCHDIBITS pEmr = (PU_EMRSTRETCHDIBITS) (contents);
2093 const char *blimit = contents + pEmr->emr.nSize;
2102 bitmapinfo_print(contents + pEmr->offBmiSrc, blimit);
2115 \param contents pointer to a buffer holding all EMR records
2117 void U_EMREXTCREATEFONTINDIRECTW_print(const char *contents){
2118 PU_EMREXTCREATEFONTINDIRECTW pEmr = (PU_EMREXTCREATEFONTINDIRECTW) (contents);
2123 const char *blimit = contents + pEmr->emr.nSize;
2140 \param contents pointer to a buffer holding all EMR records
2142 void U_EMREXTTEXTOUTA_print(const char *contents){
2143 core8_print("U_EMREXTTEXTOUTA", contents, 0);
2149 \param contents pointer to a buffer holding all EMR records
2151 void U_EMREXTTEXTOUTW_print(const char *contents){
2152 core8_print("U_EMREXTTEXTOUTW", contents, 1);
2158 \param contents pointer to a buffer holding all EMR records
2160 void U_EMRPOLYBEZIER16_print(const char *contents){
2161 core6_print("U_EMRPOLYBEZIER16", contents);
2167 \param contents pointer to a buffer holding all EMR records
2169 void U_EMRPOLYGON16_print(const char *contents){
2170 core6_print("U_EMRPOLYGON16", contents);
2176 \param contents pointer to a buffer holding all EMR records
2178 void U_EMRPOLYLINE16_print(const char *contents){
2179 core6_print("U_EMRPOLYLINE16", contents);
2185 \param contents pointer to a buffer holding all EMR records
2187 void U_EMRPOLYBEZIERTO16_print(const char *contents){
2188 core6_print("U_EMRPOLYBEZIERTO16", contents);
2194 \param contents pointer to a buffer holding all EMR records
2196 void U_EMRPOLYLINETO16_print(const char *contents){
2197 core6_print("U_EMRPOLYLINETO16", contents);
2203 \param contents pointer to a buffer holding all EMR records
2205 void U_EMRPOLYPOLYLINE16_print(const char *contents){
2206 core10_print("U_EMRPOLYPOLYLINE16", contents);
2212 \param contents pointer to a buffer holding all EMR records
2214 void U_EMRPOLYPOLYGON16_print(const char *contents){
2215 core10_print("U_EMRPOLYPOLYGON16", contents);
2222 \param contents pointer to a buffer holding all EMR records
2224 void U_EMRPOLYDRAW16_print(const char *contents){
2226 PU_EMRPOLYDRAW16 pEmr = (PU_EMRPOLYDRAW16)(contents);
2231 const char *blimit = contents + pEmr->emr.nSize;
2253 \param contents pointer to a buffer holding all EMR records
2255 void U_EMRCREATEMONOBRUSH_print(const char *contents){
2256 core12_print("U_EMRCREATEMONOBRUSH", contents);
2262 \param contents pointer to a buffer holding all EMR records
2264 void U_EMRCREATEDIBPATTERNBRUSHPT_print(const char *contents){
2265 core12_print("U_EMRCREATEDIBPATTERNBRUSHPT", contents);
2272 \param contents pointer to a buffer holding all EMR records
2274 void U_EMREXTCREATEPEN_print(const char *contents){
2275 PU_EMREXTCREATEPEN pEmr = (PU_EMREXTCREATEPEN)(contents);
2280 const char *blimit = contents + pEmr->emr.nSize;
2286 bitmapinfo_print(contents + pEmr->offBmi, blimit);
2302 \param contents pointer to a buffer holding all EMR records
2304 void U_EMRSETICMMODE_print(const char *contents){
2305 core3_print("U_EMRSETICMMODE", "iMode:", contents);
2311 \param contents pointer to a buffer holding all EMR records
2313 void U_EMRCREATECOLORSPACE_print(const char *contents){
2314 PU_EMRCREATECOLORSPACE pEmr = (PU_EMRCREATECOLORSPACE)(contents);
2326 \param contents pointer to a buffer holding all EMR records
2328 void U_EMRSETCOLORSPACE_print(const char *contents){
2329 core3_print("U_EMRSETCOLORSPACE", "ihCS:", contents);
2335 \param contents pointer to a buffer holding all EMR records
2337 void U_EMRDELETECOLORSPACE_print(const char *contents){
2338 core3_print("U_EMRDELETECOLORSPACE", "ihCS:", contents);
2349 \param contents pointer to a buffer holding all EMR records
2351 void U_EMRPIXELFORMAT_print(const char *contents){
2352 PU_EMRPIXELFORMAT pEmr = (PU_EMRPIXELFORMAT)(contents);
2357 const char *blimit = contents + pEmr->emr.nSize;
2372 \param contents pointer to a buffer holding all EMR records
2374 void U_EMRSMALLTEXTOUT_print(const char *contents){
2377 PU_EMRSMALLTEXTOUT pEmr = (PU_EMRSMALLTEXTOUT)(contents);
2382 const char *blimit = contents + pEmr->emr.nSize;
2391 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, roff, blimit);
2392 printf(" rclBounds: "); rectl_print( *(PU_RECTL) (contents + roff)); printf("\n");
2396 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, roff + pEmr->cChars*sizeof(char), blimit);
2397 printf(" Text8: <%.*s>\n",pEmr->cChars,contents+roff); /* May not be null terminated */
2400 string = U_Utf16leToUtf8((uint16_t *)(contents+roff), pEmr->cChars, NULL);
2401 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, roff + pEmr->cChars*2*sizeof(char), blimit);
2402 printf(" Text16: <%s>\n",contents+roff);
2421 \param contents pointer to a buffer holding all EMR records
2423 void U_EMRALPHABLEND_print(const char *contents){
2424 core13_print("U_EMRALPHABLEND", contents);
2430 \param contents pointer to a buffer holding all EMR records
2432 void U_EMRSETLAYOUT_print(const char *contents){
2433 core3_print("U_EMRSETLAYOUT", "iMode:", contents);
2439 \param contents pointer to a buffer holding all EMR records
2441 void U_EMRTRANSPARENTBLT_print(const char *contents){
2442 core13_print("U_EMRTRANSPARENTBLT", contents);
2450 \param contents pointer to a buffer holding all EMR records
2452 void U_EMRGRADIENTFILL_print(const char *contents){
2454 PU_EMRGRADIENTFILL pEmr = (PU_EMRGRADIENTFILL)(contents);
2459 const char *blimit = contents + pEmr->emr.nSize;
2464 contents += sizeof(U_EMRGRADIENTFILL);
2466 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, pEmr->nTriVert*sizeof(U_TRIVERTEX), blimit);
2468 for(i=0; i<pEmr->nTriVert; i++, contents+=sizeof(U_TRIVERTEX)){
2469 trivertex_print(*(PU_TRIVERTEX)(contents));
2476 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, pEmr->nGradObj*sizeof(U_GRADIENT3), blimit);
2477 for(i=0; i<pEmr->nGradObj; i++, contents+=sizeof(U_GRADIENT3)){
2478 gradient3_print(*(PU_GRADIENT3)(contents));
2483 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, pEmr->nGradObj*sizeof(U_GRADIENT4), blimit);
2484 for(i=0; i<pEmr->nGradObj; i++, contents+=sizeof(U_GRADIENT4)){
2485 gradient4_print(*(PU_GRADIENT4)(contents));
2503 \param contents pointer to a buffer holding all EMR records
2505 void U_EMRCREATECOLORSPACEW_print(const char *contents){
2507 PU_EMRCREATECOLORSPACEW pEmr = (PU_EMRCREATECOLORSPACEW)(contents);
2512 const char *blimit = contents + pEmr->emr.nSize;
2519 IF_MEM_UNSAFE_PRINT_AND_RETURN(contents, pEmr->cbData, blimit);
2530 \param contents pointer to a buffer holding all EMR records
2532 \param recnum number of this record in contents
2533 \param off offset to this record in contents
2535 int U_emf_onerec_print(const char *contents, const char *blimit, int recnum, size_t off){
2536 PU_ENHMETARECORD lpEMFR = (PU_ENHMETARECORD)(contents + off);
2539 const char *record = contents + off;
2541 if(record < contents)return(-1); // offset wrapped