Lines Matching refs:x1
31 bool RenderBase::ClipBox(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in ClipBox() argument
33 Rect32 cb(x1, y1, x2, y2); in ClipBox()
52 void RenderBase::ClipBoxNaked(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in ClipBoxNaked() argument
54 clipBox_.SetRect(x1, y1, x2, y2); in ClipBoxNaked()
66 void RenderBase::BlendHLine(int32_t x1, int32_t y, int32_t x2, const Rgba8T& color, uint8_t cover) in BlendHLine() argument
68 if (x1 > x2) { in BlendHLine()
69 int32_t swapTemp = x1; in BlendHLine()
70 x1 = x2; in BlendHLine()
73 if (y > GetYMax() || y < GetYMin() || x1 > GetXMax() || x2 < GetXMin()) { in BlendHLine()
76 if (x1 < GetXMin()) { in BlendHLine()
77 x1 = GetXMin(); in BlendHLine()
83 pixfmtType_->BlendHLine(x1, y, x2 - x1 + 1, color, cover); in BlendHLine()