mou_tp.h
来自「开放源码实时操作系统源码.」· C头文件 代码 · 共 20 行
H
20 行
/* mou_tp.h */
#define TRANSFORMATION_UNITS_PER_PIXEL 4
typedef struct
{
/*
* Coefficients for the transformation formulas:
*
* m = (ax + by + c) / s
* n = (dx + ey + f) / s
*
* These formulas will transform a device point (x, y) to a
* screen point (m, n) in fractional pixels. The fraction
* is 1 / TRANSFORMATION_UNITS_PER_PIXEL.
*/
int a, b, c, d, e, f, s;
} TRANSFORMATION_COEFFICIENTS;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?