+ double scale = m_view->matrix().m11();
+ double width = m_pen.widthF() / scale * 2;
+ QRectF rect(line().x1() - width / 2 , line().y1(), width, line().y2() - line().y1());
+ if (KdenliveSettings::showmarkers()) {
+ rect.setWidth(width + m_width);
+ }
+ return rect;
+}
+
+// virtual
+QPainterPath Guide::shape() const
+{
+ QPainterPath path;
+ if (!scene()) return path;
+ double width = m_pen.widthF() * 2;
+ path.addRect(line().x1() - width / 2 , line().y1(), width, line().y2() - line().y1());