Lines Matching defs:x1
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) {
69 int32_t swapTemp = x1;
70 x1 = x2;
73 if (y > GetYMax() || y < GetYMin() || x1 > GetXMax() || x2 < GetXMin()) {
76 if (x1 < GetXMin()) {
77 x1 = GetXMin();
83 pixfmtType_->BlendHLine(x1, y, x2 - x1 + 1, color, cover);