#include <Pt/Gfx/ViewBase.h>
Width, height and stride of an image or view. More...
Inherited by BasicConstImage< ImageFormat >, BasicConstImage< ImageFormat, ImageTraitsF >, BasicConstImage< Argb32 >, BasicConstImage< Rgb16 >, BasicConstImage< Rgb32 >, BasicConstImage< Yuv12 >, BasicConstView< ImageFormat >, BasicConstView< ImageFormat, ImageTraitsF >, BasicConstView< Argb32 >, BasicConstView< Rgb16 >, BasicConstView< Rgb32 >, BasicConstView< Format, Traits >, BasicImage< ImageFormat >, BasicImage< ImageFormat, ImageTraitsF >, BasicImage< Argb32 >, BasicImage< Rgb16 >, BasicImage< Rgb32 >, BasicImage< Yuv12 >, BasicView< ImageFormat >, BasicView< ImageFormat, ImageTraitsF >, BasicView< Argb32 >, BasicView< Rgb16 >, BasicView< Rgb32 >, BasicView< Yuv12 >, BasicView< Format, Traits >, BasicConstImage< FormatT, TraitsT >, BasicConstView< FormatT, TraitsT >, BasicImage< FormatT, TraitsT >, and BasicView< FormatT, TraitsT >.
ViewBase stores the dimensions shared by images and views. width() and height() are in pixels. stride() is the number of bytes from one row to the next, including padding. empty() is true when width or height is zero. This type is not used on its own; BasicImage and BasicView derive from it.