15 return m_pixels + p.
x() + p.
y()*m_size.
width();
void pushRectUniform(KDRect rect, KDColor color)
KDFrameBuffer(KDColor *pixels, KDSize size)
constexpr KDCoordinate width() const
constexpr KDPoint KDPointZero
void pushRect(KDRect rect, const KDColor *pixels)
void pullRect(KDRect rect, KDColor *pixels)
KDCoordinate width() const
KDPoint translatedBy(KDPoint other) const
KDCoordinate height() const
void * memcpy(void *dst, const void *src, size_t n)