/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/ |
H A D | init.c | 371 physDev->emh->rclFrame.left = rect->left; in CreateEnhMetaFileW() 372 physDev->emh->rclFrame.top = rect->top; in CreateEnhMetaFileW() 373 physDev->emh->rclFrame.right = rect->right; in CreateEnhMetaFileW() 374 physDev->emh->rclFrame.bottom = rect->bottom; in CreateEnhMetaFileW() 376 physDev->emh->rclFrame.left = physDev->emh->rclFrame.top = 0; in CreateEnhMetaFileW() 377 physDev->emh->rclFrame.right = physDev->emh->rclFrame.bottom = -1; in CreateEnhMetaFileW() 471 if(physDev->emh->rclFrame.left > physDev->emh->rclFrame.right) { in CloseEnhMetaFile() 472 physDev->emh->rclFrame.left = physDev->emh->rclBounds.left * in CloseEnhMetaFile() 474 physDev->emh->rclFrame.top = physDev->emh->rclBounds.top * in CloseEnhMetaFile() 476 physDev->emh->rclFrame.right = physDev->emh->rclBounds.right * in CloseEnhMetaFile() [all …]
|
/reactos/win32ss/gdi/gdi32/wine/ |
H A D | metafile.c | 1223 pt.y = muldiv(-header.rclFrame.top, 1, 10) + 1; in set_window() 1224 pt.x = muldiv( header.rclFrame.left, 1, 10); in set_window() 1227 pt.y = -header.rclFrame.top + 1; in set_window() 1228 …pt.x = (header.rclFrame.left >= 0) ? header.rclFrame.left : header.rclFrame.left + 1; /* See the t… in set_window() 1231 pt.y = muldiv(-header.rclFrame.top, 10, 254) + 1; in set_window() 1232 pt.x = muldiv( header.rclFrame.left, 10, 254); in set_window() 1235 pt.y = muldiv(-header.rclFrame.top, 100, 254) + 1; in set_window() 1236 pt.x = muldiv( header.rclFrame.left, 100, 254); in set_window() 1240 pt.x = muldiv( header.rclFrame.left, 72 * 20, 2540); in set_window() 1248 pt.x = muldiv(header.rclFrame.right - header.rclFrame.left, horz_res, horz_size * 100); in set_window() [all …]
|
H A D | enhmetafile.c | 2485 if ( lpRect && WIDTH(emh->rclFrame) && HEIGHT(emh->rclFrame) ) in EnumEnhMetaFile() 2491 emh->rclFrame.left, emh->rclFrame.top, emh->rclFrame.right, in EnumEnhMetaFile() 2492 emh->rclFrame.bottom); in EnumEnhMetaFile() 2497 WIDTH(emh->rclFrame) * xSrcPixSize; in EnumEnhMetaFile() 2499 HEIGHT(emh->rclFrame) * ySrcPixSize; in EnumEnhMetaFile() 2506 ….eDx = (double) lpRect->left - (double) WIDTH(*lpRect) / WIDTH(emh->rclFrame) * emh->rclFrame.left; in EnumEnhMetaFile() 2507 ….eDy = (double) lpRect->top - (double) HEIGHT(*lpRect) / HEIGHT(emh->rclFrame) * emh->rclFrame.top; in EnumEnhMetaFile()
|
H A D | emfdc.c | 2452 emf->emh->rclFrame.left = rect->left; in CreateEnhMetaFileW() 2453 emf->emh->rclFrame.top = rect->top; in CreateEnhMetaFileW() 2454 emf->emh->rclFrame.right = rect->right; in CreateEnhMetaFileW() 2455 emf->emh->rclFrame.bottom = rect->bottom; in CreateEnhMetaFileW() 2460 emf->emh->rclFrame.left = emf->emh->rclFrame.top = 0; in CreateEnhMetaFileW() 2461 emf->emh->rclFrame.right = emf->emh->rclFrame.bottom = -1; in CreateEnhMetaFileW() 2536 if (emf->emh->rclFrame.left > emf->emh->rclFrame.right) in CloseEnhMetaFile() 2538 emf->emh->rclFrame.left = emf->emh->rclBounds.left * in CloseEnhMetaFile() 2540 emf->emh->rclFrame.top = emf->emh->rclBounds.top * in CloseEnhMetaFile() 2542 emf->emh->rclFrame.right = emf->emh->rclBounds.right * in CloseEnhMetaFile() [all …]
|
/reactos/win32ss/gdi/gdi32/objects/ |
H A D | metafile.c | 144 pInfo->xExt = emh.rclFrame.right - emh.rclFrame.left; // Width in GdiCreateLocalMetaFilePict() 145 pInfo->yExt = emh.rclFrame.bottom - emh.rclFrame.top; // Height in GdiCreateLocalMetaFilePict()
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | metafile.c | 544 emf->rclFrame.left, emf->rclFrame.top, emf->rclFrame.right, emf->rclFrame.bottom); in savedc_emf_enum_proc() 3172 *rclFrame = header.rclFrame; in getConvertedFrameAndBounds() 3180 RECTL rclBounds, rclFrame; in checkConvertedFrameAndBounds() local 3208 …ok(rclFrame.left == rclFrameExpected->left, "rclFrame.left: Expected %d, got %d (%s)\n", rclFrameE… in checkConvertedFrameAndBounds() 3209 …ok(rclFrame.top == rclFrameExpected->top, "rclFrame.top: Expected %d, got %d (%s)\n", rclFrameExpe… in checkConvertedFrameAndBounds() 3210 …ok(rclFrame.right == rclFrameExpected->right, "rclFrame.right: Expected %d, got %d (%s)\n", rclFra… in checkConvertedFrameAndBounds() 3211 …ok(rclFrame.bottom == rclFrameExpected->bottom, "rclFrame.bottom: Expected %d, got %d (%s)\n", rcl… in checkConvertedFrameAndBounds() 3225 RECTL rclBounds, rclFrame; in test_SetWinMetaFileBits() local 3332 … ok(rclFrame.left == 0 && rclFrame.top == 0 && rclFrame.right == 30000 && rclFrame.bottom == 20000, in test_SetWinMetaFileBits() 3340 … ok(rclFrame.left == 0 && rclFrame.top == 0 && rclFrame.right == 30000 && rclFrame.bottom == 20000, in test_SetWinMetaFileBits() [all …]
|
H A D | generated.c | 2727 TEST_FIELD_SIZE (ENHMETAHEADER, rclFrame, 16) in test_pack_ENHMETAHEADER() 2728 TEST_FIELD_ALIGN (ENHMETAHEADER, rclFrame, 4) in test_pack_ENHMETAHEADER() 2729 TEST_FIELD_OFFSET(ENHMETAHEADER, rclFrame, 24) in test_pack_ENHMETAHEADER() 9250 TEST_FIELD_SIZE (ENHMETAHEADER, rclFrame, 16) in test_pack_ENHMETAHEADER() 9251 TEST_FIELD_ALIGN (ENHMETAHEADER, rclFrame, 4) in test_pack_ENHMETAHEADER() 9252 TEST_FIELD_OFFSET(ENHMETAHEADER, rclFrame, 24) in test_pack_ENHMETAHEADER()
|
/reactos/modules/rostests/winetests/gdiplus/ |
H A D | metafile.c | 464 expect(0, U(header).EmfHeader.rclFrame.left); in test_empty() 465 expect(0, U(header).EmfHeader.rclFrame.top); in test_empty() 503 expect(0, U(header).EmfHeader.rclFrame.left); in test_empty() 504 expect(0, U(header).EmfHeader.rclFrame.top); in test_empty() 550 expect(0, U(header).EmfHeader.rclFrame.left); in test_empty() 551 expect(0, U(header).EmfHeader.rclFrame.top); in test_empty() 839 expect(0, U(header).EmfHeader.rclFrame.left); in test_emfonly() 840 expect(0, U(header).EmfHeader.rclFrame.top); in test_emfonly() 935 expect(0, U(header).EmfHeader.rclFrame.left); in test_emfonly() 936 expect(0, U(header).EmfHeader.rclFrame.top); in test_emfonly() [all …]
|
/reactos/sdk/include/psdk/ |
H A D | gdiplusmetaheader.h | 27 RECTL rclFrame; member
|
H A D | wingdi.h | 2323 RECTL rclFrame; member
|
/reactos/dll/win32/oleaut32/ |
H A D | olepicture.c | 269 This->himetricWidth = emh.rclFrame.right - emh.rclFrame.left; in OLEPictureImpl_SetEMF() 270 This->himetricHeight = emh.rclFrame.bottom - emh.rclFrame.top; in OLEPictureImpl_SetEMF() 1296 This->himetricWidth = hdr.rclFrame.right - hdr.rclFrame.left; in OLEPictureImpl_LoadEnhMetafile() 1297 This->himetricHeight = hdr.rclFrame.bottom - hdr.rclFrame.top; in OLEPictureImpl_LoadEnhMetafile()
|
/reactos/dll/win32/riched20/ |
H A D | writer.c | 969 … pic.cx = MulDiv( emf_bits->rclFrame.right - emf_bits->rclFrame.left, emf_bits->szlDevice.cx * 254, in stream_out_graphics() 971 … pic.cy = MulDiv( emf_bits->rclFrame.bottom - emf_bits->rclFrame.top, emf_bits->szlDevice.cy * 254, in stream_out_graphics()
|
/reactos/dll/win32/gdiplus/ |
H A D | metafile.c | 1550 ((ENHMETAHEADER*)buffer)->rclFrame = bounds_rc; in METAFILE_GraphicsDeleted() 3721 header->X = gdip_round((REAL)emfheader.rclFrame.left / 2540.0 * header->DpiX); in GdipGetMetafileHeaderFromEmf() 3722 header->Y = gdip_round((REAL)emfheader.rclFrame.top / 2540.0 * header->DpiY); in GdipGetMetafileHeaderFromEmf() 3723 …header->Width = gdip_round((REAL)(emfheader.rclFrame.right - emfheader.rclFrame.left) / 2540.0 * h… in GdipGetMetafileHeaderFromEmf() 3724 …header->Height = gdip_round((REAL)(emfheader.rclFrame.bottom - emfheader.rclFrame.top) / 2540.0 * … in GdipGetMetafileHeaderFromEmf() 3828 (*metafile)->bounds.X = (REAL)header.u.EmfHeader.rclFrame.left / 2540.0 * header.DpiX; in GdipCreateMetafileFromEmf() 3829 (*metafile)->bounds.Y = (REAL)header.u.EmfHeader.rclFrame.top / 2540.0 * header.DpiY; in GdipCreateMetafileFromEmf() 3830 …(*metafile)->bounds.Width = (REAL)(header.u.EmfHeader.rclFrame.right - header.u.EmfHeader.rclFrame… in GdipCreateMetafileFromEmf() 3832 …*metafile)->bounds.Height = (REAL)(header.u.EmfHeader.rclFrame.bottom - header.u.EmfHeader.rclFram… in GdipCreateMetafileFromEmf()
|