QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
EndpointParams Class Reference

Public Member Functions

 EndpointParams (QwtPlotArrowMarker::EndpointStyle s, const QSizeF &sz, const QPen &p=QPen(Qt::black, 1.0), const QBrush &b=Qt::transparent)
 
QwtPlotArrowMarker::EndpointStyle getStyle () const
 
const QSizeF & getSize () const
 
const QPen & getPen () const
 
const QBrush & getBrush () const
 
const QPainterPath & getCustomPath () const
 
const QPainterPath & getCachedPath () const
 
bool isPathValid () const
 
void setStyle (QwtPlotArrowMarker::EndpointStyle s)
 
void setSize (const QSizeF &sz)
 
void setPen (const QPen &p)
 
void setBrush (const QBrush &b)
 
void setCustomPath (const QPainterPath &path)
 
void invalidatePath ()
 
void updatePath ()
 

Static Public Member Functions

static QPainterPath createEndpointPath (QwtPlotArrowMarker::EndpointStyle style, const QSizeF &size, const QPainterPath &customPath)
 

Member Function Documentation

◆ createEndpointPath()

static QPainterPath EndpointParams::createEndpointPath ( QwtPlotArrowMarker::EndpointStyle  style,
const QSizeF &  size,
const QPainterPath &  customPath 
)
inlinestatic

*1 --—

  • |
    • | (0,0) x(0,0) height
    • |
  • | *2 ---—

| width |

  • * —
    • * |
  • x(0,0) height
    • * |
      • * — | width |
  • * * * * —
  • * |
  • x(0,0) height
  • * |
  • * * * * — | width |

1

  • *

* 2 x(0,0) height

  • *
    • * *3 | width |

*1 --—

  • * |
  • * |
  • (0,0) x(0,0) height
  • * |
  • * | *2 ---—

| width |


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