~ubuntu-branches/ubuntu/lucid/koffice/lucid-backports

« back to all changes in this revision

Viewing changes to krita/plugins/paintops/spray/kis_spray_paintop.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-22 10:09:23 UTC
  • mfrom: (60.1.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100922100923-h79s15p7lf0ks051
Tags: 1:2.2.2-0ubuntu3~lucid1
* Lucid backport
  - Downgrade version of KDE build-depends to 4.4.2
  - Change build-depend libkdcraw-dev to libkdcraw8-dev
  - Downgrade version of pkg-kde-tools to 0.6.4ubuntu5
  - Downgrade version of libgmm-dev to 3.0+svn758845-0ubuntu1
  - Remove librcps-dev and opengtl-dev build-depends, not available in Lucid
  - Update krita.install, krita-data.install and kplato.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
{
121
121
}
122
122
 
123
 
double KisSprayPaintOp::paintAt(const KisPaintInformation& info)
 
123
qreal KisSprayPaintOp::paintAt(const KisPaintInformation& info)
124
124
{
125
125
#ifdef BENCHMARK
126
126
    QTime time;
135
135
        m_dab->clear();
136
136
    }
137
137
 
138
 
    double rotation = m_rotationOption.apply(info);
 
138
    qreal rotation = m_rotationOption.apply(info);
139
139
    quint8 origOpacity = m_opacityOption.apply(painter(), info);
140
 
    double scale = KisPaintOp::scaleForPressure(m_sizeOption.apply(info));
 
140
    qreal scale = KisPaintOp::scaleForPressure(m_sizeOption.apply(info));
141
141
 
142
142
    m_sprayBrush.paint( m_dab,
143
143
                        m_settings->node()->paintDevice(),