8#ifndef BitmapRegionDecoderPriv_DEFINED
9#define BitmapRegionDecoderPriv_DEFINED
43 *outY = top - subset->
fTop;
53 if ((*outX != 0) || (*outY != 0) || (
width != subset->
width()) ||
@ kFullyInside_SubsetType
@ kPartiallyInside_SubsetType
SubsetType adjust_subset_rect(const SkISize &imageDims, SkIRect *subset, int *outX, int *outY)
static bool left(const SkPoint &p0, const SkPoint &p1)
static float max(float r, float g, float b)
static float min(float r, float g, float b)
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