Home
last modified time | relevance | path

Searched refs:yres (Results 1 – 17 of 17) sorted by relevance

/reactos/dll/win32/windowscodecs/
H A Dmain.c126 INT width, INT height, double xres, double yres) in configure_write_source() argument
144 if (xres == 0.0 || yres == 0.0) in configure_write_source()
146 hr = IWICBitmapSource_GetResolution(source, &xres, &yres); in configure_write_source()
148 hr = IWICBitmapFrameEncode_SetResolution(iface, xres, yres); in configure_write_source()
H A Dbmpencode.c74 double xres, yres; member
178 This->yres = dpiY; in BmpFrameEncode_SetResolution()
314 This->xres, This->yres); in BmpFrameEncode_WriteSource()
352 bih.bV5YPelsPerMeter = (This->yres+0.0127) / 0.0254; in BmpFrameEncode_Commit()
598 encode->yres = 0.0; in BmpEncoder_CreateNewFrame()
H A Dtiffformat.c250 float xres, yres; member
609 if (!isfinite(decode_info->yres)) in tiff_get_decode_info()
611 decode_info->yres = 0.0; in tiff_get_decode_info()
964 if (This->decode_info.xres == 0 || This->decode_info.yres == 0) in TiffFrameDecode_GetResolution()
979 *pDpiY = This->decode_info.yres; in TiffFrameDecode_GetResolution()
983 *pDpiY = This->decode_info.yres * 2.54; in TiffFrameDecode_GetResolution()
1673 double xres, yres; member
1791 This->yres = dpiY; in TiffFrameEncode_SetResolution()
1921 if (This->xres != 0.0 && This->yres != 0.0) in TiffFrameEncode_WritePixels()
1988 This->xres, This->yres); in TiffFrameEncode_WriteSource()
[all …]
H A Dpngformat.c997 png_uint_32 ret, xres, yres; in PngDecoder_Frame_GetResolution() local
1002 ret = ppng_get_pHYs(This->png_ptr, This->info_ptr, &xres, &yres, &unit_type); in PngDecoder_Frame_GetResolution()
1007 *pDpiY = yres * 0.0254; in PngDecoder_Frame_GetResolution()
1376 double xres, yres; member
1533 This->yres = dpiY; in PngFrameEncode_SetResolution()
1661 if (This->xres != 0.0 && This->yres != 0.0) in PngFrameEncode_WritePixels()
1664 (This->yres+0.0127) / 0.0254, PNG_RESOLUTION_METER); in PngFrameEncode_WritePixels()
1770 This->xres, This->yres); in PngFrameEncode_WriteSource()
2171 This->yres = 0.0; in PngEncoder_CreateInstance()
H A Djpegformat.c827 double xres, yres; member
988 This->yres = dpiY; in JpegEncoder_Frame_SetResolution()
1103 if (This->xres != 0.0 && This->yres != 0.0) in JpegEncoder_Frame_WritePixels()
1107 This->cinfo.Y_density = This->yres; in JpegEncoder_Frame_WritePixels()
1178 This->xres, This->yres); in JpegEncoder_Frame_WriteSource()
1535 This->xres = This->yres = 0.0; in JpegEncoder_CreateInstance()
H A Dgifformat.c1486 double xres, yres; member
1596 …HRESULT WINAPI GifFrameEncode_SetResolution(IWICBitmapFrameEncode *iface, double xres, double yres) in GifFrameEncode_SetResolution() argument
1601 TRACE("%p,%f,%f\n", iface, xres, yres); in GifFrameEncode_SetResolution()
1608 This->yres = yres; in GifFrameEncode_SetResolution()
1732 This->width, This->height, This->xres, This->yres); in GifFrameEncode_WriteSource()
2296 ret->yres = 0.0; in GifEncoder_CreateNewFrame()
H A Dwincodecs_private.h179 INT width, INT height, double xres, double yres) DECLSPEC_HIDDEN;
/reactos/modules/rostests/winetests/gdiplus/
H A Dmetafile.c376 REAL xres, yres; in test_empty() local
438 stat = GdipGetImageVerticalResolution((GpImage*)metafile, &yres); in test_empty()
450 expectf(yres, header.DpiY); in test_empty()
489 expectf(yres, header.DpiY); in test_empty()
525 expectf(header.DpiY, yres); in test_empty()
536 expectf(yres, header.DpiY); in test_empty()
737 REAL xres, yres; in test_emfonly() local
825 expectf(yres, header.DpiY); in test_emfonly()
921 expectf(yres, header.DpiY); in test_emfonly()
957 expectf(header.DpiY, yres); in test_emfonly()
[all …]
/reactos/modules/rostests/winetests/windowscodecs/
H A Dconverter.c42 double yres; member
116 *pDpiY = This->data->yres; in BitmapTestSrc_GetResolution()
331 double xres, yres; in compare_bitmap_data() local
342 hr = IWICBitmapSource_GetResolution(source, &xres, &yres); in compare_bitmap_data()
345 …ok(fabs(yres - expect->yres) < 0.02, "expecting %0.2f, got %0.2f (%s)\n", expect->yres, yres, name… in compare_bitmap_data()
/reactos/dll/win32/gdiplus/
H A Dimage.c1171 bitmap->image.yres = ydpi; in GdipBitmapSetResolution()
1337 result->image.yres = image->yres; in GdipCloneImage()
1558 GdipGetDpiY(target, &(*bitmap)->image.yres); in GdipCreateBitmapFromGraphics()
1753 *yres = (REAL)GetDeviceCaps(screendc, LOGPIXELSY); in get_screen_resolution()
1766 REAL xres, yres; in GdipCreateBitmapFromScan0() local
1781 stat = get_screen_resolution(&xres, &yres); in GdipCreateBitmapFromScan0()
1846 (*bitmap)->image.yres = yres; in GdipCreateBitmapFromScan0()
2100 dst->image.yres = src->image.yres; in move_bitmap()
2276 (*graphics)->yres = image->yres; in GdipGetImageGraphicsContext()
2383 *res = image->yres; in GdipGetImageVerticalResolution()
[all …]
H A Dgdiplus_private.h238 REAL xres, yres; member
354 REAL xres, yres; member
H A Dmetafile.c805 (*metafile)->image.yres = dpiy; in GdipRecordMetafile()
921 metafile->record_graphics->yres = 96.0; in METAFILE_GetGraphicsContext()
2818 scale_y = units_to_pixels(1.0, unit, metafile->image.yres); in GdipPlayMetafileRecord()
3613 destf.Height = units_to_pixels(metafile->bounds.Height, metafile->unit, metafile->image.yres); in GdipEnumerateMetafileDestPoint()
3655 header->DpiY = metafile->image.yres; in GdipGetMetafileHeaderFromMetafile()
3827 (*metafile)->image.yres = header.DpiY; in GdipCreateMetafileFromEmf()
3876 (*metafile)->image.yres = (REAL)placeable->Inch; in GdipCreateMetafileFromWmf()
4260 draw_image_record->SrcRect.Y = units_to_pixels(srcy, srcUnit, metafile->image.yres); in METAFILE_DrawImagePointsRect()
4262 draw_image_record->SrcRect.Height = units_to_pixels(srcheight, srcUnit, metafile->image.yres); in METAFILE_DrawImagePointsRect()
H A Dgraphics.c2461 (*graphics)->yres = GetDeviceCaps(hdc, LOGPIXELSY); in GdipCreateFromHDC2()
2514 (*graphics)->yres = image->yres; in graphics_from_image()
3006 scale_y = units_scale(srcUnit, graphics->unit, graphics->yres); in GdipDrawImagePointRect()
3007 scale_y *= graphics->yres / image->yres; in GdipDrawImagePointRect()
3136 srcy = units_to_pixels(srcy, srcUnit, image->yres); in GdipDrawImagePointsRect()
3138 srcheight = units_to_pixels(srcheight, srcUnit, image->yres); in GdipDrawImagePointsRect()
3148 graphics->xres, graphics->yres, in GdipDrawImagePointsRect()
3150 graphics->scale, image->xres, image->yres, bitmap->format, in GdipDrawImagePointsRect()
5949 scale_y = units_to_pixels(1.0, unit, graphics->yres); in GdipBeginContainer()
6649 *dpi = graphics->yres; in GdipGetDpiY()
[all …]
H A Dfont.c470 height = units_to_pixels(font->emSize, graphics->unit, graphics->yres); in GdipGetLogFontW()
479 height = units_to_pixels(font->emSize, font->unit, graphics->yres); in GdipGetLogFontW()
/reactos/base/applications/mstsc/
H A Dconnectdialog.c422 DWORD bpp, xres, yres, checkbpp; in GetPossibleSettings() local
430 yres = GetDeviceCaps(hDC, VERTRES); in GetPossibleSettings()
486 … if (devmode.dmPelsWidth == xres && devmode.dmPelsHeight == yres && devmode.dmBitsPerPel == bpp) in GetPossibleSettings()
/reactos/dll/cpl/desk/
H A Dsettings.c95 DWORD bpp, xres, yres; in GetPossibleSettings() local
104 yres = GetDeviceCaps(hDC, VERTRES); in GetPossibleSettings()
158 … if (devmode.dmPelsWidth == xres && devmode.dmPelsHeight == yres && devmode.dmBitsPerPel == bpp) in GetPossibleSettings()
/reactos/dll/win32/msi/
H A Ddialog.c3594 UINT xres, yres; in dialog_adjust_dialog_pos() local
3609 yres = msi_get_property_int( dialog->package->db, L"ScreenY", 0 ); in dialog_adjust_dialog_pos()
3612 center.y = MulDiv( center.y, yres, 100 ); in dialog_adjust_dialog_pos()