Home
last modified time | relevance | path

Searched refs:ptf (Results 1 – 9 of 9) sorted by relevance

/reactos/modules/rostests/winetests/gdiplus/
H A Dgraphics.c1354 memset(ptf, 0, sizeof(ptf)); in test_GdipDrawImagePointsRect()
5135 ok(ptf[0].X == 100.0 && ptf[0].Y == 100.0 && ptf[1].X == 200.0 && ptf[1].Y == 200.0, in test_clipping()
5188 ok(ptf[0].X == 45.0 && ptf[0].Y == 20.0 && ptf[1].X == 95.0 && ptf[1].Y == 45.0, in test_clipping()
5189 "expected 45.0,20.0-95.0,45.0, got %f,%f-%f,%f\n", ptf[0].X, ptf[0].Y, ptf[1].X, ptf[1].Y); in test_clipping()
5213 ok(ptf[0].X == 100.0 && ptf[0].Y == 100.0 && ptf[1].X == 200.0 && ptf[1].Y == 200.0, in test_clipping()
5260 ok(ptf[0].X == 45.0 && ptf[0].Y == 20.0 && ptf[1].X == 95.0 && ptf[1].Y == 45.0, in test_clipping()
5261 "expected 45.0,20.0-95.0,45.0, got %f,%f-%f,%f\n", ptf[0].X, ptf[0].Y, ptf[1].X, ptf[1].Y); in test_clipping()
5285 ok(ptf[0].X == 100.0 && ptf[0].Y == 100.0 && ptf[1].X == 200.0 && ptf[1].Y == 200.0, in test_clipping()
5342 ok((ptf[0].X == 13.75 && ptf[0].Y == 4.375 && ptf[1].X == 32.5 && ptf[1].Y == 13.75) || in test_clipping()
5788 ok(ptf[0].X == 100.0 && ptf[0].Y == 100.0 && ptf[1].X == 200.0 && ptf[1].Y == 200.0, in test_clipping_2()
[all …]
H A Dgraphicspath.c673 GpPointF ptf; in test_lastpoint() local
680 status = GdipGetPathLastPoint(NULL, &ptf); in test_lastpoint()
687 status = GdipGetPathLastPoint(path, &ptf); in test_lastpoint()
689 expect(TRUE, (ptf.X == 5.0) && (ptf.Y == 55.0)); in test_lastpoint()
/reactos/dll/win32/gdiplus/
H A Dgraphics.c3108 ptf[2].X = ptf[2].X + ptf[1].X - ptf[0].X; in GdipDrawImagePointsRect()
3109 ptf[2].Y = ptf[2].Y + ptf[1].Y - ptf[0].Y; in GdipDrawImagePointsRect()
3110 ptf[1] = ptf[0]; in GdipDrawImagePointsRect()
3119 ptf[1].X = ptf[1].X + ptf[2].X - ptf[0].X; in GdipDrawImagePointsRect()
3120 ptf[1].Y = ptf[1].Y + ptf[2].Y - ptf[0].Y; in GdipDrawImagePointsRect()
3121 ptf[2] = ptf[0]; in GdipDrawImagePointsRect()
3125 ptf[3].X = ptf[2].X + ptf[1].X - ptf[0].X; in GdipDrawImagePointsRect()
3126 ptf[3].Y = ptf[2].Y + ptf[1].Y - ptf[0].Y; in GdipDrawImagePointsRect()
3127 if (!srcwidth || !srcheight || (ptf[3].X == ptf[0].X && ptf[3].Y == ptf[0].Y)) in GdipDrawImagePointsRect()
3153 if (ptf[1].Y != ptf[0].Y || ptf[2].X != ptf[0].X || in GdipDrawImagePointsRect()
[all …]
H A Dgraphicspath.c435 GpPointF *ptf; in GdipAddPathClosedCurve2I() local
445 if(!ptf) in GdipAddPathClosedCurve2I()
455 heap_free(ptf); in GdipAddPathClosedCurve2I()
536 GpPointF *ptf; in GdipAddPathCurve2I() local
546 if(!ptf) in GdipAddPathCurve2I()
556 heap_free(ptf); in GdipAddPathCurve2I()
779 GpPointF *ptf; in GdipAddPathPie() local
806 if(!ptf) in GdipAddPathPie()
872 GpPointF *ptf; in GdipAddPathPolygonI() local
882 if(!ptf) in GdipAddPathPolygonI()
[all …]
H A Dregion.c899 const GpPointF *ptf; in read_element() local
901 ptf = buffer_read(mbuf, sizeof(*ptf) * path_header->count); in read_element()
902 if (!ptf) in read_element()
907 memcpy(path->pathdata.Points, ptf, sizeof(*ptf) * path_header->count); in read_element()
H A Dbrush.c1104 GpPointF ptf; in GdipGetPathGradientCenterPointI() local
1111 ret = GdipGetPathGradientCenterPoint(grad,&ptf); in GdipGetPathGradientCenterPointI()
1114 point->X = gdip_round(ptf.X); in GdipGetPathGradientCenterPointI()
1115 point->Y = gdip_round(ptf.Y); in GdipGetPathGradientCenterPointI()
1685 GpPointF ptf; in GdipSetPathGradientCenterPointI() local
1692 ptf.X = (REAL)point->X; in GdipSetPathGradientCenterPointI()
1693 ptf.Y = (REAL)point->Y; in GdipSetPathGradientCenterPointI()
1695 return GdipSetPathGradientCenterPoint(grad,&ptf); in GdipSetPathGradientCenterPointI()
H A Dmetafile.c3622 GpPointF ptf; in GdipEnumerateMetafileDestPointI() local
3626 ptf.X = dest->X; in GdipEnumerateMetafileDestPointI()
3627 ptf.Y = dest->Y; in GdipEnumerateMetafileDestPointI()
3629 return GdipEnumerateMetafileDestPoint(graphics, metafile, &ptf, callback, cb_data, attrs); in GdipEnumerateMetafileDestPointI()
/reactos/win32ss/gdi/eng/
H A Dstubs.c265 _Out_ PENG_TIME_FIELDS ptf) in EngQueryLocalTime() argument
268 NT_ASSERT(ptf != NULL); in EngQueryLocalTime()
278 RtlTimeToTimeFields(&liLocalTime, (PTIME_FIELDS)ptf); in EngQueryLocalTime()
/reactos/sdk/include/psdk/
H A Dwinddi.h2262 _Out_ PENG_TIME_FIELDS ptf);