Lines Matching refs:glRect
61 void setRelativeTo(const GrGLIRect& glRect, in setRelativeTo()
67 fLeft = glRect.fLeft + leftOffset; in setRelativeTo()
70 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); in setRelativeTo()
72 fBottom = glRect.fBottom + topOffset; in setRelativeTo()
80 bool contains(const GrGLIRect& glRect) const { in contains()
81 return fLeft <= glRect.fLeft && in contains()
82 fBottom <= glRect.fBottom && in contains()
83 fLeft + fWidth >= glRect.fLeft + glRect.fWidth && in contains()
84 fBottom + fHeight >= glRect.fBottom + glRect.fHeight; in contains()
89 bool operator ==(const GrGLIRect& glRect) const {
90 return 0 == memcmp(this, &glRect, sizeof(GrGLIRect));
93 bool operator !=(const GrGLIRect& glRect) const {return !(*this == glRect);}