Skip to content

Commit

Permalink
Merge pull request #171 from ilfuriano/master
Browse files Browse the repository at this point in the history
add flip options to setRotation
  • Loading branch information
wasabeef committed Sep 4, 2015
2 parents d90c9f5 + 22d0855 commit d4b5e3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions library/src/jp/co/cyberagent/android/gpuimage/GPUImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,15 @@ public void setRotation(Rotation rotation) {
mRenderer.setRotation(rotation);
}

/**
* Sets the rotation of the displayed image with flip options.
*
* @param rotation new rotation
*/
public void setRotation(Rotation rotation, boolean flipHorizontal, boolean flipVertical) {
mRenderer.setRotation(rotation, flipHorizontal, flipVertical);
}

/**
* Deletes the current image.
*/
Expand Down

0 comments on commit d4b5e3f

Please sign in to comment.