HomeSort by relevance Sort by last modified time
    Searched defs:contour (Results 1 - 25 of 44) sorted by null

1 2

  /external/skia/src/pathops/
SkPathOpsTightBounds.cpp 51 SkOpContour contour; local
52 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour);
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();
SkPathOpsSimplify.cpp 150 SkOpContour contour; local
151 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour);
180 contour.dumpSegments();
205 contour.dumpSegments("aligned");
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...]
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();
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...]
SkPathOpsOp.cpp 221 SkOpContour contour; local
222 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour);
SkPathWriter.cpp 12 // wrap path to keep track of whether the contour is initialized and non-empty
187 check start and end of each contour
191 reassemble contour pieces into new path
213 SkDebugf("%s contour start=(%1.9g,%1.9g) end=(%1.9g,%1.9g)\n", __FUNCTION__,
303 const SkPath& contour = fPartials[rIndex]; local
305 fPathPtr->addPath(contour,
309 fPathPtr->reversePathTo(contour);
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 = this->globalState()->allocator()->make<SkOpContour>(); 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...]
SkOpSegment.h 119 SkOpContour* contour() const { function in class:SkOpSegment
346 void setContour(SkOpContour* contour) {
347 fContour = contour;
432 SkOpSegment* fNext; // forward-only linked list used by contour to walk the segments
SkPathOpsWinding.cpp 250 SkOpContour* contour = contourHead; local
252 if (!contour->count()) {
255 contour->rayCheck(hitBase, dir, &hitHead, &allocator);
256 } while ((contour = contour->next()));
353 hitSegment->contour()->setCcw(ccw);
409 SkOpContour* contour = contourHead; local
411 if (contour->done()) {
414 SkOpSpan* result = contour->findSortableTop(contourHead);
418 } while ((contour = contour->next()))
    [all...]
  /external/skia/samplecode/
SampleAAGeometry.cpp 82 const SkStrokeContour* contour = this; local
83 while (contour) {
84 contour->dump();
85 contour = contour->fNext;
    [all...]
  /external/opencv/cv/src/
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...]
cvutils.cpp 47 CvSeq* contour = 0; local
77 contour = (CvSeq*)contour_header;
81 return 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...]
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...]
cvconvhull.cpp 514 /* contour must be a simple polygon */
530 /* is orientation of hull different from contour one */
743 CvSeq* contour = (CvSeq*)array; local
745 if( CV_IS_SEQ(contour) )
747 if( !CV_IS_SEQ_POLYGON(contour))
753 CV_CALL( contour = cvPointSeqFromMat(
757 if( contour->total == 0 )
760 cvStartReadSeq( contour, &reader, 0 );
764 if( CV_SEQ_ELTYPE( contour ) == CV_32SC2 )
772 for( i = 0; i < contour->total; i++
    [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...]
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...]
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...]
  /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/skia/tests/
PathOpsAngleTest.cpp 243 SkOpContourHead contour;
244 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr));
245 contour.init(&state, false, false);
253 contour.addLine(data.fShortPts);
256 contour.addQuad(data.fShortPts);
259 contour.addCubic(data.fShortPts);
263 SkOpSegment* first = contour.first();
435 SkOpContourHead contour; local
436 SkOpGlobalState state(&contour, &allocator SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr));
437 contour.init(&state, false, false)
507 SkOpContourHead contour; local
    [all...]
  /external/freetype/src/pshinter/
pshalgo.c 944 /* compute first segment in contour */
983 /* now, process all segments in the contour */
1180 PSH_Contour contour = glyph->contours; local
1930 PSH_Contour contour = glyph->contours; local
    [all...]
pshalgo.h 133 #define PSH_POINT_POSITIVE 128U /* extremum has positive contour flow */
134 #define PSH_POINT_NEGATIVE 256U /* extremum has negative contour flow */
160 PSH_Contour contour; member in struct:PSH_PointRec_

Completed in 312 milliseconds

1 2