FbWidth
Purpose Use
Syntax
DLong (*FbWidth) (dev)
Return value Width in pixels of the visible portion of the framebuffer.
Description
FbWidth()
of the framebuffer.
Access to locations beyond the visible portion of the frame-
buffer is reserved. To get the number of bits per pixel, use
the
device handle.
Errors None.
Example This example returns the width of the framebuffer.
#include "domeMd.h"
DMdDev
DLong
fbWidth = (*dev->FbWidth) (dev);
See also
FbSize, FbHeight, FbPitch, BitsPerPixel,
DMdDev Structure
to get the width of the framebuffer.
FbWidth
Parameter Type
DMdDev
returns the width, in pixels, of the visible portion
BitsPerPixel()
dev;
fbWidth;
.
.
.
Name
Description
Device handle of the DOME device
dev
member function (page 87) of the
FbWidth | 83