OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [drivers/] [mou_tp.h] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
/* mou_tp.h */
2
 
3
#define TRANSFORMATION_UNITS_PER_PIXEL 4
4
 
5
typedef struct
6
{
7
        /*
8
         * Coefficients for the transformation formulas:
9
         *
10
         *     m = (ax + by + c) / s
11
         *     n = (dx + ey + f) / s
12
         *
13
         * These formulas will transform a device point (x, y) to a
14
         * screen point (m, n) in fractional pixels.  The fraction
15
         * is 1 / TRANSFORMATION_UNITS_PER_PIXEL.
16
         */
17
 
18
        int a, b, c, d, e, f, s;
19
} TRANSFORMATION_COEFFICIENTS;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.