Wt  3.3.8
Public Member Functions | List of all members
Wt::WVectorImage Class Referenceabstract

An abstract paint device for rendering using native vector graphics. More...

#include <Wt/WVectorImage>

Inheritance diagram for Wt::WVectorImage:
Inheritance graph
[legend]

Public Member Functions

virtual std::string rendered ()=0
 Internal method.
 
- Public Member Functions inherited from Wt::WPaintDevice
virtual ~WPaintDevice ()
 Destructor. More...
 
virtual WFlags< FeatureFlagfeatures () const =0
 Returns device features.
 
virtual WLength width () const =0
 Returns the device width. More...
 
virtual WLength height () const =0
 Returns the device height. More...
 
virtual void setChanged (WFlags< ChangeFlag > flags)=0
 Indicates changes in painter state. More...
 
virtual void drawArc (const WRectF &rect, double startAngle, double spanAngle)=0
 Draws an arc. More...
 
virtual void drawImage (const WRectF &rect, const std::string &imageUri, int imgWidth, int imgHeight, const WRectF &sourceRect)=0
 Draws an image. More...
 
virtual void drawLine (double x1, double y1, double x2, double y2)=0
 Draws a line. More...
 
virtual void drawPath (const WPainterPath &path)=0
 Draws a path. More...
 
virtual void drawText (const WRectF &rect, WFlags< AlignmentFlag > alignmentFlags, TextFlag textFlag, const WString &text, const WPointF *clipPoint)=0
 Draws text. More...
 
virtual WTextItem measureText (const WString &text, double maxWidth=-1, bool wordWrap=false)=0
 Measures rendered text size. More...
 
virtual WFontMetrics fontMetrics ()=0
 Returns font metrics. More...
 
virtual void init ()=0
 Initializes the device for painting. More...
 
virtual void done ()=0
 Finishes painting on the device. More...
 
virtual bool paintActive () const =0
 Returns whether painting is active. More...
 

Additional Inherited Members

- Public Types inherited from Wt::WPaintDevice
- Protected Member Functions inherited from Wt::WPaintDevice
virtual WPainterpainter () const =0
 Returns the painter that is currently painting on the device. More...
 
virtual void setPainter (WPainter *painter)=0
 Sets the painter.
 

Detailed Description

An abstract paint device for rendering using native vector graphics.


Generated on Mon Sep 4 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11