~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kword/plugins/scripting/Frame.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
    }
181
181
 
182
182
    /** Scale the shape using the zero-point which is the top-left corner. */
183
 
    void setScale(qreal sx, qreal sy) {
184
 
        m_frame->shape()->setScale(sx, sy);
 
183
    void scale(qreal sx, qreal sy) {
 
184
        m_frame->shape()->scale(sx, sy);
185
185
    }
186
186
 
187
187
    /** Return the current rotation in degrees, or NAN if its been transformed too much to extract that info. */
194
194
    }
195
195
 
196
196
    /** The shape will be sheared using the zero-point which is the top-left corner. */
197
 
    void setShear(qreal sx, qreal sy) {
198
 
        m_frame->shape()->setShear(sx, sy);
 
197
    void shear(qreal sx, qreal sy) {
 
198
        m_frame->shape()->shear(sx, sy);
199
199
    }
200
200
 
201
201
    /** Get the width of the shape in pt. */