The OpenD Programming Language

Image.pitchInBytes

Get the image pitch (byte distance between rows), in bytes.

Warning: This pitch can be, or not be, a negative integer. When the image has layout constraint LAYOUT_VERT_FLIPPED, it is always kept <= 0 (if the image has data). When the image has layout constraint LAYOUT_VERT_STRAIGHT, it is always kept >= 0 (if the image has data).

struct Image
nothrow @nogc @safe pure const
int
pitchInBytes
()

See Also

scanlineInBytes. Tags: #valid #data

Meta