Searched refs:DistFncMenuItem (Results 1 – 1 of 1) sorted by relevance
/external/skia/samplecode/ |
D | SampleVariableWidthStroker.cpp | 1060 struct DistFncMenuItem { struct in VariableWidthStroker 1066 DistFncMenuItem(const std::string& name, int degree, bool selected) { in DistFncMenuItem() function 1143 static ScalarBezCurve makeDistFnc(const std::vector<DistFncMenuItem>& fncs, float strokeWidth) { in makeDistFnc() 1313 const auto drawControls = [](std::vector<DistFncMenuItem>& distFncs, in drawUI() 1381 const std::vector<DistFncMenuItem> fDefaultsDistFncs = { 1382 DistFncMenuItem("Linear", 1, true), DistFncMenuItem("Quadratic", 2, false), 1383 DistFncMenuItem("Cubic", 3, false), DistFncMenuItem("One Louder (11)", 11, false), 1384 DistFncMenuItem("30?!", 30, false)}; 1385 std::vector<DistFncMenuItem> fDistFncs = fDefaultsDistFncs; 1386 std::vector<DistFncMenuItem> fDistFncsInner = fDefaultsDistFncs;
|