HomeSort by: relevance | last modified time | path
    Searched refs:contours (Results 1 - 21 of 21) sorted by relevancy

  /xsrc/external/mit/mesa-demos/dist/src/demos/
tessdemo.c 35 } contours[MAX_CONTOURS]; variable in typeref:struct:__anon6407
181 point_cnt = contours[j].point_cnt;
185 data[0] = (GLdouble)( contours[j].p[i][0] );
186 data[1] = (GLdouble)( contours[j].p[i][1] );
188 gluTessVertex( tobj, data, contours[j].p[i] );
204 point_cnt = contours[j].point_cnt;
208 data[0] = (GLdouble)( contours[j].p[i][0] );
209 data[1] = (GLdouble)( contours[j].p[i][1] );
211 gluTessVertex( tobj, data, contours[j].p[i] );
235 point_cnt = contours[contour_cnt].point_cnt
    [all...]
  /xsrc/external/mit/freetype/dist/src/base/
ftgloadr.c 112 FT_FREE( loader->base.outline.contours );
151 current->contours = FT_OFFSET( base->contours, base->n_contours );
259 /* check contours */
270 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
366 /* adjust contours count in newest outline */
368 current->outline.contours[n] =
369 (short)( current->outline.contours[n] + n_base_points );
ftoutln.c 85 last = outline->contours[n];
321 FT_NEW_ARRAY( anoutline->contours, numContours ) )
362 end = outline->contours[n];
364 /* note that we don't accept empty contours */
409 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours );
446 FT_FREE( outline->contours );
545 last = outline->contours[n];
730 (outline)->contours[c - 1] + 1 \
732 (last) = (outline)->points + (outline)->contours[c];
    [all...]
ftstroke.c 728 /* copy contours */
732 FT_Short* write = outline->contours + outline->n_contours;
2096 last = (FT_UInt)outline->contours[n];
  /xsrc/external/mit/freetype/dist/src/autofit/
afhints.c 322 AF_Point* contour = hints->contours;
733 if ( hints->contours != hints->embedded.contours )
734 FT_FREE( hints->contours );
783 /* first of all, reallocate the contours array if necessary */
789 if ( !hints->contours )
791 hints->contours = hints->embedded.contours;
797 if ( hints->contours == hints->embedded.contours )
    [all...]
afhints.h 338 #define AF_CONTOURS_EMBEDDED 8 /* number of embedded contours */
354 FT_Int max_contours; /* number of allocated contours */
355 FT_Int num_contours; /* number of used contours */
356 AF_Point* contours; /* contours array */ member in struct:AF_GlyphHintsRec_
372 AF_Point contours[AF_CONTOURS_EMBEDDED]; member in struct:AF_GlyphHintsRec_::__anon5420
aflatin2.c 263 last = glyph->outline.contours[nn];
265 /* Avoid single-point contours since they are never rasterized. */
740 AF_Point* contour = hints->contours;
900 } /* contours */
aflatin.c 520 last = outline.contours[nn];
522 /* Avoid single-point contours since they are never */
1534 /* Walk over all contours and compute its segments. */
1546 AF_Point* contour = hints->contours;
1905 } /* contours */
2521 /* for the orientation of contours */
afcjk.c 434 last = outline.contours[nn];
436 /* Avoid single-point contours since they are never rasterized. */
800 /* Walk over all contours and compute its segments. */
  /xsrc/external/mit/freetype/dist/src/truetype/
ttgload.c 340 FT_TRACE5(( " # of contours: %d\n", loader->n_contours ));
371 /* check that we can add the contours to the glyph */
376 /* reading the contours' endpoints & number of points */
377 cont = gloader->current.outline.contours;
380 /* check space for contours array + instructions count */
397 /* unordered contours: this is invalid */
803 zone->contours = (FT_UShort*)load->outline.contours + start_contour;
1759 short contours[4] = { 0, 1, 2, 3 }; local
1780 outline.contours = contours
1950 short* contours = NULL; local
    [all...]
