47 explicit VRegion(VipsRegion *region, VSteal steal = STEAL)
48 :
VObject((VipsObject *) region, steal)
81 prepare(
int left,
int top,
int width,
int height)
const
83 VipsRect rect = { left, top, width, height };
112 return &VIPS_REGION_ADDR_TOPLEFT(
get_region())[i];
VipsObject * get_object() const
Definition VImage8.h:170
VipsPel * addr(size_t i) const
Definition VRegion8.h:110
size_t stride() const
Definition VRegion8.h:128
VipsRect valid() const
Definition VRegion8.h:92
VipsPel * addr() const
Definition VRegion8.h:101
VipsPel operator()(int x, int y) const
Definition VRegion8.h:146
VRegion(VipsRegion *region, VSteal steal=STEAL)
Definition VRegion8.h:47
void prepare(const VipsRect *rect) const
Definition VRegion8.h:71
VipsRegion * get_region() const
Definition VRegion8.h:62
VipsPel operator[](size_t i) const
Definition VRegion8.h:137
VipsPel * addr(int x, int y) const
Definition VRegion8.h:119
void prepare(int left, int top, int width, int height) const
Definition VRegion8.h:81
static VRegion new_from_image(VImage image)
Definition VRegion.cpp:14