Lines Matching refs:len
86 void RenderBase::BlendSolidHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T& color, const uint8_t* covers)
92 len -= GetXMin() - x;
93 if (len <= 0) {
99 if (x + len > GetXMax()) {
100 len = GetXMax() - x + 1;
101 if (len <= 0) {
105 pixfmtType_->BlendSolidHSpan(x, y, len, color, covers);
108 void RenderBase::CopyColorHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T* colors)
111 if (!ColorHSpanHandler(x, y, len, colors, covers)) {
114 pixfmtType_->CopyColorHSpan(x, y, len, colors);
117 void RenderBase::BlendColorHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T* colors, const uint8_t* covers,
120 if (!ColorHSpanHandler(x, y, len, colors, covers)) {
123 pixfmtType_->BlendColorHSpan(x, y, len, colors, covers, cover);
126 bool RenderBase::ColorHSpanHandler(int32_t& x, const int32_t& y, int32_t& len, const Rgba8T*& colors,
134 len -= d;
135 if (len <= 0) {
144 if (x + len > GetXMax()) {
145 len = GetXMax() - x + 1;
146 if (len <= 0) {