Bug #3911 ยป WCanvasPaintDevice.patch
src/Wt/WCanvasPaintDevice | ||
---|---|---|
WCanvasPaintDevice(const WLength& width, const WLength& height,
|
||
WObject *parent = 0,
|
||
bool paintUpdate = false);
|
||
virtual ~WCanvasPaintDevice();
|
||
virtual WFlags<FeatureFlag> features() const;
|
||
virtual void setChanged(WFlags<ChangeFlag> flags);
|
||
-- a/src/Wt/WCanvasPaintDevice.C
|
||
++ b/src/Wt/WCanvasPaintDevice.C
|
||
... | ... | |
}
|
||
}
|
||
WCanvasPaintDevice::~WCanvasPaintDevice()
|
||
{
|
||
if(fontMetrics_)
|
||
delete fontMetrics_;
|
||
}
|
||
WFlags<WPaintDevice::FeatureFlag> WCanvasPaintDevice::features() const
|
||
{
|
||
if (ServerSideFontMetrics::available())
|