mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-18 03:36:33 -07:00
refactor: indent style
This commit is contained in:
parent
61997bc68b
commit
5e47888d78
1 changed files with 6 additions and 6 deletions
12
vips.h
12
vips.h
|
|
@ -69,12 +69,12 @@ vips_rotate(VipsImage *in, VipsImage **buf, int angle)
|
||||||
int rotate = VIPS_ANGLE_D0;
|
int rotate = VIPS_ANGLE_D0;
|
||||||
|
|
||||||
if (angle == 90) {
|
if (angle == 90) {
|
||||||
rotate = VIPS_ANGLE_D90;
|
rotate = VIPS_ANGLE_D90;
|
||||||
} else if (angle == 180) {
|
} else if (angle == 180) {
|
||||||
rotate = VIPS_ANGLE_D180;
|
rotate = VIPS_ANGLE_D180;
|
||||||
} else if (angle == 270) {
|
} else if (angle == 270) {
|
||||||
rotate = VIPS_ANGLE_D270;
|
rotate = VIPS_ANGLE_D270;
|
||||||
}
|
}
|
||||||
|
|
||||||
return vips_rot(in, buf, rotate, NULL);
|
return vips_rot(in, buf, rotate, NULL);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue