Home
last modified time | relevance | path

Searched refs:PathElement (Results 1 – 25 of 36) sorted by relevance

12

/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/outline/
Dtesting.rs13 pub enum PathElement { enum
22 pub elements: Vec<PathElement>,
28 self.elements.push(PathElement::MoveTo([x, y])); in move_to()
33 self.elements.push(PathElement::LineTo([x, y])); in line_to()
38 self.elements.push(PathElement::QuadTo([x0, y0, x1, y1])); in quad_to()
44 .push(PathElement::CurveTo([x0, y0, x1, y1, x2, y2])); in curve_to()
57 .find(|element| matches!(*element, PathElement::MoveTo(_))) in close()
59 if let Some(PathElement::MoveTo(point)) = last_move { in close()
61 self.elements.push(PathElement::LineTo(point)); in close()
75 pub path: Vec<PathElement>,
[all …]
Dpen.rs28 pub enum PathElement { enum
72 impl OutlinePen for Vec<PathElement> {
74 self.push(PathElement::MoveTo { x, y }) in move_to()
78 self.push(PathElement::LineTo { x, y }) in line_to()
82 self.push(PathElement::QuadTo { cx0, cy0, x, y }) in quad_to()
86 self.push(PathElement::CurveTo { in curve_to()
97 self.push(PathElement::Close) in close()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/outline/
Dtesting.rs13 pub enum PathElement { enum
22 pub elements: Vec<PathElement>,
28 self.elements.push(PathElement::MoveTo([x, y])); in move_to()
33 self.elements.push(PathElement::LineTo([x, y])); in line_to()
38 self.elements.push(PathElement::QuadTo([x0, y0, x1, y1])); in quad_to()
44 .push(PathElement::CurveTo([x0, y0, x1, y1, x2, y2])); in curve_to()
57 .find(|element| matches!(*element, PathElement::MoveTo(_))) in close()
59 if let Some(PathElement::MoveTo(point)) = last_move { in close()
61 self.elements.push(PathElement::LineTo(point)); in close()
75 pub path: Vec<PathElement>,
[all …]
Dpen.rs28 pub enum PathElement { enum
72 impl OutlinePen for Vec<PathElement> {
74 self.push(PathElement::MoveTo { x, y }) in move_to()
78 self.push(PathElement::LineTo { x, y }) in line_to()
82 self.push(PathElement::QuadTo { cx0, cy0, x, y }) in quad_to()
86 self.push(PathElement::CurveTo { in curve_to()
97 self.push(PathElement::Close) in close()
/external/google-cloud-java/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/
DKey.java183 public com.google.privacy.dlp.v2.Key.PathElement.IdTypeCase getIdTypeCase(); in getIdTypeCase()
196 public static final class PathElement extends com.google.protobuf.GeneratedMessageV3 class in Key
202 private PathElement(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in PathElement() method in Key.PathElement
206 private PathElement() { in PathElement() method in Key.PathElement
213 return new PathElement(); in newInstance()
232 com.google.privacy.dlp.v2.Key.PathElement.class, in internalGetFieldAccessorTable()
233 com.google.privacy.dlp.v2.Key.PathElement.Builder.class); in internalGetFieldAccessorTable()
511 if (!(obj instanceof com.google.privacy.dlp.v2.Key.PathElement)) { in equals()
514 com.google.privacy.dlp.v2.Key.PathElement other = in equals()
515 (com.google.privacy.dlp.v2.Key.PathElement) obj; in equals()
[all …]
DKeyOrBuilder.java83 java.util.List<com.google.privacy.dlp.v2.Key.PathElement> getPathList(); in getPathList()
100 com.google.privacy.dlp.v2.Key.PathElement getPath(int index); in getPath()
/external/rust/android-crates-io/crates/criterion/src/plot/plotters_backend/
Dpdf.rs90 .draw_series(std::iter::once(PathElement::new( in pdf_comparison_figure()
96 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_RED)); in pdf_comparison_figure()
99 .draw_series(std::iter::once(PathElement::new( in pdf_comparison_figure()
105 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_BLUE)); in pdf_comparison_figure()
164 .draw_series(std::iter::once(PathElement::new( in pdf_small()
256 .draw_series(std::iter::once(PathElement::new( in pdf()
262 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_BLUE)); in pdf()
266 PathElement::new(vec![(lomt, 0.0), (lomt, max_iters)], &DARK_ORANGE), in pdf()
267 PathElement::new(vec![(himt, 0.0), (himt, max_iters)], &DARK_ORANGE), in pdf()
268 PathElement::new(vec![(lost, 0.0), (lost, max_iters)], &DARK_RED), in pdf()
[all …]
Dregression.rs80 .draw_series(std::iter::once(PathElement::new( in regression_figure()
87 PathElement::new( in regression_figure()
196 PathElement::new(vec![(0.0, 0.0), (max_iters, base_point)], &DARK_RED).into_dyn(), in regression_comparison_figure()
206 PathElement::new(vec![(x, y), (x + 20, y)], DARK_RED.filled().stroke_width(2)) in regression_comparison_figure()
211 PathElement::new(vec![(0.0, 0.0), (max_iters, point)], &DARK_BLUE).into_dyn(), in regression_comparison_figure()
221 PathElement::new( in regression_comparison_figure()
Ddistributions.rs92 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_BLUE)); in abs_distribution()
112 .draw_series(std::iter::once(PathElement::new( in abs_distribution()
118 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_BLUE)); in abs_distribution()
247 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_BLUE)); in rel_distribution()
266 .draw_series(std::iter::once(PathElement::new( in rel_distribution()
272 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_BLUE)); in rel_distribution()
Dt_test.rs50 .draw_series(std::iter::once(PathElement::new( in t_test()
56 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], &DARK_BLUE)); in t_test()
/external/skia/third_party/vello/cpp/
Dpath_iterator.h11 struct PathElement;
17 virtual bool next_element(PathElement* out_elem) = 0;
/external/cronet/tot/testing/libfuzzer/fuzzers/
Dpaint_vector_icon_fuzztest.cc83 std::vector<gfx::PathElement> ConvertCommands( in ConvertCommands()
85 std::vector<gfx::PathElement> path; in ConvertCommands()
110 std::vector<gfx::PathElement> path = ConvertCommands(commands); in PaintVectorIcon()
/external/cronet/stable/testing/libfuzzer/fuzzers/
Dpaint_vector_icon_fuzztest.cc83 std::vector<gfx::PathElement> ConvertCommands( in ConvertCommands()
85 std::vector<gfx::PathElement> path; in ConvertCommands()
110 std::vector<gfx::PathElement> path = ConvertCommands(commands); in PaintVectorIcon()
/external/rust/android-crates-io/crates/plotters/examples/
Dtwo-scales.rs36 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], BLUE)); in main()
44 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], RED)); in main()
Dchart.rs31 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], RED)); in main()
38 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], BLUE)); in main()
Derrorbar.rs32 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], GREEN)); in main()
46 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], BLUE)); in main()
Dsnowflake.rs47 chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, RED)))?; in main()
D3d-plot.rs47 .legend(|(x, y)| PathElement::new(vec![(x, y), (x + 20, y)], BLACK)); in main()
Danimation.rs52 chart.draw_series(std::iter::once(PathElement::new(snowflake_vertices, RED)))?; in main()
/external/rust/android-crates-io/crates/plotters/src/series/
Darea_series.rs1 use crate::element::{DynElement, IntoDynElement, PathElement, Polygon};
91 Some(PathElement::new(data, self.border_style).into_dyn()) in next()
Dline_series.rs2 Circle, DashedPathElement, DottedPathElement, DynElement, IntoDynElement, PathElement,
55 Some(PathElement::new(data, self.style).into_dyn()) in next()
/external/rust/android-crates-io/crates/plotters/src/chart/context/cartesian3d/
Ddraw_impl.rs12 use crate::element::{EmptyElement, PathElement, Polygon, Text};
111 + PathElement::new(vec![(0, 0), dir], style)
172 self.plotting_area().draw(&PathElement::new(
277 .draw(&PathElement::new(panel, bold_grid_style))?;
296 self.plotting_area().draw(&PathElement::new(
/external/rust/android-crates-io/crates/plotters/src/element/
Dbasic_shapes.rs83 pub type Path<Coord> = PathElement<Coord>;
86 pub struct PathElement<Coord> { struct
90 impl<Coord> PathElement<Coord> { argument
103 impl<'a, Coord> PointCollection<'a, Coord> for &'a PathElement<Coord> { implementation
111 impl<Coord, DB: DrawingBackend> Drawable<DB> for PathElement<Coord> { implementation
137 da.draw(&PathElement::new( in test_path_element()
/external/skia/third_party/vello/src/
Dlib.rs130 struct PathElement { struct
256 unsafe fn next_element(self: Pin<&mut PathIterator>, out_elem: *mut PathElement) -> bool; in next_element()
/external/rust/android-crates-io/crates/plotters/src/chart/context/cartesian2d/
Ddraw_impl.rs12 use crate::element::PathElement;
122 area.draw(&PathElement::new(vec![(x0, y0), (x1, y1)], *axis_style))?; in draw_axis()
282 let line = PathElement::new(vec![(kx0, ky0), (kx1, ky1)], *style); in draw_axis_and_labels()

12