• Home
  • Raw
  • Download

Lines Matching full:shape

23  * Shape is effectively a std::variant over different geometric shapes, with the most complex
27 class Shape {
34 Shape() {} in Shape() function
35 Shape(const Shape& shape) { *this = shape; } in Shape() function
36 Shape(Shape&&) = delete;
38 Shape(SkPoint p0, SkPoint p1) { this->setLine(p0, p1); } in Shape() function
39 Shape(SkV2 p0, SkV2 p1) { this->setLine(p0, p1); } in Shape() function
40 Shape(float2 p0, float2 p1) { this->setLine(p0, p1); } in Shape() function
41 explicit Shape(const Rect& rect) { this->setRect(rect); } in Shape() function
42 explicit Shape(const SkRect& rect) { this->setRect(rect); } in Shape() function
43 explicit Shape(const SkRRect& rrect) { this->setRRect(rrect); } in Shape() function
44 explicit Shape(const SkPath& path) { this->setPath(path); } in Shape() function
46 ~Shape() { this->reset(); } in ~Shape()
49 // defining a move assignment operator for Shape.
50 Shape& operator=(Shape&&) = delete;
51 Shape& operator=(const Shape&);
53 // Return the type of the data last stored in the Shape, which does not incorporate any possible
84 // True if the given bounding box is completely inside the shape, if it's conservatively treated
85 // as a filled, closed shape.
89 // True if the underlying geometry represents a closed shape, without the need for an
93 // True if the underlying shape is known to be convex, assuming no other styles. If 'simpleFill'
97 // The bounding box of the shape.
100 // Convert the shape into a path that describes the same geometry.
103 // Access the actual geometric description of the shape. May only access the appropriate type
111 // Update the geometry stored in the Shape and update its associated type to match. This
113 // true will still be considered an rrect by Shape.