summaryrefslogtreecommitdiffstats
path: root/gfx/skbitmap_operations.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/skbitmap_operations.h')
-rw-r--r--gfx/skbitmap_operations.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/skbitmap_operations.h b/gfx/skbitmap_operations.h
index eb56761..e64c1aa 100644
--- a/gfx/skbitmap_operations.h
+++ b/gfx/skbitmap_operations.h
@@ -89,6 +89,9 @@ class SkBitmapOperations {
// doesn't expect premultiplied colors.
static SkBitmap UnPreMultiply(const SkBitmap& bitmap);
+ // Transpose the pixels in |bitmap| by swapping x and y.
+ static SkBitmap CreateTransposedBtmap(const SkBitmap& bitmap);
+
private:
SkBitmapOperations(); // Class for scoping only.