Go to the source code of this file.
◆ SubsetType
Enumerator |
---|
kFullyInside_SubsetType | |
kPartiallyInside_SubsetType | |
kOutside_SubsetType | |
Definition at line 13 of file BitmapRegionDecoderPriv.h.
13 {
17};
@ kFullyInside_SubsetType
@ kPartiallyInside_SubsetType
◆ adjust_subset_rect()
Definition at line 35 of file BitmapRegionDecoderPriv.h.
36 {
37
39 int top = std::max(0, subset->
fTop);
40
41
43 *outY = top - subset->
fTop;
44
45
50 }
51
53 if ((*outX != 0) || (*outY != 0) || (
width != subset->
width()) ||
56 }
57
59}
static bool left(const SkPoint &p0, const SkPoint &p1)
constexpr int32_t height() const
int32_t fTop
smaller y-axis bounds
constexpr int32_t width() const
void setXYWH(int32_t x, int32_t y, int32_t width, int32_t height)
int32_t fLeft
smaller x-axis bounds
constexpr int32_t width() const
constexpr int32_t height() const