Lines Matching defs:SkIPoint
16 SkIPoint holds two 16 bit integer coordinates
36 /** \struct SkIPoint
38 SkIPoint holds two 32 bit integer coordinates
40 struct SkIPoint {
43 static SkIPoint Make(int32_t x, int32_t y) {
44 SkIPoint pt;
70 void rotateCW(SkIPoint* dst) const;
80 void rotateCCW(SkIPoint* dst) const;
94 SkIPoint operator-() const {
95 SkIPoint neg;
102 void operator+=(const SkIPoint& v) {
108 void operator-=(const SkIPoint& v) {
118 friend bool operator==(const SkIPoint& a, const SkIPoint& b) {
122 friend bool operator!=(const SkIPoint& a, const SkIPoint& b) {
129 friend SkIPoint operator-(const SkIPoint& a, const SkIPoint& b) {
130 SkIPoint v;
137 friend SkIPoint operator+(const SkIPoint& a, const SkIPoint& b) {
138 SkIPoint v;
145 static int32_t DotProduct(const SkIPoint& a, const SkIPoint& b) {
151 static int32_t CrossProduct(const SkIPoint& a, const SkIPoint& b) {
187 void iset(const SkIPoint& p) {