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