/external/mesa3d/src/gallium/state_trackers/vega/ |
D | stroker.c | 522 static INLINE enum line_join_mode stroker_join_mode(struct stroker *s) in stroker_join_mode() 536 static INLINE enum line_join_mode stroker_cap_mode(struct stroker *s) in stroker_cap_mode() 550 void stroker_emit_move_to(struct stroker *stroker, VGfloat x, VGfloat y) in stroker_emit_move_to() argument 557 stroker->back2_x = stroker->back1_x; in stroker_emit_move_to() 558 stroker->back2_y = stroker->back1_y; in stroker_emit_move_to() 559 stroker->back1_x = x; in stroker_emit_move_to() 560 stroker->back1_y = y; in stroker_emit_move_to() 562 path_append_data(stroker->path, in stroker_emit_move_to() 567 void stroker_emit_line_to(struct stroker *stroker, VGfloat x, VGfloat y) in stroker_emit_line_to() argument 574 stroker->back2_x = stroker->back1_x; in stroker_emit_line_to() [all …]
|
D | stroker.h | 37 struct stroker { struct 38 void (*begin)(struct stroker *stroker); argument 39 void (*process_subpath)(struct stroker *stroker); argument 40 void (*end)(struct stroker *stroker); argument 58 struct stroker base; argument 60 struct stroker stroker; member 68 void stroker_init(struct stroker *stroker, 70 void dash_stroker_init(struct stroker *stroker, 72 void dash_stroker_cleanup(struct dash_stroker *stroker); 73 void stroker_cleanup(struct stroker *stroker); [all …]
|
D | arc.c | 476 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_point() local 477 stroker_line_to(stroker, x, y); in stroke_point() 482 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_curve() local 483 stroker_curve_to(stroker, in stroke_curve() 491 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_emit_point() local 492 stroker_emit_line_to(stroker, x, y); in stroke_emit_point() 497 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_emit_curve() local 498 stroker_emit_curve_to(stroker, in stroke_emit_curve() 670 struct stroker *stroke, in arc_stroke_cb() 684 struct stroker *stroker, in arc_stroker_emit() argument [all …]
|
D | arc.h | 34 struct stroker; 72 struct stroker *stroke, 76 struct stroker *stroke,
|
D | path.c | 1238 struct dash_stroker stroker; in path_create_stroke() local 1267 dash_stroker_init((struct stroker *)&stroker, vg_state); in path_create_stroke() 1269 stroker_init((struct stroker *)&stroker, vg_state); in path_create_stroke() 1271 stroker_begin((struct stroker *)&stroker); in path_create_stroke() 1283 stroker_line_to((struct stroker *)&stroker, x0, y0); in path_create_stroke() 1298 stroker_move_to((struct stroker *)&stroker, x0, y0); in path_create_stroke() 1310 stroker_line_to((struct stroker *)&stroker, x0, y0); in path_create_stroke() 1321 stroker_line_to((struct stroker *)&stroker, x0, y0); in path_create_stroke() 1332 stroker_line_to((struct stroker *)&stroker, x0, y0); in path_create_stroke() 1357 stroker_line_to((struct stroker *)&stroker, x3, y3); in path_create_stroke() [all …]
|
D | SConscript | 41 'stroker.c',
|
/external/freetype/src/base/ |
D | ftstroke.c | 794 FT_Stroker stroker = NULL; in FT_Stroker_New() local 805 if ( !FT_NEW( stroker ) ) in FT_Stroker_New() 807 stroker->library = library; in FT_Stroker_New() 809 ft_stroke_border_init( &stroker->borders[0], memory ); in FT_Stroker_New() 810 ft_stroke_border_init( &stroker->borders[1], memory ); in FT_Stroker_New() 813 *astroker = stroker; in FT_Stroker_New() 822 FT_Stroker_Set( FT_Stroker stroker, in FT_Stroker_Set() argument 828 if ( !stroker ) in FT_Stroker_Set() 831 stroker->radius = radius; in FT_Stroker_Set() 832 stroker->line_cap = line_cap; in FT_Stroker_Set() [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftstroke.c | 804 FT_Stroker stroker = NULL; in FT_Stroker_New() local 815 if ( !FT_NEW( stroker ) ) in FT_Stroker_New() 817 stroker->library = library; in FT_Stroker_New() 819 ft_stroke_border_init( &stroker->borders[0], memory ); in FT_Stroker_New() 820 ft_stroke_border_init( &stroker->borders[1], memory ); in FT_Stroker_New() 823 *astroker = stroker; in FT_Stroker_New() 832 FT_Stroker_Set( FT_Stroker stroker, in FT_Stroker_Set() argument 838 if ( !stroker ) in FT_Stroker_Set() 841 stroker->radius = radius; in FT_Stroker_Set() 842 stroker->line_cap = line_cap; in FT_Stroker_Set() [all …]
|
/external/freetype/include/ |
D | ftstroke.h | 315 FT_Stroker_Set( FT_Stroker stroker, 338 FT_Stroker_Rewind( FT_Stroker stroker ); 375 FT_Stroker_ParseOutline( FT_Stroker stroker, 406 FT_Stroker_BeginSubPath( FT_Stroker stroker, 432 FT_Stroker_EndSubPath( FT_Stroker stroker ); 459 FT_Stroker_LineTo( FT_Stroker stroker, 490 FT_Stroker_ConicTo( FT_Stroker stroker, 525 FT_Stroker_CubicTo( FT_Stroker stroker, 571 FT_Stroker_GetBorderCounts( FT_Stroker stroker, 617 FT_Stroker_ExportBorder( FT_Stroker stroker, [all …]
|
/external/pdfium/third_party/freetype/include/freetype/ |
D | ftstroke.h | 315 FT_Stroker_Set( FT_Stroker stroker, 338 FT_Stroker_Rewind( FT_Stroker stroker ); 375 FT_Stroker_ParseOutline( FT_Stroker stroker, 406 FT_Stroker_BeginSubPath( FT_Stroker stroker, 432 FT_Stroker_EndSubPath( FT_Stroker stroker ); 459 FT_Stroker_LineTo( FT_Stroker stroker, 490 FT_Stroker_ConicTo( FT_Stroker stroker, 525 FT_Stroker_CubicTo( FT_Stroker stroker, 571 FT_Stroker_GetBorderCounts( FT_Stroker stroker, 617 FT_Stroker_ExportBorder( FT_Stroker stroker, [all …]
|
/external/skia/src/core/ |
D | SkStrokeRec.cpp | 110 SkStroke stroker; in applyToPath() local 111 stroker.setCap((SkPaint::Cap)fCap); in applyToPath() 112 stroker.setJoin((SkPaint::Join)fJoin); in applyToPath() 113 stroker.setMiterLimit(fMiterLimit); in applyToPath() 114 stroker.setWidth(fWidth); in applyToPath() 115 stroker.setDoFill(fStrokeAndFill); in applyToPath() 117 stroker.setResScale(gDebugStrokerErrorSet ? gDebugStrokerError : fResScale); in applyToPath() 119 stroker.setResScale(fResScale); in applyToPath() 121 stroker.strokePath(src, dst); in applyToPath()
|
D | SkStroke.cpp | 1373 SkPathStroker stroker(src, radius, fMiterLimit, this->getCap(), this->getJoin(), fResScale); in strokePath() local 1381 stroker.moveTo(pts[0]); in strokePath() 1384 stroker.lineTo(pts[1], &iter); in strokePath() 1388 stroker.quadTo(pts[1], pts[2]); in strokePath() 1392 stroker.conicTo(pts[1], pts[2], iter.conicWeight()); in strokePath() 1397 stroker.cubicTo(pts[1], pts[2], pts[3]); in strokePath() 1405 if (stroker.hasOnlyMoveTo()) { in strokePath() 1406 stroker.lineTo(stroker.moveToPt()); in strokePath() 1412 if (stroker.isZeroLength()) { in strokePath() 1418 stroker.close(lastSegment == SkPath::kLine_Verb); in strokePath() [all …]
|
/external/pdfium/core/src/fxge/skia/ |
D | fx_skia_device.cpp | 246 SkStroke stroker; in SkRasterizeStroke() local 247 stroker.setCap(cap); in SkRasterizeStroke() 248 stroker.setJoin(join); in SkRasterizeStroke() 249 stroker.setMiterLimit(pGraphState->m_MiterLimit); in SkRasterizeStroke() 250 stroker.setWidth(width); in SkRasterizeStroke() 251 stroker.setDoFill(FALSE); in SkRasterizeStroke() 252 stroker.strokePath(path_data, dstPathData); in SkRasterizeStroke()
|