mirror of
https://github.com/reactos/reactos.git
synced 2024-07-04 19:54:58 +00:00
{GDI32]
Check paramters in CombineTransform svn path=/trunk/; revision=50332
This commit is contained in:
parent
c265d7532b
commit
907aab7488
|
@ -67,6 +67,9 @@ CombineTransform(
|
||||||
{
|
{
|
||||||
XFORM xformTmp;
|
XFORM xformTmp;
|
||||||
|
|
||||||
|
/* Check paramters */
|
||||||
|
if (!pxfResult || !pxf1 || !pxf2) return FALSE;
|
||||||
|
|
||||||
/* Do matrix multiplication */
|
/* Do matrix multiplication */
|
||||||
xformTmp.eM11 = pxf1->eM11 * pxf2->eM11 + pxf1->eM12 * pxf2->eM21;
|
xformTmp.eM11 = pxf1->eM11 * pxf2->eM11 + pxf1->eM12 * pxf2->eM21;
|
||||||
xformTmp.eM12 = pxf1->eM11 * pxf2->eM12 + pxf1->eM12 * pxf2->eM22;
|
xformTmp.eM12 = pxf1->eM11 * pxf2->eM12 + pxf1->eM12 * pxf2->eM22;
|
||||||
|
|
Loading…
Reference in a new issue