2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2008-08-30 01:01:52 +00:00
|
|
|
|
2011-01-06 22:00:26 +00:00
|
|
|
typedef struct _EXFORMOBJ
|
|
|
|
{
|
|
|
|
MATRIX *pmx;
|
|
|
|
} EXFORMOBJ;
|
|
|
|
|
|
|
|
#define XFORMOBJ EXFORMOBJ
|
|
|
|
#define XFORMOBJ_iGetXform EXFORMOBJ_iGetXform
|
|
|
|
#define XFORMOBJ_iGetFloatObjXform EXFORMOBJ_iGetFloatObjXform
|
|
|
|
#define XFORMOBJ_bApplyXform EXFORMOBJ_bApplyXform
|
|
|
|
#define XFORMOBJ_vInit EXFORMOBJ_vInit
|
|
|
|
#define XFORMOBJ_pmx EXFORMOBJ_pmx
|
|
|
|
#define XFORMOBJ_iSetXform EXFORMOBJ_iSetXform
|
|
|
|
#define XFORMOBJ_iCombine EXFORMOBJ_iCombine
|
|
|
|
#define XFORMOBJ_iCombineXform EXFORMOBJ_iCombineXform
|
|
|
|
#define XFORMOBJ_iInverse EXFORMOBJ_iInverse
|
|
|
|
|
|
|
|
FORCEINLINE
|
|
|
|
VOID
|
|
|
|
XFORMOBJ_vInit(
|
|
|
|
OUT XFORMOBJ *pxo,
|
|
|
|
IN MATRIX *pmx)
|
|
|
|
{
|
|
|
|
pxo->pmx = pmx;
|
|
|
|
}
|
|
|
|
|
|
|
|
FORCEINLINE
|
|
|
|
MATRIX*
|
|
|
|
XFORMOBJ_pmx(
|
|
|
|
IN XFORMOBJ *pxo)
|
|
|
|
{
|
|
|
|
return pxo->pmx;
|
|
|
|
}
|
|
|
|
|
2008-08-30 01:01:52 +00:00
|
|
|
ULONG
|
2011-08-27 12:38:23 +00:00
|
|
|
NTAPI
|
2008-08-30 01:01:52 +00:00
|
|
|
XFORMOBJ_iSetXform(
|
2019-04-28 15:24:57 +00:00
|
|
|
IN OUT XFORMOBJ *pxo,
|
2011-01-06 22:00:26 +00:00
|
|
|
IN const XFORML *pxform);
|
2008-08-30 01:01:52 +00:00
|
|
|
|
|
|
|
ULONG
|
2011-08-27 12:38:23 +00:00
|
|
|
NTAPI
|
2008-08-30 01:01:52 +00:00
|
|
|
XFORMOBJ_iCombine(
|
2019-04-28 15:24:57 +00:00
|
|
|
IN OUT XFORMOBJ *pxo,
|
2011-01-06 22:00:26 +00:00
|
|
|
IN XFORMOBJ *pxo1,
|
|
|
|
IN XFORMOBJ *pxo2);
|
2008-08-30 01:01:52 +00:00
|
|
|
|
|
|
|
ULONG
|
2011-08-27 12:38:23 +00:00
|
|
|
NTAPI
|
2008-08-30 01:01:52 +00:00
|
|
|
XFORMOBJ_iCombineXform(
|
2019-04-28 15:24:57 +00:00
|
|
|
IN OUT XFORMOBJ *pxo,
|
2011-01-06 22:00:26 +00:00
|
|
|
IN XFORMOBJ *pxo1,
|
|
|
|
IN XFORML *pxform,
|
|
|
|
IN BOOL bLeftMultiply);
|
2008-08-30 01:01:52 +00:00
|
|
|
|
|
|
|
ULONG
|
2011-08-27 12:38:23 +00:00
|
|
|
NTAPI
|
2011-01-06 22:00:26 +00:00
|
|
|
XFORMOBJ_iInverse(
|
|
|
|
OUT XFORMOBJ *pxoDst,
|
|
|
|
IN XFORMOBJ *pxoSrc);
|
|
|
|
|
|
|
|
ULONG
|
|
|
|
APIENTRY
|
|
|
|
XFORMOBJ_iGetXform(
|
|
|
|
IN XFORMOBJ *pxo,
|
|
|
|
OUT XFORML *pxform);
|
|
|
|
|
|
|
|
BOOL
|
|
|
|
APIENTRY
|
|
|
|
XFORMOBJ_bApplyXform(
|
|
|
|
IN XFORMOBJ *pxo,
|
|
|
|
IN ULONG iMode,
|
|
|
|
IN ULONG cPoints,
|
|
|
|
IN PVOID pvIn,
|
|
|
|
OUT PVOID pvOut);
|
2019-04-29 05:45:44 +00:00
|
|
|
|
|
|
|
BOOL FASTCALL MX_IsInvertible(IN PMATRIX pmx);
|
|
|
|
VOID FASTCALL MX_Set0(OUT PMATRIX pmx);
|