Lines Matching refs:region

58 static bool _arrange(const SwImage* image, const SwBBox* region, int& yStart, int& yEnd)  in _arrange()  argument
62 if (region) { in _arrange()
63 regionTop = region->min.y; in _arrange()
64 regionBottom = region->max.y; in _arrange()
79 …ygonImageSegment(SwSurface* surface, const SwImage* image, const SwBBox* region, int yStart, int y…
98 if (!_arrange(image, region, yStart, yEnd)) return false;
103 if (region) {
104 minx = region->min.x;
105 maxx = region->max.x;
120 if (!region) {
261 if (!region && spanIdx >= image->rle->size) break;
275 …ygonImageSegment(SwSurface* surface, const SwImage* image, const SwBBox* region, int yStart, int y… in _rasterBlendingPolygonImageSegment() argument
292 if (!_arrange(image, region, yStart, yEnd)) return; in _rasterBlendingPolygonImageSegment()
297 if (region) { in _rasterBlendingPolygonImageSegment()
298 minx = region->min.x; in _rasterBlendingPolygonImageSegment()
299 maxx = region->max.x; in _rasterBlendingPolygonImageSegment()
314 if (!region) { in _rasterBlendingPolygonImageSegment()
441 if (!region && spanIdx >= image->rle->size) break; in _rasterBlendingPolygonImageSegment()
452 …ygonImageSegment(SwSurface* surface, const SwImage* image, const SwBBox* region, int yStart, int y… in _rasterPolygonImageSegment() argument
474 if (!_arrange(image, region, yStart, yEnd)) return; in _rasterPolygonImageSegment()
479 if (region) { in _rasterPolygonImageSegment()
480 minx = region->min.x; in _rasterPolygonImageSegment()
481 maxx = region->max.x; in _rasterPolygonImageSegment()
496 if (!region) { in _rasterPolygonImageSegment()
638 if (!region && spanIdx >= image->rle->size) break; in _rasterPolygonImageSegment()
650 static void _rasterPolygonImage(SwSurface* surface, const SwImage* image, const SwBBox* region, Pol… in _rasterPolygonImage() argument
711 auto regionTop = region ? region->min.y : image->rle->spans->y; //Normal Image or Rle Image? in _rasterPolygonImage()
740 …if (_matting(surface)) _rasterPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, o… in _rasterPolygonImage()
741 … else _rasterMaskedPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, opacity, 1); in _rasterPolygonImage()
743 … _rasterBlendingPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, opacity); in _rasterPolygonImage()
745 … _rasterPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, opacity, false); in _rasterPolygonImage()
761 …if (_matting(surface)) _rasterPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, o… in _rasterPolygonImage()
762 … else _rasterMaskedPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, opacity, 2); in _rasterPolygonImage()
764 … _rasterBlendingPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, opacity); in _rasterPolygonImage()
766 … _rasterPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, opacity, false); in _rasterPolygonImage()
791 …if (_matting(surface)) _rasterPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, o… in _rasterPolygonImage()
792 … else _rasterMaskedPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, opacity, 3); in _rasterPolygonImage()
794 … _rasterBlendingPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, opacity); in _rasterPolygonImage()
796 … _rasterPolygonImageSegment(surface, image, region, yi[0], yi[1], aaSpans, opacity, false); in _rasterPolygonImage()
815 …if (_matting(surface)) _rasterPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, o… in _rasterPolygonImage()
816 … else _rasterMaskedPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, opacity, 4); in _rasterPolygonImage()
818 … _rasterBlendingPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, opacity); in _rasterPolygonImage()
820 … _rasterPolygonImageSegment(surface, image, region, yi[1], yi[2], aaSpans, opacity, false); in _rasterPolygonImage()
827 static AASpans* _AASpans(float ymin, float ymax, const SwImage* image, const SwBBox* region) in _AASpans() argument
832 if (!_arrange(image, region, yStart, yEnd)) return nullptr; in _AASpans()
1114 …ace* surface, const SwImage* image, const Matrix& transform, const SwBBox* region, uint8_t opacity) in _rasterTexmapPolygon() argument
1122 if ((!image->rle && !region) || (image->rle && image->rle->size == 0)) return true; in _rasterTexmapPolygon()
1139 auto aaSpans = _AASpans(ys, ye, image, region); in _rasterTexmapPolygon()
1149 _rasterPolygonImage(surface, image, region, polygon, aaSpans, opacity); in _rasterTexmapPolygon()
1156 _rasterPolygonImage(surface, image, region, polygon, aaSpans, opacity); in _rasterTexmapPolygon()