Home | History | Annotate | Download | only in core

Lines Matching defs:SkIPoint

14 /** \struct SkIPoint
16 SkIPoint holds two 32 bit integer coordinates
18 struct SkIPoint {
21 static SkIPoint Make(int32_t x, int32_t y) {
22 SkIPoint pt;
48 void rotateCW(SkIPoint* dst) const;
58 void rotateCCW(SkIPoint* dst) const;
72 SkIPoint operator-() const {
73 SkIPoint neg;
80 void operator+=(const SkIPoint& v) {
86 void operator-=(const SkIPoint& v) {
96 friend bool operator==(const SkIPoint& a, const SkIPoint& b) {
100 friend bool operator!=(const SkIPoint& a, const SkIPoint& b) {
107 friend SkIPoint operator-(const SkIPoint& a, const SkIPoint& b) {
108 SkIPoint v;
115 friend SkIPoint operator+(const SkIPoint& a, const SkIPoint& b) {
116 SkIPoint v;
123 static int32_t DotProduct(const SkIPoint& a, const SkIPoint& b) {
129 static int32_t CrossProduct(const SkIPoint& a, const SkIPoint& b) {
165 void iset(const SkIPoint& p) {