Home
last modified time | relevance | path

Searched refs:edge2 (Results 1 – 12 of 12) sorted by relevance

/external/freetype/src/autofit/
Dafcjk.c1107 AF_Edge edge2; in af_cjk_hints_compute_edges() local
1111 edge2 = edge->link; in af_cjk_hints_compute_edges()
1117 edge2 = edge->serif; in af_cjk_hints_compute_edges()
1120 if ( edge2 ) in af_cjk_hints_compute_edges()
1126 edge_delta = edge->fpos - edge2->fpos; in af_cjk_hints_compute_edges()
1133 edge2 = seg2->edge; in af_cjk_hints_compute_edges()
1136 edge2 = seg2->edge; in af_cjk_hints_compute_edges()
1140 edge->serif = edge2; in af_cjk_hints_compute_edges()
1141 edge2->flags |= AF_EDGE_SERIF; in af_cjk_hints_compute_edges()
1144 edge->link = edge2; in af_cjk_hints_compute_edges()
[all …]
Daflatin2.c1287 AF_Edge edge2; in af_latin2_hints_compute_edges() local
1291 edge2 = edge->link; in af_latin2_hints_compute_edges()
1297 edge2 = edge->serif; in af_latin2_hints_compute_edges()
1300 if ( edge2 ) in af_latin2_hints_compute_edges()
1306 edge_delta = edge->fpos - edge2->fpos; in af_latin2_hints_compute_edges()
1315 edge2 = seg2->edge; in af_latin2_hints_compute_edges()
1318 edge2 = seg2->edge; in af_latin2_hints_compute_edges()
1322 edge->serif = edge2; in af_latin2_hints_compute_edges()
1323 edge2->flags |= AF_EDGE_SERIF; in af_latin2_hints_compute_edges()
1326 edge->link = edge2; in af_latin2_hints_compute_edges()
[all …]
Daflatin.c1724 AF_Edge edge2; in af_latin_hints_compute_edges() local
1728 edge2 = edge->link; in af_latin_hints_compute_edges()
1734 edge2 = edge->serif; in af_latin_hints_compute_edges()
1737 if ( edge2 ) in af_latin_hints_compute_edges()
1743 edge_delta = edge->fpos - edge2->fpos; in af_latin_hints_compute_edges()
1752 edge2 = seg2->edge; in af_latin_hints_compute_edges()
1755 edge2 = seg2->edge; in af_latin_hints_compute_edges()
1759 edge->serif = edge2; in af_latin_hints_compute_edges()
1760 edge2->flags |= AF_EDGE_SERIF; in af_latin_hints_compute_edges()
1763 edge->link = edge2; in af_latin_hints_compute_edges()
[all …]
Dafloader.c166 AF_Edge edge2 = edge1 + in af_loader_load_g() local
172 old_rsb = loader->pp2.x - edge2->opos; in af_loader_load_g()
180 pp2x_uh = edge2->pos + old_rsb; in af_loader_load_g()
197 if ( loader->pp2.x <= edge2->pos && old_rsb > 0 ) in af_loader_load_g()
/external/vulkan-validation-layers/libs/glm/gtx/
Dintersect.inl87 // genType edge2 = vert2 - vert0;
89 // genType pvec = cross(dir, edge2);
107 // position.x = dot(edge2, qvec);
124 genType edge2 = vert2 - vert0; local
126 genType pvec = cross(dir, edge2);
146 position.x = dot(edge2, qvec) * inv_det;
/external/opencv/cv/src/
Dcvsubdivision2d.cpp661 CvSubdiv2DEdge edge0 = (CvSubdiv2DEdge) quadedge, edge1, edge2; in cvCalcSubdivVoronoi2D() local
669 edge2 = cvSubdiv2DGetEdge( edge1, CV_NEXT_AROUND_LEFT ); in cvCalcSubdivVoronoi2D()
682 ((CvQuadEdge2D *) (edge2 & ~3))->pt[3 - (edge2 & 2)] = voronoi_point; in cvCalcSubdivVoronoi2D()
689 edge2 = cvSubdiv2DGetEdge( edge1, CV_NEXT_AROUND_RIGHT ); in cvCalcSubdivVoronoi2D()
703 ((CvQuadEdge2D *) (edge2 & ~3))->pt[1 + (edge2 & 2)] = voronoi_point; in cvCalcSubdivVoronoi2D()
/external/opencv3/modules/core/test/
Dtest_ds.cpp1449 CvGraphEdge* edge = 0, *edge2 = 0; in test_graph_ops() local
1638 res = cvGraphAddEdgeByPtr(graph, vtx, vtx2, pass_data ? edge : 0, &edge2); in test_graph_ops()
1646 res = cvGraphAddEdge(graph, v_idx[0], v_idx[1], pass_data ? edge : 0, &edge2); in test_graph_ops()
1652 CV_TS_SEQ_CHECK_CONDITION( res == 1 && edge2 != 0 && CV_IS_SET_ELEM(edge2) && in test_graph_ops()
1653 ((edge2->vtx[0] == vtx && edge2->vtx[1] == vtx2) || in test_graph_ops()
1654 … (!CV_IS_GRAPH_ORIENTED(graph) && edge2->vtx[0] == vtx2 && edge2->vtx[1] == vtx)) && in test_graph_ops()
1655 … (!pass_data || pure_edge_size == 0 || memcmp( edge2 + 1, edge + 1, pure_edge_size ) == 0), in test_graph_ops()
1661 memcpy( edge2 + 1, edge + 1, pure_edge_size ); in test_graph_ops()
1662 edge2->weight = edge->weight; in test_graph_ops()
1671 CV_TS_SEQ_CHECK_CONDITION( (!first_free || first_free == (CvSetElem*)edge2) && in test_graph_ops()
[all …]
Dtest_io.cpp369 CvGraphEdge* edge2 = cvFindGraphEdge(graph2, edges[i][0], edges[i][1]); in run() local
371 if( !edge2 || edge2->weight != (float)(i+1) || in run()
/external/skia/samplecode/
DSamplePatch.cpp138 SkPoint* edge2 = edge1 + nv; in draw() local
139 SkPoint* edge3 = edge2 + nu; in draw()
144 eval_patch_edge(fPts + 6, edge2, nu); in draw()
171 last[i] = edge2[nu - i]; in draw()
/external/opencv3/modules/imgproc/src/
Dsubdivision2d.cpp595 int edge2 = getEdge( edge1, NEXT_AROUND_LEFT ); in calcVoronoi() local
608 qedges[edge2 >> 2].pt[3 - (edge2 & 2)] = newPoint(virt_point, true); in calcVoronoi()
615 int edge2 = getEdge( edge1, NEXT_AROUND_RIGHT ); in calcVoronoi() local
628 qedges[edge2 >> 2].pt[1 + (edge2 & 2)] = newPoint(virt_point, true); in calcVoronoi()
/external/opencv/cvaux/src/
Dcvlee.cpp108 CvVoronoiEdgeInt* edge2; member
1833 (pEdge != pSite->edge2 && CurrSiteSeq->total == 1)) in _cvConvertSameOrientation()
1988 pEdge = pSite->edge2; in _cvConvertChangeOrientation()
2559 pEdge1->direction = pSite_prev->edge2->direction; in _cvConstructEdges()
2560 pEdge1->twin_edge = pSite_prev->edge2; in _cvConstructEdges()
2561 pSite_prev->edge2->twin_edge = pEdge1; in _cvConstructEdges()
2567 pSite->edge2 = pEdge2; in _cvConstructEdges()
2586 pEdge_left = pSite_left->edge2->next_edge; in _cvConstructExtVD()
2591 pSite_left->edge2 = NULL; in _cvConstructExtVD()
2608 if(pSite_left->edge2==NULL) in _cvConstructExtVD()
[all …]
/external/skia/src/core/
DSkScan_Antihair.cpp910 static inline void align_thin_stroke(FDot8& edge1, FDot8& edge2) { in align_thin_stroke() argument
911 SkASSERT(edge1 <= edge2); in align_thin_stroke()
913 if (FDot8Floor(edge1) == FDot8Floor(edge2)) { in align_thin_stroke()
914 edge2 -= (edge1 & 0xFF); in align_thin_stroke()