Lines Matching refs:irecsize
1139 int irecsize;
1142 irecsize = ((PU_EMR)emr)->nSize;
1143 dup=malloc(irecsize);
1144 if(dup){ memcpy(dup,emr,irecsize); }
2073 int irecsize;
2078 irecsize = sizeof(U_BITMAPINFOHEADER) + cbColors4;
2079 record = malloc(irecsize);
2112 int irecsize,szSyleArray;
2118 irecsize = sizeof(U_EXTLOGPEN) + szSyleArray - sizeof(U_STYLEENTRY); // first one is in the record
2122 irecsize = sizeof(U_EXTLOGPEN);
2124 record = malloc(irecsize);
2191 int cbPalArray,irecsize;
2195 irecsize = sizeof(U_LOGPALETTE) + cbPalArray - sizeof(U_LOGPLTNTRY);
2196 record = (PU_LOGPALETTE) malloc(irecsize);
2197 if(irecsize){
2235 int irecsize;
2240 irecsize = sizeof(U_RGNDATA) + szRgnArray - sizeof(U_RECTL); // core + array - overlap
2241 record = malloc(irecsize);
2402 int irecsize,cbDxArray,cbString4,cbString,off;
2412 irecsize = sizeof(U_EMRTEXT) + sizeof(uint32_t) + cbString4 + cbDxArray; // core structure + offDx + string buf + dx buf
2413 if(!(fOptions & U_ETO_NO_RECT)){ irecsize += sizeof(U_RECTL); } // plus variable U_RECTL, when it is present
2414 record = malloc(irecsize);
2887 int irecsize;
2890 irecsize = sizeof(U_EMRPOLYBEZIER) + cbPoints - sizeof(U_POINTL); // First instance is in struct
2891 record = malloc(irecsize);
2894 ((PU_EMR) record)->nSize = irecsize;
2906 int irecsize;
2910 irecsize = sizeof(U_EMRPOLYPOLYLINE) + cbPoints + cbPolys - sizeof(uint32_t); // First instance of each is in struct
2911 record = malloc(irecsize);
2914 ((PU_EMR) record)->nSize = irecsize;
2928 int irecsize;
2930 irecsize = sizeof(U_EMRSETMAPMODE);
2931 record = malloc(irecsize);
2934 ((PU_EMR) record)->nSize = irecsize;
2943 int irecsize;
2945 irecsize = sizeof(U_EMRELLIPSE);
2946 record = malloc(irecsize);
2947 memset(record,0,irecsize);
2950 ((PU_EMR) record)->nSize = irecsize;
2959 int irecsize = 8;
2961 record = malloc(irecsize);
2964 ((PU_EMR) record)->nSize = irecsize;
2973 int irecsize;
2978 irecsize = off + cbPoints4; // First instance is in struct
2979 record = malloc(irecsize);
2982 ((PU_EMR) record)->nSize = irecsize;
2999 int irecsize = sizeof(U_EMRGENERICPAIR);
3001 record = malloc(irecsize);
3004 ((PU_EMR) record)->nSize = irecsize;
3020 int irecsize,cbString,cbString4,cbDx,cbEmrtext,cbEmrtextAll;
3044 irecsize = sizeof(U_EMREXTTEXTOUTA) + cbEmrtextAll - sizeof(U_EMRTEXT); // do not count core emrtext strcture twice
3045 record = malloc(irecsize);
3048 ((PU_EMR) record)->nSize = irecsize;
3062 int irecsize = sizeof(U_EMRARC);
3064 record = malloc(irecsize);
3067 ((PU_EMR) record)->nSize = irecsize;
3079 int irecsize;
3083 irecsize = sizeof(U_EMRPOLYPOLYLINE16) + cbPoints + cbPolys - sizeof(uint32_t); // First instance of each is in struct
3084 record = malloc(irecsize);
3087 ((PU_EMR) record)->nSize = irecsize;
3101 int irecsize;
3109 irecsize = sizeof(U_EMRINVERTRGN) - sizeof(U_RECTL) + cbRgns4; // core + array - overlap of one rectL
3110 record = malloc(irecsize);
3113 ((PU_EMR) record)->nSize = irecsize;
3135 int irecsize;
3140 irecsize = sizeof(U_EMRCREATEMONOBRUSH) + cbBmi + cbImage4;
3141 record = malloc(irecsize);
3144 ((PU_EMR) record)->nSize = irecsize;
3184 int irecsize;
3189 irecsize = sizeof(U_EMRALPHABLEND) + cbBmi + cbImage4;
3190 record = malloc(irecsize);
3193 ((PU_EMR) record)->nSize = irecsize;
3244 int irecsize;
3251 irecsize = sizeof(U_EMRHEADER) + cbPFD + cbDesc4;
3252 record = malloc(irecsize);
3256 ((PU_EMR) record)->nSize = irecsize;
3491 int irecsize;
3498 irecsize = sizeof(U_EMREOF) + cbPals + sizeof(uint32_t); //invariant core, variable palette, palette byte count
3499 record = malloc(irecsize);
3502 ((PU_EMR) record)->nSize = irecsize;
3512 *(uint32_t *)ptr = irecsize + et->used; // EMREOF nSizeLast field, not at a fixed position, cannot be accessed by field name
3531 int irecsize;
3533 irecsize = sizeof(U_EMRSETPIXELV);
3534 record = malloc(irecsize);
3537 ((PU_EMR) record)->nSize = irecsize;
3552 int irecsize;
3554 irecsize = sizeof(U_EMRSETMAPPERFLAGS);
3555 record = malloc(irecsize);
3558 ((PU_EMR) record)->nSize = irecsize;
3646 int irecsize;
3648 irecsize = sizeof(U_EMRSETCOLORADJUSTMENT);
3649 record = malloc(irecsize);
3652 ((PU_EMR) record)->nSize = irecsize;
3807 int irecsize;
3809 irecsize = sizeof(U_EMRSETWORLDTRANSFORM);
3810 record = malloc(irecsize);
3813 ((PU_EMR) record)->nSize = irecsize;
3831 int irecsize;
3833 irecsize = sizeof(U_EMRMODIFYWORLDTRANSFORM);
3834 record = malloc(irecsize);
3837 ((PU_EMR) record)->nSize = irecsize;
3855 int irecsize;
3857 irecsize = sizeof(U_EMRSELECTOBJECT);
3858 record = malloc(irecsize);
3861 ((PU_EMR) record)->nSize = irecsize;
3880 int irecsize=sizeof(U_EMRCREATEPEN);
3882 record = malloc(irecsize);
3885 ((PU_EMR) record)->nSize = irecsize;
3905 int irecsize;
3907 irecsize = sizeof(U_EMRCREATEBRUSHINDIRECT);
3908 record = malloc(irecsize);
3911 ((PU_EMR) record)->nSize = irecsize;
3929 int irecsize;
3931 irecsize = sizeof(U_EMRDELETEOBJECT);
3932 record = malloc(irecsize);
3935 ((PU_EMR) record)->nSize = irecsize;
3957 int irecsize;
3959 irecsize = sizeof(U_EMRANGLEARC);
3960 record = malloc(irecsize);
3963 ((PU_EMR) record)->nSize = irecsize;
4008 int irecsize;
4010 irecsize = sizeof(U_EMRROUNDRECT);
4011 record = malloc(irecsize);
4014 ((PU_EMR) record)->nSize = irecsize;
4094 int irecsize;
4096 irecsize = sizeof(U_EMRCREATEPALETTE);
4097 record = malloc(irecsize);
4100 ((PU_EMR) record)->nSize = irecsize;
4124 int irecsize;
4129 irecsize = sizeof(U_EMRSETPALETTEENTRIES) + cbPals - sizeof(U_LOGPLTNTRY);
4130 record = malloc(irecsize);
4133 ((PU_EMR) record)->nSize = irecsize;
4179 int irecsize;
4181 irecsize = sizeof(U_EMREXTFLOODFILL);
4182 record = malloc(irecsize);
4185 ((PU_EMR) record)->nSize = irecsize;
4240 int irecsize;
4247 irecsize = sizeof(U_EMRPOLYDRAW) + cbPoints + cbAbTypes4 - sizeof(U_POINTL) - 1;
4248 record = malloc(irecsize);
4251 ((PU_EMR) record)->nSize = irecsize;
4414 int irecsize;
4417 irecsize = sizeof(U_EMR) + sizeof(U_CBDATA) + cbData4;
4418 record = malloc(irecsize);
4421 ((PU_EMR) record)->nSize = irecsize;
4423 memcpy(record + irecsize - cbData4,Data,cbData);
4424 if(cbData4 > cbData)memset(record + irecsize - cbData4 + cbData,0,cbData4-cbData); // clear any unused bytes
4444 int irecsize;
4452 irecsize = sizeof(U_EMRFILLRGN) - sizeof(U_RECTL) + cbRgns4; // core + array - overlap of one rectL
4453 record = malloc(irecsize);
4456 ((PU_EMR) record)->nSize = irecsize;
4485 int irecsize;
4493 irecsize = sizeof(U_EMRFRAMERGN) - sizeof(U_RECTL) + cbRgns4; // core + array - overlap of one rectL
4494 record = malloc(irecsize);
4497 ((PU_EMR) record)->nSize = irecsize;
4546 int irecsize;
4554 irecsize = sizeof(U_EMREXTSELECTCLIPRGN) - sizeof(U_RECTL) + cbRgns4; // core + array - overlap of one rectL
4555 record = malloc(irecsize);
4558 ((PU_EMR) record)->nSize = irecsize;
4599 int irecsize;
4603 irecsize = sizeof(U_EMRBITBLT) + cbBmi + cbImage4;
4604 record = malloc(irecsize);
4607 ((PU_EMR) record)->nSize = irecsize;
4654 int irecsize;
4659 irecsize = sizeof(U_EMRSTRETCHBLT) + cbBmi + cbImage4;
4660 record = malloc(irecsize);
4663 ((PU_EMR) record)->nSize = irecsize;
4719 int irecsize;
4725 irecsize = sizeof(U_EMRMASKBLT) + cbBmi + cbImage4 + cbMskBmi + cbMskImage4;
4726 record = malloc(irecsize);
4729 ((PU_EMR) record)->nSize = irecsize;
4786 int irecsize;
4792 irecsize = sizeof(U_EMRPLGBLT) + cbBmi + cbImage4 + cbMskBmi + cbMskImage4;
4793 record = malloc(irecsize);
4796 ((PU_EMR) record)->nSize = irecsize;
4841 int irecsize;
4846 irecsize = sizeof(U_EMRSETDIBITSTODEVICE) + cbBmi + cbImage4;
4847 record = malloc(irecsize);
4850 ((PU_EMR) record)->nSize = irecsize;
4892 int irecsize;
4897 irecsize = sizeof(U_EMRSTRETCHDIBITS) + cbBmi + cbImage4;
4898 record = malloc(irecsize);
4901 ((PU_EMR) record)->nSize = irecsize;
4931 int irecsize;
4938 irecsize = sizeof(U_EMR) + sizeof(uint32_t) + cbLf;
4939 record = malloc(irecsize);
4942 ((PU_EMR) record)->nSize = irecsize;
5127 int irecsize;
5134 irecsize = sizeof(U_EMRPOLYDRAW16) + cbPoints + cbAbTypes4 - sizeof(U_POINT16) - 1;
5135 record = malloc(irecsize);
5138 ((PU_EMR) record)->nSize = irecsize;
5213 int irecsize,cbStyleArray,cbElp;
5223 irecsize = sizeof(U_EMREXTCREATEPEN) + cbBmi + cbImage4 + cbStyleArray - sizeof(U_STYLEENTRY);
5227 irecsize = sizeof(U_EMREXTCREATEPEN) + cbBmi + cbImage4;
5229 record = malloc(irecsize);
5233 ((PU_EMR) record)->nSize = irecsize;
5292 int irecsize;
5294 irecsize = sizeof(U_EMRCREATECOLORSPACE);
5295 record = malloc(irecsize);
5298 ((PU_EMR) record)->nSize = irecsize;
5341 int irecsize;
5343 irecsize = sizeof(U_EMRPIXELFORMAT);
5344 record = malloc(irecsize);
5347 ((PU_EMR) record)->nSize = irecsize;
5380 int irecsize,cbString,cbString4,cbRectl,off;
5390 irecsize = sizeof(U_EMRSMALLTEXTOUT) + cbString4 + cbRectl;
5391 record = malloc(irecsize);
5394 ((PU_EMR) record)->nSize = irecsize;
5527 int irecsize;
5536 irecsize = sizeof(U_EMRGRADIENTFILL) + cbTriVert + cbGradObjAlloc;
5537 record = malloc(irecsize);
5540 ((PU_EMR) record)->nSize = irecsize;
5581 int irecsize;
5584 irecsize = sizeof(U_EMRCREATECOLORSPACEW) + cbData4;
5585 record = malloc(irecsize);
5588 ((PU_EMR) record)->nSize = irecsize;