/external/skia/src/pathops/ |
SkPathOpsCommon.cpp | 89 SkOpContour* contour = contourHead; local 91 if (contour->done()) { 94 SkOpSpan* result = contour->undoneSpan(); 98 } while ((contour = contour->next())); 175 SkOpContour* contour = *contourList; local 177 if (contour->count()) { 178 contour->setOppXor(contour->operand() ? evenOdd : oppEvenOdd); 179 *list.append() = contour; 204 SkOpContour* contour = contourList; local 212 SkOpContour* contour = contourList; local 222 SkOpContour* contour = contourList; local 233 SkOpContour* contour = contourList; local 243 SkOpContour* contour = contourList; local [all...] |
SkOpEdgeBuilder.h | 38 SkOpContour* contour = fContourBuilder.contour(); local 39 if (contour && contour->count()) { 40 contour->complete();
|
SkIntersectionHelper.h | 42 SkOpContour* contour() const { function in class:SkIntersectionHelper 43 return fSegment->contour(); 46 void init(SkOpContour* contour) { 47 fSegment = contour->first();
|
SkOpContour.h | 321 void setNext(SkOpContour* contour) { 322 // SkASSERT(!fNext == !!contour); 323 fNext = contour; 384 bool fReverse; // true if contour should be reverse written to path (used only by fix winding) 394 SkOpContour* contour = SkOpTAllocator<SkOpContour>::New(this->globalState()->allocator()); local 395 contour->setNext(nullptr); 401 prev->setNext(contour); 402 return contour; 415 void remove(SkOpContour* contour) { 416 if (contour == this) 446 SkOpContour* contour() { return fContour; } function in class:SkOpContourBuilder [all...] |
SkOpEdgeBuilder.cpp | 54 SkOpContour* contour = fContourBuilder.contour(); local 55 if (contour && !contour->count()) { 56 fContoursHead->remove(contour); 181 SkOpContour* contour = fContourBuilder.contour(); local 189 if (contour && contour->count()) { 196 if (!contour) { [all...] |
SkPathOpsWinding.cpp | 251 SkOpContour* contour = contourHead; local 253 if (!contour->count()) { 256 contour->rayCheck(hitBase, dir, &hitHead, &allocator); 257 } while ((contour = contour->next())); 354 hitSegment->contour()->setCcw(ccw); 410 SkOpContour* contour = contourHead; local 412 if (contour->done()) { 415 SkOpSpan* result = contour->findSortableTop(contourHead); 419 } while ((contour = contour->next())) [all...] |
SkPathOpsTightBounds.cpp | 52 SkOpContour contour; local 53 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour);
|
SkPathOpsSimplify.cpp | 151 SkOpContour contour; local 152 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour); 181 contour.dumpSegments(); 206 contour.dumpSegments("aligned");
|
SkOpSpan.cpp | 78 SkOpContour* SkOpPtT::contour() const { function in class:SkOpPtT 79 return segment()->contour(); 96 return contour()->globalState(); 220 SkOpContour* SkOpSpanBase::contour() const { function in class:SkOpSpanBase 221 return segment()->contour(); 225 return contour()->globalState();
|
/external/opencv/cvaux/src/ |
decomppoly.cpp | 140 bool icvEarCutTriangulation( CvPoint* contour, 185 x1 = contour[ index1 ].x; 186 y1 = contour[ index1 ].y; 187 x2 = contour[ index2 ].x; 188 y2 = contour[ index2 ].y; 189 x3 = contour[ index3 ].x; 190 y3 = contour[ index3 ].y; 207 ix2 = contour[ i + 1 ].x - contour[ i ].x; 208 iy2 = contour[ i + 1 ].y - contour[ i ].y [all...] |
/external/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 357 int32_t GlyphTable::SimpleGlyph::NumberOfPoints(int32_t contour) { 359 if (contour >= NumberOfContours()) { 362 return contour_index_[contour + 1] - contour_index_[contour]; 365 int32_t GlyphTable::SimpleGlyph::XCoordinate(int32_t contour, int32_t point) { 367 return x_coordinates_[contour_index_[contour] + point]; 370 int32_t GlyphTable::SimpleGlyph::YCoordinate(int32_t contour, int32_t point) { 372 return y_coordinates_[contour_index_[contour] + point]; 375 bool GlyphTable::SimpleGlyph::OnCurve(int32_t contour, int32_t point) { 377 return on_curve_[contour_index_[contour] + point] [all...] |
glyph_table.h | 41 // Note: Contour is an empty class for the version ported 42 class Contour { 44 Contour() {} 45 virtual ~Contour() {} 170 class SimpleContour : public Glyph::Contour { 202 int32_t NumberOfPoints(int32_t contour); 203 int32_t XCoordinate(int32_t contour, int32_t point); 204 int32_t YCoordinate(int32_t contour, int32_t point); 205 bool OnCurve(int32_t contour, int32_t point); 210 int32_t ContourEndPoint(int32_t contour); [all...] |
/external/skia/tests/ |
PathOpsDebug.cpp | 231 const SkOpAngle* SkPathOpsDebug::DebugContourAngle(SkOpContour* contour, int id) { 232 return contour->debugAngle(id); 235 SkOpContour* SkPathOpsDebug::DebugContourContour(SkOpContour* contour, int id) { 236 return contour->debugContour(id); 239 const SkOpPtT* SkPathOpsDebug::DebugContourPtT(SkOpContour* contour, int id) { 240 return contour->debugPtT(id); 243 const SkOpSegment* SkPathOpsDebug::DebugContourSegment(SkOpContour* contour, int id) { 244 return contour->debugSegment(id); 247 const SkOpSpanBase* SkPathOpsDebug::DebugContourSpan(SkOpContour* contour, int id) { 248 return contour->debugSpan(id) 352 SkOpContour* contour = this->globalState()->contourHead(); local 359 SkOpContour* contour = this->globalState()->contourHead(); local 366 SkOpContour* contour = this->globalState()->contourHead(); local 373 SkOpContour* contour = this->globalState()->contourHead(); local 380 SkOpContour* contour = this->globalState()->contourHead(); local 387 SkOpContour* contour = this->globalState()->contourHead(); local 394 SkOpContour* contour = this->globalState()->contourHead(); local 401 SkOpContour* contour = this->globalState()->contourHead(); local 1384 const SkOpContour* contour = fContourHead; local 1411 SkOpContour* contour = fContourHead; local 1421 const SkOpContour* contour = fContourHead; local 1444 const SkOpContour* contour = fContourHead; local 1458 const SkOpContour* contour = fContourHead; local [all...] |
PathOpsAngleTest.cpp | 244 SkOpContourHead contour; 245 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 246 contour.init(&state, false, false); 254 contour.addLine(data.fShortPts); 257 contour.addQuad(data.fShortPts); 260 contour.addCubic(data.fShortPts); 264 SkOpSegment* first = contour.first(); 437 SkOpContourHead contour; local 438 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr)); 439 contour.init(&state, false, false) 510 SkOpContourHead contour; local [all...] |
/external/opencv/cv/src/ |
cvdominants.cpp | 54 icvFindDominantPointsIPAN( CvSeq * contour, 61 int n = contour->total; 74 if( contour == NULL ) 98 if( CV_IS_SEQ_CHAIN_CONTOUR( contour )) 102 cvStartReadChainPoints( (CvChain *) contour, &reader ); 109 else if( CV_IS_SEQ_POLYGON( contour )) 113 cvStartReadSeq( contour, &reader, 0 ); 284 cvStartWriteSeq( (contour->flags & ~CV_SEQ_ELTYPE_MASK) | CV_SEQ_ELTYPE_INDEX, 323 /* dmax is so big (more than contour diameter) 336 // Applies some algorithm to find dominant points ( corners ) of contour [all...] |
cvcontours.cpp | 131 struct _CvContourInfo *next; /* next contour with the same mark value */ 132 struct _CvContourInfo *parent; /* information about parent contour */ 133 CvSeq *contour; /* corresponding contour (may be 0, if rejected) */ member in struct:_CvContourInfo 135 CvPoint origin; /* origin point (where the contour was traced from) */ 153 CvMemStoragePos backup_pos; /* beginning of the latest approx. contour */ 154 CvMemStoragePos backup_pos2; /* ending of the latest approx. contour */ 159 CvPoint offset; /* ROI offset: coordinates, added to each contour point */ 161 CvPoint lnbd; /* position of the last met contour */ 163 _CvContourInfo *l_cinfo; /* information about latest approx. contour */ 844 CvSeq *contour = 0; local 1438 CvSeq* contour; local 1516 CvSeq *contour = 0; local [all...] |
cvcontourtree.cpp | 51 icvCalcTriAttr( const CvSeq * contour, CvPoint t2, CvPoint t1, int n1, 58 // Create binary tree representation for the contour 61 // contour - pointer to input contour object. 68 icvCreateContourTree( const CvSeq * contour, CvMemStorage * storage, 84 int *num_p, *num_n, *num1, *num2; /* numbers of input contour points */ 96 assert( contour != NULL && contour->total >= 4 ); 99 if( contour == NULL ) 101 if( contour->total < 4 681 CvSeq* contour = 0; local [all...] |
cvshapedescr.cpp | 43 /* calculates length of a curve (e.g. contour perimeter) */ 59 CvSeq* contour = 0; local 64 contour = (CvSeq*)array; 65 if( !CV_IS_SEQ_POLYLINE( contour )) 68 is_closed = CV_IS_SEQ_CLOSED( contour ); 73 CV_CALL( contour = cvPointSeqFromMat( 78 if( contour->total > 1 ) 80 int is_float = CV_SEQ_ELTYPE( contour ) == CV_32FC2; 82 cvStartReadSeq( contour, &reader, 0 ); 84 count = cvSliceLength( slice, contour ); 737 CvSeq* contour = 0; local [all...] |
_cvgeom.h | 88 CvSeq** contour,
|
cvapprox.cpp | 62 CvSeq** contour, 80 assert( chain && contour && buffer ); 84 *contour = 0; 400 *contour = cvEndWriteSeq( &writer ); 410 /*Applies some approximation algorithm to chain-coded contour(s) and 438 CvSeq *contour; local 448 (CvSeq**)&contour, method )); 455 assert( contour ); 457 if( contour->total > 0 ) 459 cvBoundingRect( contour, 1 ) 993 CvSeq *contour = 0; local [all...] |
cvpgh.cpp | 138 // Calculates PGH(pairwise geometric histogram) for contour given. 141 // contour - pointer to input contour object. 150 icvCalcPGH( const CvSeq * contour, float *pgh, int angle_dim, int dist_dim ) 163 if( !contour || !pgh ) 169 if( !CV_IS_SEQ_POLYGON( contour )) 174 count = contour->total; 186 cvStartReadSeq( contour, &reader1, 0 ); 187 cvStartReadSeq( contour, &reader2, 0 ); 334 cvCalcPGH( const CvSeq * contour, CvHistogram * hist [all...] |
cvmoments.cpp | 85 icvContourMoments( CvSeq* contour, CvMoments* moments ) 87 int is_float = CV_SEQ_ELTYPE(contour) == CV_32FC2; 89 if( contour->total ) 94 int lpt = contour->total; 98 cvStartReadSeq( contour, &reader, 0 ); 110 CV_NEXT_SEQ_ELEM( contour->elem_size, reader ); 127 CV_NEXT_SEQ_ELEM( contour->elem_size, reader ); 386 CvSeq* contour = 0; local 391 contour = (CvSeq*)array; 392 if( !CV_IS_SEQ_POLYGON( contour )) [all...] |
cvgeometry.cpp | 174 CvSeq* contour = (CvSeq*)_contour; local 181 if( !CV_IS_SEQ(contour) ) 183 CV_CALL( contour = cvPointSeqFromMat( CV_SEQ_KIND_CURVE + CV_SEQ_FLAG_CLOSED, 186 else if( CV_IS_SEQ_POLYGON(contour) ) 188 if( contour->header_size == sizeof(CvContour) && !measure_dist ) 190 CvRect r = ((CvContour*)contour)->rect; 196 else if( CV_IS_SEQ_CHAIN(contour) ) 202 CV_ERROR( CV_StsBadArg, "Input contour is neither a valid sequence nor a matrix" ); 204 total = contour->total; 205 is_float = CV_SEQ_ELTYPE(contour) == CV_32FC2 [all...] |
/external/freetype/src/autofit/ |
afhints.c | 309 AF_Point* contour = hints->contours; local 310 AF_Point* climit = contour + hints->num_contours; 331 /* insert extra newline at the beginning of a contour */ 332 if ( contour < climit && *contour == point ) 335 contour++; 893 AF_Point* contour = hints->contours; local 894 AF_Point* contour_limit = contour + hints->num_contours; 899 for ( ; contour < contour_limit; contour++, end++ 921 AF_Point* contour; local 1499 AF_Point* contour = hints->contours; local [all...] |
/external/fonttools/Lib/fontTools/ttLib/ |
__init__.py | 730 contour = coordinates[start:end].tolist() 737 contour.append(None) 738 pen.qCurveTo(*contour) 740 # Shuffle the points so that contour the is guaranteed 744 contour = contour[firstOnCurve:] + contour[:firstOnCurve] 746 pen.moveTo(contour[-1]) 747 while contour: 750 pen.lineTo(contour[0] [all...] |