Searched refs:nPoints (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/extension/internal/
H A Dwmf-print.cpp1262 int nPoints = 1 + pit->size_default(); local
1264 pt16hold = pt16ptr = (U_POINT16 *) malloc(nPoints * sizeof(U_POINT16));
1276 nPoints = 1;
1278 for (Geom::Path::const_iterator cit = pit->begin(); cit != pit->end_default(); ++cit, nPoints++) {
1287 rec = U_WMRPOLYGON_set(nPoints, pt16hold);
1291 } else if (nPoints > 2) {
1292 rec = U_WMRPOLYLINE_set(nPoints, pt16hold);
1296 } else if (nPoints == 2) {
/inkscape/src/libuemf/
H A Duwmf_endian.c298 /* Single 16bit nPoints followed by array of nPoints U_POINT16 */
300 int nPoints; local
302 if(torev){ nPoints = *(uint16_t *)(record + offsetof(U_WMRPOLYGON,nPoints)); }
303 U_swap2(record + offsetof(U_WMRPOLYGON,nPoints), 1);
304 if(!torev){ nPoints = *(uint16_t *)(record + offsetof(U_WMRPOLYGON,nPoints)); }
305 U_swap2(record + offsetof(U_WMRPOLYGON,aPoints), 2*nPoints);
H A Duwmf_print.c389 void wcore_points_print(uint16_t nPoints, const char *aPoints){ argument
393 for(i=0;i<nPoints; i++){
H A Duwmf.h1488 int16_t nPoints; //!< Number of points in aPoints member in struct:__anon375

Completed in 48 milliseconds