C

Obsolete Members for DrawingDevice

The following members of class DrawingDevice are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated) int32_t bytesPerPixel() const
(deprecated) uchar *pixelAt(int32_t x, int32_t y) const
(deprecated) uchar *pixelAt(Qul::PlatformInterface::Point pos) const

Member Function Documentation

int32_t DrawingDevice::bytesPerPixel() const

This function is deprecated. We strongly advise against using it in new code.

Returns the number of bytes per pixel of this device. The value is determined by the format given when constructing this class.

Use bitsPerPixel() instead.

See also Qul::PixelFormat.

uchar *DrawingDevice::pixelAt(int32_t x, int32_t y) const

This function is deprecated. We strongly advise against using it in new code.

Returns the starting address of a given pixel.

Use pixelDataAt() instead.

The pixel is specified by coordinates x and y.

uchar *DrawingDevice::pixelAt(Qul::PlatformInterface::Point pos) const

This function is deprecated. We strongly advise against using it in new code.

Returns the starting address of a given pixel.

Use pixelDataAt() instead.

The pixel is specified by coordinates from pos

Available under certain Qt licenses.
Find out more.