/reactos/dll/win32/gdiplus/ |
H A D | graphics.c | 2354 …res = (graphics->unit == UnitDisplay || graphics->unit == UnitPixel) ? graphics->xres : graphics->… in get_font_hfont() 2466 (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); in GdipCreateFromHDC2() 2519 (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); in graphics_from_image() 2598 ReleaseDC(graphics->hwnd, graphics->hdc); in GdipDeleteGraphics() 3148 graphics->xres, graphics->yres, in GdipDrawImagePointsRect() 4413 if (!graphics->image && !graphics->alpha_hdc) in GdipFillPath() 4775 if (!graphics->image && !graphics->alpha_hdc) in GdipFillRegion() 5120 return GdipIsEmptyRegion(graphics->clip, graphics, res); in GdipIsClipEmpty() 5802 args.graphics = graphics; in GdipDrawString() 6768 if(!graphics || !hdc || !graphics->busy) in GdipReleaseDC() [all …]
|
H A D | gdiplus_ros.diff | 1 Index: graphics.c 3 --- graphics.c (revision 57285) 4 +++ graphics.c (working copy) 30 (*graphics)->busy = FALSE; 33 - (*graphics)->contid = 0; 34 + (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); 36 TRACE("<-- %p\n", *graphics); 39 (*graphics)->busy = FALSE; 42 - (*graphics)->contid = 0; 43 + (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); [all …]
|
H A D | region.c | 595 if(!region || !graphics || !rect) in GdipGetRegionBounds() 1011 if (!graphics) in get_path_hrgn() 1018 graphics = new_graphics; in get_path_hrgn() 1025 else if (!graphics->hdc) in get_path_hrgn() 1033 EndPath(graphics->hdc); in get_path_hrgn() 1038 gdi_transform_acquire(graphics); in get_path_hrgn() 1040 stat = trace_path(graphics, path); in get_path_hrgn() 1047 gdi_transform_release(graphics); in get_path_hrgn() 1056 graphics->hdc = NULL; in get_path_hrgn() 1211 if(!region || !graphics || !res) in GdipIsEmptyRegion() [all …]
|
H A D | font.c | 438 TRACE("(%p, %p, %p)\n", font, graphics, lfa); in GdipGetLogFontA() 440 status = GdipGetLogFontW(font, graphics, &lfw); in GdipGetLogFontA() 461 TRACE("(%p, %p, %p)\n", font, graphics, lf); in GdipGetLogFontW() 463 if (!font || !graphics || !lf) in GdipGetLogFontW() 466 matrix = graphics->worldtrans; in GdipGetLogFontW() 470 height = units_to_pixels(font->emSize, graphics->unit, graphics->yres); in GdipGetLogFontW() 471 if (graphics->unit != UnitDisplay) in GdipGetLogFontW() 472 GdipScaleMatrix(&matrix, graphics->scale, graphics->scale, MatrixOrderAppend); in GdipGetLogFontW() 476 if (graphics->unit == UnitDisplay || graphics->unit == UnitPixel) in GdipGetLogFontW() 559 TRACE("%p %p %p\n", font, graphics, height); in GdipGetFontHeight() [all …]
|
H A D | gdiplus_private.h | 66 extern GpStatus gdi_transform_acquire(GpGraphics *graphics); 67 extern GpStatus gdi_transform_release(GpGraphics *graphics); 68 extern GpStatus get_graphics_transform(GpGraphics *graphics, GpCoordinateSpace dst_space, 70 extern GpStatus gdip_transform_points(GpGraphics *graphics, GpCoordinateSpace dst_space, 73 extern GpStatus graphics_from_image(GpImage *image, GpGraphics **graphics) DECLSPEC_HIDDEN; 120 extern GpStatus trace_path(GpGraphics *graphics, GpPath *path) DECLSPEC_HIDDEN;
|
H A D | graphicspath.c | 1014 GpGraphics *graphics; in GdipAddPathString() local 1039 status = GdipCreateFromHDC(dc, &graphics); in GdipAddPathString() 1050 GdipDeleteGraphics(graphics); in GdipAddPathString() 1056 get_log_fontW(font, graphics, &lfw); in GdipAddPathString() 1058 GdipDeleteGraphics(graphics); in GdipAddPathString() 1653 GpPen *pen, GpGraphics *graphics, BOOL *result) in GdipIsOutlineVisiblePathPointI() argument 1661 GpPen *pen, GpGraphics *graphics, BOOL *result) in GdipIsOutlineVisiblePathPoint() argument 1677 if (pen->unit == UnitPixel && graphics != NULL) in GdipIsOutlineVisiblePathPoint() 1689 if (pen->unit == UnitPixel && graphics != NULL) in GdipIsOutlineVisiblePathPoint() 1712 return GdipIsVisiblePathPoint(path, x, y, graphics, result); in GdipIsVisiblePathPointI() [all …]
|
H A D | metafile.c | 3446 TRACE("(%p,%p,%p,%i,%p,%i,%p,%p,%p)\n", graphics, metafile, in GdipEnumerateMetafileSrcRectDestPoints() 3467 real_metafile->playback_graphics = graphics; in GdipEnumerateMetafileSrcRectDestPoints() 3475 stat = GdipBeginContainer2(graphics, &state); in GdipEnumerateMetafileSrcRectDestPoints() 3479 stat = GdipSetPageScale(graphics, 1.0); in GdipEnumerateMetafileSrcRectDestPoints() 3482 stat = GdipSetPageUnit(graphics, UnitPixel); in GdipEnumerateMetafileSrcRectDestPoints() 3485 stat = GdipResetWorldTransform(graphics); in GdipEnumerateMetafileSrcRectDestPoints() 3561 GdipEndContainer(graphics, state); in GdipEnumerateMetafileSrcRectDestPoints() 3575 if (!graphics || !metafile || !dest) return InvalidParameter; in GdipEnumerateMetafileDestRect() 3592 if (!graphics || !metafile || !dest) return InvalidParameter; in GdipEnumerateMetafileDestRectI() 4217 GpGraphics *graphics; in METAFILE_DrawImagePointsRect() local [all …]
|
H A D | CMakeLists.txt | 15 graphics.c
|
/reactos/modules/rostests/winetests/gdiplus/ |
H A D | graphics.c | 136 return graphics; in create_graphics() 1551 GpGraphics *graphics; in test_GdipFillPath() local 2253 GpGraphics *graphics; in test_textcontrast() local 3027 GpGraphics *graphics; in test_GdipGetNearestColor() local 3191 GpGraphics *graphics; in test_string_functions() local 3559 GpGraphics *graphics; in test_get_set_interpolation() local 3628 GpGraphics *graphics; in test_get_set_textrenderinghint() local 3750 GpGraphics *graphics; in test_GdipMeasureString() local 4023 GpGraphics *graphics; in test_transform() local 4076 GpGraphics *graphics; in test_pen_thickness() local [all …]
|
H A D | metafile.c | 244 GpGraphics *graphics; in check_metafile() local 372 GpGraphics *graphics; in test_empty() local 577 GpGraphics *graphics; in test_getdc() local 733 GpGraphics *graphics; in test_emfonly() local 1033 GpGraphics *graphics; in test_fillrect() local 1147 GpGraphics *graphics; in test_clear() local 1222 GpGraphics *graphics; in test_nullframerect() local 1355 GpGraphics *graphics; in test_pagetransform() local 1560 GpGraphics *graphics; in test_worldtransform() local 1824 GpGraphics *graphics; in test_converttoemfplus() local [all …]
|
H A D | region.c | 810 GpGraphics *graphics = NULL; in test_isinfinite() local 850 GdipDeleteGraphics(graphics); in test_isinfinite() 858 GpGraphics *graphics = NULL; in test_isempty() local 1006 GpGraphics *graphics = NULL; in test_fromhrgn() local 1120 GpGraphics *graphics; in test_gethrgn() local 1280 GpGraphics *graphics; in test_isequal() local 1372 GpGraphics *graphics; in test_translate() local 1466 GpGraphics *graphics; in test_transform() local 1732 GpGraphics *graphics; in test_getbounds() local 1817 GpGraphics* graphics; in test_isvisiblepoint() local [all …]
|
H A D | font.c | 177 GpGraphics *graphics; in test_logfont() local 184 stat = GdipCreateFromHDC(hdc, &graphics); in test_logfont() 303 GdipDeleteGraphics(graphics); in test_logfont() 672 GpGraphics *graphics; in test_font_metrics() local 679 stat = GdipCreateFromHDC(hdc, &graphics); in test_font_metrics() 803 GdipDeleteGraphics(graphics); in test_font_metrics() 815 GpGraphics *graphics; in test_font_substitution() local 821 status = GdipCreateFromHDC(hdc, &graphics); in test_font_substitution() 908 GdipDeleteGraphics(graphics); in test_font_substitution() 919 GpGraphics *graphics; in test_font_transform() local [all …]
|
H A D | image.c | 1589 GpGraphics *graphics; in test_resolution() local 2302 GpGraphics *graphics; in test_colormatrix() local 2537 GdipDeleteGraphics(graphics); in test_colormatrix() 2548 GpGraphics *graphics; in test_gamma() local 2610 GdipDeleteGraphics(graphics); in test_gamma() 3045 GpGraphics *graphics; in test_remaptable() local 3121 GpGraphics *graphics; in test_colorkey() local 4155 GpGraphics *graphics; in test_DrawImage() local 4207 GpGraphics *graphics; in test_DrawImage_SourceCopy() local 4251 GpGraphics *graphics; in test_GdipDrawImagePointRect() local [all …]
|
H A D | brush.c | 269 GpGraphics *graphics = NULL; in test_transform() local 282 status = GdipCreateFromHDC(hdc, &graphics); in test_transform() 284 status = GdipCreateBitmapFromGraphics(1, 1, graphics, &bitmap); in test_transform() 330 status = GdipDeleteGraphics(graphics); in test_transform() 335 status = GdipCreateFromHWND(hwnd, &graphics); in test_transform() 387 status = GdipFillRectangle(graphics, (GpBrush*)line, 0, 0, 200, 200); in test_transform() 570 GdipDeleteGraphics(graphics); in test_transform() 578 GpGraphics *graphics = NULL; in test_texturewrap() local 583 status = GdipCreateFromHDC(hdc, &graphics); in test_texturewrap() 585 status = GdipCreateBitmapFromGraphics(1, 1, graphics, &bitmap); in test_texturewrap() [all …]
|
H A D | CMakeLists.txt | 8 graphics.c
|
H A D | graphicspath.c | 1251 GpGraphics *graphics = NULL; in test_isvisible() local 1256 status = GdipCreateFromHDC(hdc, &graphics); in test_isvisible() 1268 status = GdipIsVisiblePathPoint(path, 0.0, 0.0, graphics, NULL); in test_isvisible() 1288 status = GdipSetClipRect(graphics, 5.0, 5.0, 5.0, 5.0, CombineModeReplace); in test_isvisible() 1291 status = GdipIsVisiblePathPoint(path, 0.0, 0.0, graphics, &result); in test_isvisible() 1296 GdipDeleteGraphics(graphics); in test_isvisible()
|
/reactos/sdk/include/psdk/ |
H A D | gdiplusgraphics.h | 33 GpGraphics *graphics = NULL; in Graphics() local 38 SetNativeGraphics(graphics); in Graphics() 43 GpGraphics *graphics = NULL; in Graphics() local 45 SetNativeGraphics(graphics); in Graphics() 50 GpGraphics *graphics = NULL; in Graphics() local 52 SetNativeGraphics(graphics); in Graphics() 57 GpGraphics *graphics = NULL; variable 66 SetNativeGraphics(graphics); 1516 SetNativeGraphics(GpGraphics *graphics) in SetNativeGraphics() argument 1518 nativeGraphics = graphics; in SetNativeGraphics() [all …]
|
H A D | gdiplusbase.h | 86 getNat(const Graphics *graphics);
|
H A D | gdiplusheaders.h | 616 CachedBitmap(Bitmap *bitmap, Graphics *graphics) in CachedBitmap() argument 620 bitmap->GetNativeBitmap(), graphics ? getNat(graphics) : NULL, &nativeCachedBitmap); in CachedBitmap() 923 GetHeight(const Graphics *graphics) const in GetHeight() argument 926 SetStatus(DllExports::GdipGetFontHeight(font, graphics ? getNat(graphics) : NULL, &height)); in GetHeight()
|
/reactos/win32ss/user/winsrv/ |
H A D | consrv.cmake | 27 consrv/condrv/graphics.c 36 consrv/frontends/gui/graphics.c
|
/reactos/win32ss/drivers/miniport/bochs/ |
H A D | bochsmp.rc | 2 #define REACTOS_STR_FILE_DESCRIPTION "Bochs graphics adapter miniport"
|
/reactos/dll/win32/shimgvw/ |
H A D | shimgvw.c | 757 GpGraphics *graphics; in ZoomWnd_OnDraw() local 819 GdipCreateFromHDC(hdcMem, &graphics); in ZoomWnd_OnDraw() 820 if (!graphics) in ZoomWnd_OnDraw() 830 GdipSetInterpolationMode(graphics, InterpolationModeNearestNeighbor); in ZoomWnd_OnDraw() 831 GdipSetSmoothingMode(graphics, SmoothingModeNone); in ZoomWnd_OnDraw() 835 GdipSetInterpolationMode(graphics, InterpolationModeHighQualityBilinear); in ZoomWnd_OnDraw() 836 GdipSetSmoothingMode(graphics, SmoothingModeHighQuality); in ZoomWnd_OnDraw() 867 GdipDrawImageRectRect(graphics, g_pImage, in ZoomWnd_OnDraw() 874 GdipDeleteGraphics(graphics); in ZoomWnd_OnDraw()
|
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/ |
H A D | readme.txt | 2 uiports are different graphics libraries using the same core
|
/reactos/dll/cpl/openglcfg/lang/ |
H A D | en-US.rc | 12 …LTEXT "This will override the default settings for your graphics driver! Choose ""Default"" to go …
|
/reactos/base/applications/rapps/ |
H A D | appview.cpp | 544 Graphics graphics(hdcMem); in PaintOnDC() local 548 graphics.SetSmoothingMode(SmoothingMode::SmoothingModeAntiAlias); in PaintOnDC() 552 graphics.FillEllipse( in PaintOnDC() 558 graphics.FillEllipse( in PaintOnDC() 563 graphics.FillEllipse( in PaintOnDC() 576 Graphics graphics(hdcMem); in PaintOnDC() local 582 graphics.DrawImage( in PaintOnDC()
|