Lines Matching defs:SkIPoint
16 /** \struct SkIPoint
18 SkIPoint holds two 32 bit integer coordinates
20 struct SkIPoint {
23 static SkIPoint Make(int32_t x, int32_t y) {
24 SkIPoint pt;
50 void rotateCW(SkIPoint* dst) const;
60 void rotateCCW(SkIPoint* dst) const;
74 SkIPoint operator-() const {
75 SkIPoint neg;
82 void operator+=(const SkIPoint& v) {
88 void operator-=(const SkIPoint& v) {
98 friend bool operator==(const SkIPoint& a, const SkIPoint& b) {
102 friend bool operator!=(const SkIPoint& a, const SkIPoint& b) {
109 friend SkIPoint operator-(const SkIPoint& a, const SkIPoint& b) {
110 SkIPoint v;
117 friend SkIPoint operator+(const SkIPoint& a, const SkIPoint& b) {
118 SkIPoint v;
125 static int32_t DotProduct(const SkIPoint& a, const SkIPoint& b) {
131 static int32_t CrossProduct(const SkIPoint& a, const SkIPoint& b) {
162 void iset(const SkIPoint& p) {