src/hbcore/ovgeffects/hbvgshadoweffect.cpp
changeset 5 627c4a0fd0e7
parent 0 16d8024aca5e
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    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