mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add top/left offset support to overlayWith operation (#473)
This commit is contained in:
committed by
Lovell Fuller
parent
a5d85b8a54
commit
278273b5c3
@@ -35,6 +35,8 @@ struct PipelineBaton {
|
||||
char *overlayBufferIn;
|
||||
size_t overlayBufferInLength;
|
||||
int overlayGravity;
|
||||
int overlayXOffset;
|
||||
int overlayYOffset;
|
||||
bool overlayTile;
|
||||
bool overlayCutout;
|
||||
int topOffsetPre;
|
||||
@@ -107,6 +109,8 @@ struct PipelineBaton {
|
||||
bufferOutLength(0),
|
||||
overlayBufferInLength(0),
|
||||
overlayGravity(0),
|
||||
overlayXOffset(-1),
|
||||
overlayYOffset(-1),
|
||||
overlayTile(false),
|
||||
overlayCutout(false),
|
||||
topOffsetPre(-1),
|
||||
|
||||
Reference in New Issue
Block a user