22#include <kiwano/platform/NativeObject.hpp>
74 static RefPtr<Shape> CreatePolygon(
const Vector<Point>& vertices);
80 Rect GetBoundingBox()
const;
91 bool ContainsPoint(
const Point& point,
const Matrix3x2* transform =
nullptr)
const;
95 float GetLength()
const;
99 float ComputeArea()
const;
106 bool ComputePointAtLength(
float length,
Point& point,
Vec2& tangent)
const;
含有本地指针的对象
Definition: NativeObject.hpp:32
引用计数智能指针
Definition: RefBasePtr.hpp:35
形状生成器
Definition: ShapeMaker.h:45