Home
last modified time | relevance | path

Searched refs:eM12 (Results 1 – 22 of 22) sorted by relevance

/reactos/modules/rostests/apitests/gdi32/
H A DSetWorldTransform.c27 xform.eM12 = 0; in Test_SetWorldTransform()
48 xform.eM12 = 3; in Test_SetWorldTransform()
55 xform.eM12 = (FLOAT)3.0001; in Test_SetWorldTransform()
61 xform.eM12 = (FLOAT)0.9999999; in Test_SetWorldTransform()
64 ok(xform.eM12 != (FLOAT)1.0, "xform.eM12 shouldn't be 1.0\n"); in Test_SetWorldTransform()
76 ok(xform.eM12 == (FLOAT)3.0001, "xform.eM12 should be 3.0001\n"); in Test_SetWorldTransform()
82 xform.eM12 = 0; in Test_SetWorldTransform()
97 ok(xform.eM12 == 0, "xform.eM12 should be 0\n"); in Test_SetWorldTransform()
102 xform.eM12 = 1; in Test_SetWorldTransform()
109 xform.eM12 = 1; in Test_SetWorldTransform()
[all …]
H A DExtCreateRegion.c16 FLOAT eM12, in InitXFORM() argument
23 pxform->eM12 = eM12; in InitXFORM()
H A DCombineTransform.c30 ok_flt(xform.eM12, m12); \
38 (pxform)->eM12 = m12; \
157 xform1.eM12 = 2.0; in Test_CombineTransform()
162 xform2.eM12 = 4.0; in Test_CombineTransform()
242 *(DWORD*)&xform2.eM12 = 0x7f800000; // (0.0F/0.0F) in Test_CombineTransform()
H A DDPtoLP.c272 pxform->eM12 = 0; in SetXForm1()
282 pxform->eM12 = 0; in SetXForm2()
292 FLOAT delta = xform.eM11 * xform.eM22 - xform.eM12 * xform.eM21; in InverseXForm()
297 pxform->eM12 = -xform.eM12 / delta; in InverseXForm()
300 pxform->eDx = (-xform.eM22 * xform.eDx + xform.eM12 * xform.eDy); in InverseXForm()
408 x = (LONG)((xform.eM11 * x + xform.eM12 * y) + xform.eDx); in DoTestEntry()
425 x = (LONG)((xform.eM11 * x + xform.eM12 * y) + xform.eDx); in DoTestEntry()
H A DPaintRgn.c31 xform.eM12 = 0.5f; in Test_PaintRgn()
H A DLPtoDP.c271 pxform->eM12 = 0; in SetXForm1()
281 pxform->eM12 = 0; in SetXForm2()
387 x = (LONG)((xform.eM11 * entry->ptSrc.x + xform.eM12 * entry->ptSrc.y) + xform.eDx); in DoTestEntry()
401 x = (LONG)((xform.eM11 * entry->ptSrc.x + xform.eM12 * entry->ptSrc.y) + xform.eDx); in DoTestEntry()
/reactos/win32ss/gdi/gdi32/objects/
H A Dcoord.c19 pxforml->eM12 = FOtoF(&pmx->efM12); in MatrixToXForm()
38 x = pptIn[i].x * pxform->eM11 + pptIn[i].y * pxform->eM12 + pxform->eDx; in GdiTransformPoints2()
75 xformTmp.eM11 = (pxf1->eM11 * pxf2->eM11) + (pxf1->eM12 * pxf2->eM21); in CombineTransform()
76 xformTmp.eM22 = (pxf1->eM21 * pxf2->eM12) + (pxf1->eM22 * pxf2->eM22); in CombineTransform()
79 if ((pxf1->eM12 != 0.) || (pxf1->eM21 != 0.) || in CombineTransform()
80 (pxf2->eM12 != 0.) || (pxf2->eM21 != 0.)) in CombineTransform()
82 xformTmp.eM12 = (pxf1->eM11 * pxf2->eM12) + (pxf1->eM12 * pxf2->eM22); in CombineTransform()
87 xformTmp.eM12 = 0.; in CombineTransform()
93 xformTmp.eDy = _fmul(pxf1->eDx, pxf2->eM12) + _fmul(pxf1->eDy, pxf2->eM22) + pxf2->eDy; in CombineTransform()
/reactos/modules/rostests/winetests/gdi32/
H A Dmapping.c57 ok(_xform.eM12 == 0.0, "expected 0.0, got %f\n", _xform.eM12); \
89 xform.eM12 = 0.0f; in test_world_transform()
150 xform.eM12 = 2.0f; in test_world_transform()
161 xform.eM12 = 0.0f; in test_world_transform()
300 ok( xform.eM12 == 0.0, "got %f\n", xform.eM12 ); in test_dc_layout()
596 ok(xf->eM12 == 0.0, "%d: got %f\n", line, xf->eM12); in expect_identity()
606 …ok(fabs(got->eM12 - expect->eM12) < 0.001, "%d: got %f expect %f\n", line, got->eM12, expect->eM12 in xform_near_match()
651 expect.eM12 = expect.eM21 = 0.0; in test_gettransform()
H A Dmetafile.c455 ok(xform.eM12 == 0.0, "%d: expected eM12 0.0, got %f\n", restore_no, xform.eM12); in check_dc_state()
4040 out->eM12 = -1.f * sinf(rad); in set_rotation_xform()
4062 fabs(a->eM12 - b->eM12) < 0.001f && in xform_eq()
4098 xform.eM11, xform.eM12, in enum_emf_WorldTransform()
4118 xform.eM11, xform.eM12, in enum_emf_WorldTransform()
4154 xform.eM11, xform.eM12, in enum_emf_WorldTransform()
4177 xform.eM11, xform.eM12, in enum_emf_WorldTransform()
4194 xform.eM11, xform.eM12, in enum_emf_WorldTransform()
4197 test_data->expected.eM11, test_data->expected.eM12, in enum_emf_WorldTransform()
4210 xform.eM11, xform.eM12, in enum_emf_WorldTransform()
[all …]
H A Dclipping.c267 xform.eM12 = 0.0; in test_ExtCreateRegion()
H A Dgenerated.c4159 TEST_FIELD_SIZE (MAT2, eM12, 4) in test_pack_MAT2()
4160 TEST_FIELD_ALIGN (MAT2, eM12, 2) in test_pack_MAT2()
4161 TEST_FIELD_OFFSET(MAT2, eM12, 4) in test_pack_MAT2()
6580 TEST_FIELD_SIZE (XFORM, eM12, 4) in test_pack_XFORM()
6581 TEST_FIELD_ALIGN (XFORM, eM12, 4) in test_pack_XFORM()
6582 TEST_FIELD_OFFSET(XFORM, eM12, 4) in test_pack_XFORM()
10682 TEST_FIELD_SIZE (MAT2, eM12, 4) in test_pack_MAT2()
10683 TEST_FIELD_ALIGN (MAT2, eM12, 2) in test_pack_MAT2()
10684 TEST_FIELD_OFFSET(MAT2, eM12, 4) in test_pack_MAT2()
13103 TEST_FIELD_SIZE (XFORM, eM12, 4) in test_pack_XFORM()
[all …]
H A Dfont.c643 xform.eM12 = 0.0f; in test_outline_font()
/reactos/win32ss/gdi/ntgdi/
H A Dxformobj.c169 FLOATOBJ_SetFloat(&mxTemp.efM12, pxform->eM12); in XFORMOBJ_iSetXform()
622 pxform->eM12 = FLOATOBJ_GetFloat(&pmx->efM12); in XFORMOBJ_iGetXform()
650 pxfo->eM12 = pmx->efM12; in XFORMOBJ_iGetFloatObjXform()
H A Dfreetype.c4624 extraMat.yx = FT_FixedFromFIXED(pmat2->eM12); in ftGdiGetGlyphOutline()
/reactos/sdk/include/psdk/
H A Dmsinkaut.idl193 single eM12;
227 [out] single* eM12,
234 [in] single eM12,
242 [id(0x00000008), propget, hidden] HRESULT eM12(
244 [id(0x00000008), propput, hidden] HRESULT eM12([in] single Value);
H A Dwinddi.h683 FLOATOBJ eM12; member
1235 FLOATL eM12; member
H A Dwingdi.h1722 FLOAT eM12; member
2474 FIXED eM12; member
/reactos/win32ss/gdi/gdi32/wine/
H A Denhmetafile.c567 mapping_mode_trans.eM12 = 0.0; in EMF_Update_MF_Xform()
1535 info->state.world_transform.eM12 = info->state.world_transform.eM21 = 0; in PlayEnhMetaFileRecord()
2154 xform.eM12 = 0.0; in PlayEnhMetaFileRecord()
2195 xform.eM12 = 0.0; in PlayEnhMetaFileRecord()
2426 info->state.world_transform.eM12 = info->state.world_transform.eM21 = 0; in EnumEnhMetaFile()
2476 info->init_transform.eM12 = 0.0; in EnumEnhMetaFile()
2503 xform.eM12 = 0; in EnumEnhMetaFile()
H A Demfdc.c1428 emr.xformSrc.eM12 = 0.0; in EMFDC_PatBlt()
2120 emr.xform.eM12 = 0.0f; in EMFDC_ModifyWorldTransform()
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/
H A Dbitblt.c49 emr.xformSrc.eM12 = 0.0; in EMFDRV_PatBlt()
/reactos/dll/win32/gdiplus/
H A Dmetafile.c1637 result->eM12 = (pt[1].Y - pt[0].Y) / rect->Width; in METAFILE_GetFinalGdiTransform()
1639 result->eDy = pt[0].Y - result->eM12 * rect->X - result->eM22 * rect->Y; in METAFILE_GetFinalGdiTransform()
H A Dgraphics.c2413 …GdipSetMatrixElements(matrix, xform.eM11, xform.eM12, xform.eM21, xform.eM22, xform.eDx, xform.eDy… in get_gdi_transform()