The OpenD Programming Language

Image.flipVertical

Flip the image vertically. If the image has no data, the operation is successful.

- If the layout allows it, flipVerticalLogical is called. The scanline pointers are inverted, and pitch is negated. This just flips the "view" of the image.

- If there is a constraint to keep the image strictly upside-down, or strictly not upside-down, then flipVerticalPhysical is called instead.

struct Image
nothrow @nogc @safe pure
bool
flipVertical
()

Return Value

Type: bool

true on success, sets an error else and return false. Tags: #valid.

Meta