5#ifndef FLUTTER_IMPELLER_GEOMETRY_TRIG_H_
6#define FLUTTER_IMPELLER_GEOMETRY_TRIG_H_
11#include "flutter/impeller/geometry/point.h"
A structure to store the sine and cosine of an angle.
Vector2 operator*(double radius) const
Returns the corresponding point on a circle of a given |radius|.
Trig(double cos, double sin)
Construct a Trig object from the given cosine and sine values.
Trig(Radians r)
Construct a Trig object from a given angle in radians.
Vector2 operator*(const Size &ellipse_radii) const
Returns the corresponding point on an ellipse with the given size.