A WPaintDevice is a device on which may be painted using a WPainter. You should never paint directly on a paint device.html
【WPaintDevice 是一種設備,在這種設備上咱們能夠使用 WPainter 做畫,但永遠不該該直接在一個繪畫設備上做畫。 】c++
The device defines the size of the drawing area, using width() and height(). These dimensions must be defined in pixel units. In the future, additional information will be included to convert these pixel units to lengths (using DPI information).web
【這個設備經過使用 width() 和 height() 定義了繪畫區域,其單位必須是像素,將來可能會實現像素單位的轉換。】ide
You should reimplement this class if you wish to extend the Wt paint system to paint on other devices than the ones provided by the library.this
【若是你想擴展 Wt 的繪畫系統 到其餘的設備上,你應該從新實現該類,Wt 庫已經實現了一些繪畫設備。】3d
Note: this interface is subject to changes to increase optimization possibilities for the painting using different devices.orm