ttobjs.c 77 FT_FREE( zone->contours );
106 * The capacity of glyph zone in contours.
131 FT_NEW_ARRAY( zone->contours, maxContours ) )
ttinterp.c 5647 start = (FT_UShort)( exc->zp2.contours[contour - 1] + 1 -
5654 limit = (FT_UShort)( exc->zp2.contours[contour] -
5694 /* Twilight zone has no real contours, so use `n_points'. */
5700 limit = (FT_UShort)( exc->zp2.contours[exc->zp2.n_contours - 1] + 1 );
7054 end_point = exc->pts.contours[contour] - exc->pts.first_point;
7799 /* contours, in the `glyf' table) of a glyph, and such iterations */
ttgxvar.c 3655 end_point = outline->contours[contour];
  /xsrc/external/mit/freetype/dist/include/freetype/
ftimage.h 293 * The number of contours in the outline.
319 * contours ::
322 * defined by the points '0' to `contours[0]`, the second one is
323 * defined by the points `contours[0]+1` to `contours[1]`, etc.
338 short n_contours; /* number of contours in glyph */
343 short* contours; /* the contour end points */ member in struct:FT_Outline_
372 * `points`, `flags`, and `contours`) are 'owned' by the outline
381 * By default, outside contours of an outline are oriented in
739 * contours. Some Type~1 fonts, like those in the Hershey family
    [all...]
  /xsrc/external/mit/freetype/dist/src/psaux/
psobjs.c 1716 outline->contours[outline->n_contours - 1] =
1763 ? 0 : outline->contours[outline->n_contours - 2] + 1;
1791 /* Don't add contours only consisting of one point, i.e., */
1799 outline->contours[outline->n_contours - 1] =
1998 outline->contours[outline->n_contours - 1] =
2042 ? 0 : outline->contours[outline->n_contours - 2] + 1;
2070 /* Don't add contours only consisting of one point, i.e., */
2078 outline->contours[outline->n_contours - 1] =
2306 outline->contours[outline->n_contours - 1] =
2350 ? 0 : outline->contours[outline->n_contours - 2] + 1
    [all...]
  /xsrc/external/mit/freetype/dist/src/pshinter/
pshalgo.c 940 if ( glyph->contours[n].count < 4 )
944 first = glyph->contours[n].start;
1043 FT_FREE( glyph->contours );
1168 /* allocate and setup points + contours arrays */
1170 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) )
1179 PSH_Contour contour = glyph->contours;
1188 next = (FT_UInt)outline->contours[n] + 1;
1296 PSH_Point first = glyph->contours[n].start;
1300 if ( glyph->contours[n].count == 0 )
1929 PSH_Contour contour = glyph->contours;
    [all...]
pshalgo.h 195 PSH_Contour contours; member in struct:PSH_GlyphRec_
  /xsrc/external/mit/freetype/dist/src/pfr/
pfrgload.c 93 first = outline->contours[outline->n_contours - 1];
110 /* don't add empty contours */
112 outline->contours[outline->n_contours++] = (short)last;
  /xsrc/external/mit/freetype/dist/include/freetype/internal/
tttypes.h 1667 * Max size in links contours of the zone.
1673 * The current number of contours in the zone.
1684 * contours ::
1685 * The contours end points.
1696 FT_Short n_contours; /* number of contours */
1703 FT_UShort* contours; /* contour end points */ member in struct:TT_GlyphZoneRec_
  /xsrc/external/mit/freetype/dist/src/smooth/
ftgrays.c 1350 * of new contours in the outline.
1414 last = outline->contours[n];
1781 if ( !outline->contours || !outline->points )
1785 outline->contours[outline->n_contours - 1] + 1 )
  /xsrc/external/mit/freetype/dist/src/raster/
ftraster.c 2025 (UShort)ras.outline.contours[i],
2029 start = (UShort)ras.outline.contours[i] + 1;
3304 if ( !outline->contours || !outline->points )
3308 outline->contours[outline->n_contours - 1] + 1 )

Completed in 81 milliseconds