We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e26ea9d commit af5bf87Copy full SHA for af5bf87
ext/gd/libgd/gd.h
@@ -682,6 +682,14 @@ int gdImageSmooth(gdImagePtr im, float weight);
682
/* Image comparison definitions */
683
int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
684
685
+void gdImageFlipHorizontal(gdImagePtr im);
686
+void gdImageFlipVertical(gdImagePtr im);
687
+void gdImageFlipBoth(gdImagePtr im);
688
+
689
+#define GD_FLIP_HORINZONTAL 1
690
+#define GD_FLIP_VERTICAL 2
691
+#define GD_FLIP_BOTH 3
692
693
#define GD_CMP_IMAGE 1 /* Actual image IS different */
694
#define GD_CMP_NUM_COLORS 2 /* Number of Colours in pallette differ */
695
#define GD_CMP_COLOR 4 /* Image colours differ */
0 commit comments