vdk 2.4.0
Public Member Functions | Public Attributes
VDKPen Class Reference

This class provides a Pen to customize drawing. More...

#include <vdkdrawarea.h>

Inheritance diagram for VDKPen:
VDKDrawTool VDKNotCopyAble

List of all members.

Public Member Functions

Public Attributes


Detailed Description

This class provides a Pen to customize drawing.


Constructor & Destructor Documentation

VDKPen::VDKPen ( VDKDrawingArea owner)

Constructor

virtual VDKPen::~VDKPen ( ) [inline, virtual]

Destructor


Member Data Documentation

VDKReadWriteValueProp<VDKPen, GdkCapStyle> VDKPen::Cap

Sets/gets pen cap style, supported modes:

  • GDK_CAP_NOT_LAST the same as GDK_CAP_BUTT for lines of non-zero width. for zero width lines, the final point on the line will not be drawn.
  • GDK_CAP_BUTT the ends of the lines are drawn squared off and extending to the coordinates of the end point.
  • GDK_CAP_ROUND the ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point.
  • GDK_CAP_PROJECTING the ends of the lines are drawn squared off and extending half the width of the line beyond the end point.
VDKReadWriteValueProp<VDKPen, VDKRgb> VDKPen::Color

Sets/gets pen drawing color, valid only on GDK_SOLID fill mode

VDKReadWriteValueProp<VDKPen, GdkJoinStyle> VDKPen::Join

Sets/gets pen join style, supported modes:

  • GDK_JOIN_MITER the sides of each line are extended to meet at an angle.
  • GDK_JOIN_ROUND the sides of the two lines are joined by a circular arc.
  • GDK_JOIN_BEVEL the sides of the two lines are joined by a straight line which makes an equal angle with each line.
VDKReadWriteValueProp<VDKPen, GdkLineStyle> VDKPen::Style

Sets/gets pen line style, supported modes:

  • GDK_LINE_SOLID
  • GDK_LINE_ON_OFF_DASH
  • GDK_LINE_DOUBLE_DASH
VDKReadWriteValueProp<VDKPen, gint> VDKPen::Thickness

Sets/gets pen thickness


The documentation for this class was generated from the following files: