On this page

Qt Canvas Painter C++ Classes

Provides classes for Qt Canvas Painter application development. More...

This module is in Technical Preview state.

Detailed Description

(Technical preview)

Qt Canvas Painter provides the following C++ types:

QtCanvasPainter C++ Types

QCanvasBoxGradient

Brush for box gradient painting

QCanvasBoxShadow

Brush for painting rectangle shadows / glows

QCanvasBrush

The base class for all QCanvasPainter fill / stroke brushes

QCanvasConicalGradient

Brush for conical gradient painting

QCanvasCustomBrush

Brush with custom shaders

QCanvasGradient

The base class for all QCanvasPainter gradient brushes

QCanvasGradientStop

A gradient stop

QCanvasGridPattern

Brush for painting grid patterns

QCanvasImage

The image class for QCanvasPainter

QCanvasImagePattern

Brush for painting image patterns

QCanvasLinearGradient

Brush for linear gradient painting

QCanvasOffscreenCanvas

Represents an offscreen canvas that QCanvasPainter can target

QCanvasPainter

Performs hardware-accelerated painting on QRhi

QCanvasPainterFactory

Manages instances of QCanvasPainter and the associated rendering engine

QCanvasPainterItem

Way to use the Qt Canvas Painter API in the QML Scene Graph

QCanvasPainterItemRenderer

Handles all painting for a QCanvasPainterItem

QCanvasPainterWidget

Widget for rendering using QCanvasPainter

QCanvasPath

The native path format of QCanvasPainter

QCanvasRadialGradient

Brush for radial gradient painting

QCanvasRhiPaintDriver

Manages the lower level aspects of QCanvasPainter-based rendering for QRhi render targets and offscreen canvases

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.