Creates a new pixmap, flipping left-right and/or top-bottom as indicated by flags.
flags
the source pixmap
the mirror flags
the new pixmap