equal
deleted
inserted
replaced
48 HbVgShadowEffect::~HbVgShadowEffect() |
48 HbVgShadowEffect::~HbVgShadowEffect() |
49 { |
49 { |
50 } |
50 } |
51 |
51 |
52 void HbVgShadowEffect::performEffect(QPainter *painter, |
52 void HbVgShadowEffect::performEffect(QPainter *painter, |
53 const QPointF &offset, |
53 const QPointF &offset, |
54 const QVariant &vgImage, |
54 const QVariant &vgImage, |
55 const QSize &vgImageSize) |
55 const QSize &vgImageSize) |
56 { |
56 { |
57 #ifdef HB_EFFECTS_OPENVG |
57 #ifdef HB_EFFECTS_OPENVG |
58 Q_D(HbVgOutlineEffect); |
58 Q_D(HbVgOutlineEffect); |
59 QPixmap outlinePm = makeOutline(vgImage, vgImageSize); |
59 QPixmap outlinePm = makeOutline(vgImage, vgImageSize); |
60 // Draw the shadow. Note that this paints also outside of our bounding |
60 // Draw the shadow. Note that this paints also outside of our bounding |