hi
i have created a customized symbol by subclassing the QwtSymbol class and reimplementing the function,

Qt Code:
  1. class feather : public QwtSymbol
  2. {
  3. public:
  4. void draw(QPainter *painter, const QRect &r) const
  5. {
  6. //shape of symbol( |___ )
  7. QwtPainter::drawLine(painter, r.bottomLeft(), r.topLeft());
  8. QwtPainter::drawLine(painter, r.bottomLeft(), r.bottomRight());
  9. }
  10. }
To copy to clipboard, switch view to plain text mode 
i want to rotate the symbols at some angle. but,i can not use the painter argument for doing this because its co-ordinates are not the co-ordinates of r(argument QRect).

how can i do this.