/external/skia/include/core/ |
SkPathMeasure.h | 37 /** Return the total length of the current contour, or 0 if no path 72 /** Return true if the current contour is closed() 76 /** Move to the next contour in the path. Return true if one exists, or false if 89 SkScalar fLength; // relative to the current contour 90 int fFirstPtIndex; // relative to the current contour 91 bool fIsClosed; // relative to the current contour
|
/external/skia/src/pathops/ |
SkOpContour.h | 83 SkOpContour* contour = SkOpTAllocator<SkOpContour>::New(allocator); local 84 contour->setNext(nullptr); 90 prev->setNext(contour); 91 return contour; 309 void remove(SkOpContour* contour) { 310 if (contour == this) { 314 SkASSERT(contour->fNext == nullptr); 317 while ((next = prev->next()) != contour) { 364 void setNext(SkOpContour* contour) { 365 // SkASSERT(!fNext == !!contour); [all...] |
SkPathOpsSimplify.cpp | 181 SkOpContour contour; local 182 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour); 187 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); 192 contour.dumpSegments(); 213 contour.dumpSegments("aligned");
|
/external/opencv3/doc/py_tutorials/py_imgproc/py_contours/ |
py_table_of_contents_contours.markdown | 26 about Contour Hierarchy
|
/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...] |
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...] |
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...] |
cvmatchcontours.cpp | 49 // contour_1 - pointer to the first input contour object. 50 // contour_2 - pointer to the second input contour object. 212 // Calculates matching of the two contour trees 215 // tree1 - pointer to the first input contour tree object. 216 // tree2 - pointer to the second input contour tree object. 219 // threshold - threshold for the contour trees matching 248 CV_ERROR( CV_StsBadArg, "The first argument is not a valid contour tree" ); 251 CV_ERROR( CV_StsBadArg, "The second argument is not a valid contour tree" );
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 356 int32_t GlyphTable::SimpleGlyph::NumberOfPoints(int32_t contour) { 358 if (contour >= NumberOfContours()) { 361 return contour_index_[contour + 1] - contour_index_[contour]; 364 int32_t GlyphTable::SimpleGlyph::XCoordinate(int32_t contour, int32_t point) { 366 return x_coordinates_[contour_index_[contour] + point]; 369 int32_t GlyphTable::SimpleGlyph::YCoordinate(int32_t contour, int32_t point) { 371 return y_coordinates_[contour_index_[contour] + point]; 374 bool GlyphTable::SimpleGlyph::OnCurve(int32_t contour, int32_t point) { 376 return on_curve_[contour_index_[contour] + point] [all...] |
/frameworks/minikin/tests/data/ |
Ko.ttx | 168 <contour></contour><instructions><assembly></assembly></instructions> 172 <contour></contour><instructions><assembly></assembly></instructions> 175 <contour></contour><instructions><assembly></assembly></instructions> 178 <contour></contour><instructions><assembly></assembly></instructions> 181 <contour></contour><instructions><assembly></assembly></instructions [all...] |
ColorTextMixedEmojiFont.ttx | 162 <contour></contour><instructions><assembly></assembly></instructions> 166 <contour></contour><instructions><assembly></assembly></instructions> 169 <contour></contour><instructions><assembly></assembly></instructions>
|
/external/opencv3/modules/imgproc/src/ |
shapedescr.cpp | 295 // calculates length of a curve (e.g. contour perimeter) 340 Mat contour = _contour.getMat(); local 341 int npoints = contour.checkVector(2); 342 int depth = contour.depth(); 350 const Point* ptsi = contour.ptr<Point>(); 351 const Point2f* ptsf = contour.ptr<Point2f>(); 753 /* area of a contour sector */ 754 static double icvContourSecArea( CvSeq * contour, CvSlice slice ) 758 CvSeqReader reader; /* points reader of contour */ 769 CV_Assert( contour != NULL && CV_IS_SEQ_POINT_SET( contour )) 919 CvSeq* contour = 0; local 960 CvSeq* contour = 0; local [all...] |
approx.cpp | 377 /*Applies some approximation algorithm to chain-coded contour(s) and 401 CvSeq *contour = 0; local 409 contour = icvApproximateChainTC89( (CvChain *) src_seq, sizeof( CvContour ), storage, method ); 415 if( contour->total > 0 ) 417 cvBoundingRect( contour, 1 ); 419 contour->v_prev = parent; 420 contour->h_prev = prev_contour; 423 prev_contour->h_next = contour; 425 parent->v_next = contour; 426 prev_contour = contour; 769 CvSeq *contour = 0; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 634 * Set the beginning of the next contour to the point (x,y). 636 * @param x The x-coordinate of the start of a new contour 637 * @param y The y-coordinate of the start of a new contour 644 * Set the beginning of the next contour relative to the last point on the 645 * previous contour. If there is no previous contour, this is treated the 649 * previous contour, to specify the start of a new contour 651 * previous contour, to specify the start of a new contour [all...] |
/external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contour_features/ |
py_contour_features.markdown | 0 Contour Features {#tutorial_py_contour_features} 40 2. Contour Area 43 Contour area is given by the function **cv2.contourArea()** or from moments, **M['m00']**. 48 3. Contour Perimeter 52 argument specify whether shape is a closed contour (if passed True), or just a curve. 57 4. Contour Approximation 60 It approximates a contour shape to another shape with less number of vertices depending upon the 68 which is maximum distance from contour to approximated contour. It is an accuracy parameter. A wise 83 Convex Hull will look similar to contour approximation, but it is not (Both may provide same result [all...] |
/external/skia/include/effects/ |
Sk1DPathEffect.h | 23 /** Called at the start of each contour, returns the initial offset 24 into that contour. 30 contour is done.
|
/external/opencv/cvaux/src/ |
extendededges.cpp | 74 //get vertical list of segments for one contour 120 //makes vertical list of segments for 1 contour 127 //approx contour by single edges 139 //first pass through contour - compute number of branches at every point 178 //exclude this point from contour 224 //approx contour by single edges
|
/external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contour_properties/ |
py_contour_properties.markdown | 0 Contour Properties {#tutorial_py_contour_properties} 25 Extent is the ratio of contour area to bounding rectangle area. 38 Solidity is the ratio of contour area to its convex hull area. 40 \f[Solidity = \frac{Contour \; Area}{Convex \; Hull \; Area}\f] 51 Equivalent Diameter is the diameter of the circle whose area is same as the contour area. 53 \f[Equivalent \; Diameter = \sqrt{\frac{4 \times Contour \; Area}{\pi}}\f]
|
/frameworks/base/core/tests/coretests/assets/fonts/ |
HintedAdvanceWidthTest-Regular.ttx | 170 <contour> 175 </contour> 190 <contour> 203 </contour> 217 <contour> 234 </contour> 235 <contour> 252 </contour> 262 <contour></contour> [all...] |
/external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contours_more_functions/ |
py_contours_more_functions.markdown | 66 This function finds the shortest distance between a point in the image and a contour. It returns the 67 distance which is negative when point is outside the contour, positive when point is inside and zero 68 if point is on the contour. 75 False, it finds whether the point is inside or outside or on the contour (it returns +1, -1, 0 128 inside curve is blue depending on the distance. Similarly outside points are red. Contour edges
|
/external/opencv3/samples/cpp/ |
squares.cpp | 20 "\nA program using pyramid scaling, Canny, contours, contour simpification and\n" 91 // test each contour 94 // approximate contour with accuracy proportional 95 // to the contour perimeter 103 // contour orientation
|
/frameworks/base/graphics/java/android/graphics/ |
PathMeasure.java | 48 * even if its contour was not explicitly closed. 68 * Return the total length of the current contour, or 0 if no path is 81 * @param distance The distance along the current contour to sample 141 * Return true if the current contour is closed() 148 * Move to the next contour in the path. Return true if one exists, or
|
/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/opencv/cv/include/ |
cvtypes.h | 73 CvSeq* contour; /* optional component boundary member in struct:CvConnectedComp 74 (the contour might have child contours corresponding to the holes)*/ 84 /* contour retrieval mode */ 90 /* contour approximation method */ 115 /* Contour tree header */ 124 /* Finds a sequence of convexity defects of given contour */ 127 CvPoint* start; /* point of the contour where the defect begins */ 128 CvPoint* end; /* point of the contour where the defect ends */
|