~ubuntu-branches/ubuntu/trusty/python-enable/trusty

« back to all changes in this revision

Viewing changes to enthought/kiva/agg/src/kiva_affine_helpers.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2010-02-28 14:56:36 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100228145636-9ghfhe3uy37tt3q6
Tags: 3.3.0-1
* New upstream release
* Bump Standards-Version to 3.8.4
* Switch to source format 3.0
* Update patches/freetype2.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        *tx = temp[4];
41
41
        *ty = temp[5];
42
42
    }
 
43
 
 
44
    void get_scale(agg::trans_affine& m, double* dx, double* dy)
 
45
    {
 
46
        {
 
47
            double temp[6];
 
48
            m.store_to(temp);
 
49
            *dx = temp[0];
 
50
            *dy = temp[3];
 
51
        }
 
52
    }
 
53
 
43
54
}