- class Bitmap bmp => BitmapReflectable bmp where
- reflectVertically :: bmp -> bmp
- reflectHorizontally :: bmp -> bmp
Documentation
class Bitmap bmp => BitmapReflectable bmp whereSource
Class for reflectable bitmaps
Using the functions of the Bitmap
class,
default functions are be defined for each of
these; of course, implementations are free
to write more efficient versions.
reflectVertically :: bmp -> bmpSource
reflectHorizontally :: bmp -> bmpSource