ReactOS 0.4.16-dev-983-g23ad936
|
#include <stdarg.h>
#include <math.h>
#include <limits.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "wingdi.h"
#include "wine/unicode.h"
#include "objbase.h"
#include "ocidl.h"
#include "olectl.h"
#include "ole2.h"
#include "winreg.h"
#include "shlwapi.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
#include "wine/list.h"
Go to the source code of this file.
Classes | |
struct | _GraphicsContainerItem |
struct | measure_ranges_args |
struct | measure_string_args |
struct | draw_string_args |
Macros | |
#define | COBJMACROS |
#define | GDIP_CONTID_STEP 64 |
#define | GDIP_GET_NEW_CONTID_FOR(pGpGraphics) (UINT)(InterlockedExchangeAdd(&g_priv_contid,GDIP_CONTID_STEP)) |
#define | fmax max |
#define | ANCHOR_WIDTH (2.0) |
#define | MAX_ITERS (50) |
Typedefs | |
typedef enum GraphicsContainerType | GraphicsContainerType |
typedef struct _GraphicsContainerItem | GraphicsContainerItem |
Enumerations | |
enum | GraphicsContainerType { BEGIN_CONTAINER , SAVE_GRAPHICS } |
Variables | |
static volatile LONG | g_priv_contid = GDIP_CONTID_STEP |
static const COLORREF | DC_BACKGROUND_KEY = 0x0c0b0d |
#define ANCHOR_WIDTH (2.0) |
Definition at line 67 of file graphics.c.
#define COBJMACROS |
Definition at line 29 of file graphics.c.
Definition at line 64 of file graphics.c.
#define GDIP_CONTID_STEP 64 |
Definition at line 57 of file graphics.c.
#define GDIP_GET_NEW_CONTID_FOR | ( | pGpGraphics | ) | (UINT)(InterlockedExchangeAdd(&g_priv_contid,GDIP_CONTID_STEP)) |
Definition at line 59 of file graphics.c.
#define MAX_ITERS (50) |
Definition at line 68 of file graphics.c.
Enumerator | |
---|---|
BEGIN_CONTAINER | |
SAVE_GRAPHICS |
Definition at line 2098 of file graphics.c.
|
static |
Definition at line 392 of file graphics.c.
Referenced by alpha_blend_pixels_hrgn().
|
static |
Definition at line 419 of file graphics.c.
Referenced by alpha_blend_pixels_hrgn().
|
static |
Definition at line 554 of file graphics.c.
Referenced by GdipDrawImagePointsRect(), GdipReleaseDC(), SOFTWARE_GdipDrawDriverString(), and SOFTWARE_GdipDrawThinPath().
|
static |
Definition at line 461 of file graphics.c.
Referenced by alpha_blend_pixels(), and SOFTWARE_GdipFillRegion().
PixelFormat apply_image_attributes | ( | const GpImageAttributes * | attributes, |
LPBYTE | data, | ||
UINT | width, | ||
UINT | height, | ||
INT | stride, | ||
ColorAdjustType | type, | ||
PixelFormat | fmt | ||
) |
Definition at line 710 of file graphics.c.
Referenced by brush_fill_pixels(), GdipDrawImagePointsRect(), and GdipGetImageAttributesAdjustedPalette().
|
static |
Definition at line 5889 of file graphics.c.
Referenced by GdipBeginContainer2(), and GdipSaveGraphics().
Definition at line 571 of file graphics.c.
Referenced by blend_line_gradient(), brush_fill_pixels(), and resample_bitmap_pixel().
Definition at line 561 of file graphics.c.
Referenced by resample_bitmap_pixel_premult().
|
static |
Definition at line 591 of file graphics.c.
Referenced by brush_fill_pixels().
Definition at line 1131 of file graphics.c.
Referenced by GDI32_GdipFillPath(), GDI32_GdipFillRegion(), and GdipDrawPath().
Definition at line 1224 of file graphics.c.
Referenced by SOFTWARE_GdipFillPath(), and SOFTWARE_GdipFillRegion().
|
static |
Definition at line 1159 of file graphics.c.
Referenced by GDI32_GdipFillPath(), and GDI32_GdipFillRegion().
|
static |
Definition at line 1239 of file graphics.c.
Referenced by SOFTWARE_GdipDrawDriverString(), SOFTWARE_GdipDrawThinPath(), and SOFTWARE_GdipFillRegion().
Definition at line 698 of file graphics.c.
Referenced by apply_image_attributes().
Definition at line 76 of file graphics.c.
Referenced by draw_cap(), and draw_poly().
Definition at line 231 of file graphics.c.
Referenced by brush_fill_path().
Definition at line 184 of file graphics.c.
Referenced by create_gdi_brush(), and prepare_dc().
Definition at line 139 of file graphics.c.
Referenced by create_gdi_logbrush().
|
static |
Definition at line 2156 of file graphics.c.
Referenced by end_container(), and GdipDeleteGraphics().
|
static |
Definition at line 1659 of file graphics.c.
Referenced by draw_poly().
|
static |
Definition at line 7437 of file graphics.c.
Referenced by draw_string_callback(), and GdipDrawDriverString().
|
static |
Definition at line 1960 of file graphics.c.
Referenced by GDI32_GdipDrawPath(), GDI32_GdipFillPath(), and trace_path().
|
static |
Definition at line 5653 of file graphics.c.
Referenced by GdipDrawString().
|
static |
Definition at line 6000 of file graphics.c.
Referenced by GdipEndContainer(), and GdipRestoreGraphics().
Definition at line 220 of file graphics.c.
Referenced by create_gdi_brush(), and prepare_dc().
|
static |
Definition at line 7177 of file graphics.c.
Referenced by draw_driver_string().
|
static |
Definition at line 3649 of file graphics.c.
Referenced by GdipDrawPath().
|
static |
Definition at line 4331 of file graphics.c.
Referenced by GdipFillPath().
|
static |
Definition at line 4629 of file graphics.c.
Referenced by GdipFillRegion().
|
static |
Definition at line 326 of file graphics.c.
Referenced by alpha_blend_hdc_pixels(), brush_fill_path(), and GdipDrawImagePointsRect().
GpStatus gdi_transform_acquire | ( | GpGraphics * | graphics | ) |
Definition at line 6846 of file graphics.c.
Referenced by GDI32_GdipDrawDriverString(), GDI32_GdipDrawPath(), GDI32_GdipFillPath(), GdipDrawImagePointsRect(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureString(), get_path_hrgn(), SOFTWARE_GdipDrawDriverString(), SOFTWARE_GdipDrawThinPath(), and SOFTWARE_GdipFillRegion().
GpStatus gdi_transform_release | ( | GpGraphics * | graphics | ) |
Definition at line 6860 of file graphics.c.
Referenced by GDI32_GdipDrawDriverString(), GDI32_GdipDrawPath(), GDI32_GdipFillPath(), GdipDrawImagePointsRect(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureString(), get_path_hrgn(), SOFTWARE_GdipDrawDriverString(), SOFTWARE_GdipDrawThinPath(), and SOFTWARE_GdipFillRegion().
GpStatus gdip_format_string | ( | HDC | hdc, |
GDIPCONST WCHAR * | string, | ||
INT | length, | ||
GDIPCONST GpFont * | font, | ||
GDIPCONST RectF * | rect, | ||
GDIPCONST GpStringFormat * | format, | ||
int | ignore_empty_clip, | ||
gdip_format_string_callback | callback, | ||
void * | user_data | ||
) |
Definition at line 5205 of file graphics.c.
Referenced by GdipAddPathString(), GdipDrawString(), GdipMeasureCharacterRanges(), and GdipMeasureString().
GpStatus gdip_transform_points | ( | GpGraphics * | graphics, |
GpCoordinateSpace | dst_space, | ||
GpCoordinateSpace | src_space, | ||
GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 6952 of file graphics.c.
Referenced by brush_fill_pixels(), draw_cap(), draw_poly(), GDI32_GdipDrawDriverString(), GdipDrawImagePointsRect(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), GdipTransformPoints(), get_font_hfont(), get_graphics_bounds(), prepare_dc(), SOFTWARE_GdipDrawDriverString(), and SOFTWARE_GdipDrawPath().
GpStatus WINGDIPAPI GdipBeginContainer | ( | GpGraphics * | graphics, |
GDIPCONST GpRectF * | dstrect, | ||
GDIPCONST GpRectF * | srcrect, | ||
GpUnit | unit, | ||
GraphicsContainer * | state | ||
) |
Definition at line 5928 of file graphics.c.
Referenced by GdipBeginContainerI(), test_container_rects(), and test_containers().
GpStatus WINGDIPAPI GdipBeginContainer2 | ( | GpGraphics * | graphics, |
GraphicsContainer * | state | ||
) |
Definition at line 5921 of file graphics.c.
Referenced by GdipEnumerateMetafileSrcRectDestPoints(), GdipPlayMetafileRecord(), test_BeginContainer2(), test_containers(), and test_save_restore().
GpStatus WINGDIPAPI GdipBeginContainerI | ( | GpGraphics * | graphics, |
GDIPCONST GpRect * | dstrect, | ||
GDIPCONST GpRect * | srcrect, | ||
GpUnit | unit, | ||
GraphicsContainer * | state | ||
) |
Definition at line 5972 of file graphics.c.
GpStatus WINGDIPAPI GdipComment | ( | GpGraphics * | graphics, |
UINT | sizeData, | ||
GDIPCONST BYTE * | data | ||
) |
Definition at line 5994 of file graphics.c.
GpStatus WINGDIPAPI GdipCreateFromHDC | ( | HDC | hdc, |
GpGraphics ** | graphics | ||
) |
Definition at line 2395 of file graphics.c.
Referenced by check_metafile(), GdipAddPathString(), GdipCreateFromHWND(), GdipGetImageGraphicsContext(), get_path_hrgn(), test_alpha_hdc(), test_BeginContainer2(), test_bitmapfromgraphics(), test_clip_xform(), test_cliphrgn_transform(), test_clipping(), test_clipping_2(), test_constructor_destructor(), test_container_rects(), test_font_height_scaling(), test_font_metrics(), test_font_substitution(), test_font_transform(), test_fromhrgn(), test_GdipCreateRegionRgnData(), test_GdipDrawArc(), test_GdipDrawArcI(), test_GdipDrawBezierI(), test_GdipDrawCurve(), test_GdipDrawCurve2(), test_GdipDrawCurve2I(), test_GdipDrawCurve3(), test_GdipDrawCurve3I(), test_GdipDrawCurveI(), test_GdipDrawImagePointsRect(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipDrawLineI(), test_GdipDrawLinesI(), test_GdipDrawString(), test_GdipFillClosedCurve(), test_GdipFillClosedCurve2(), test_GdipFillClosedCurve2I(), test_GdipFillClosedCurveI(), test_GdipFillPath(), test_GdipFillRectangles(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetNearestColor(), test_GdipGetVisibleClipBounds(), test_GdipGetVisibleClipBounds_memoryDC(), test_GdipGetVisibleClipBounds_screen(), test_GdipGetVisibleClipBounds_window(), test_GdipGraphicsSetAbort(), test_GdipIsVisiblePoint(), test_GdipIsVisibleRect(), test_Get_Release_DC(), test_get_set_clip(), test_get_set_interpolation(), test_get_set_textrenderinghint(), test_getbounds(), test_gethrgn(), test_hdc_caching(), test_isempty(), test_isequal(), test_isinfinite(), test_isvisible(), test_isvisiblepoint(), test_isvisiblerect(), test_logfont(), test_measure_string(), test_measured_extra_space(), test_save_restore(), test_string_functions(), test_textcontrast(), test_texturewrap(), test_transform(), test_transformpoints(), test_translate(), and ZoomWnd_OnDraw().
GpStatus WINGDIPAPI GdipCreateFromHDC2 | ( | HDC | hdc, |
HANDLE | hDevice, | ||
GpGraphics ** | graphics | ||
) |
Definition at line 2416 of file graphics.c.
Referenced by GdipCreateFromHDC().
GpStatus WINGDIPAPI GdipCreateFromHWND | ( | HWND | hwnd, |
GpGraphics ** | graphics | ||
) |
Definition at line 2529 of file graphics.c.
Referenced by GdipCreateFromHWNDICM(), test_constructor_destructor(), and test_transform().
GpStatus WINGDIPAPI GdipCreateFromHWNDICM | ( | HWND | hwnd, |
GpGraphics ** | graphics | ||
) |
Definition at line 2551 of file graphics.c.
Referenced by test_constructor_destructor().
HPALETTE WINGDIPAPI GdipCreateHalftonePalette | ( | void | ) |
Definition at line 7015 of file graphics.c.
GpStatus WINGDIPAPI GdipCreateStreamOnFile | ( | GDIPCONST WCHAR * | filename, |
UINT | access, | ||
IStream ** | stream | ||
) |
Definition at line 2558 of file graphics.c.
Referenced by GdipCreateBitmapFromFile(), GdipCreateMetafileFromFile(), GdipLoadImageFromFile(), and GdipSaveImageToFile().
GpStatus WINGDIPAPI GdipDeleteGraphics | ( | GpGraphics * | graphics | ) |
Definition at line 2581 of file graphics.c.
Referenced by check_metafile(), GdipAddPathString(), GdipGetImageThumbnail(), get_path_hrgn(), METAFILE_DrawImagePointsRect(), test_alpha_hdc(), test_BeginContainer2(), test_bitmapfromgraphics(), test_clear(), test_clip_xform(), test_cliphrgn_transform(), test_clipping(), test_clipping_2(), test_colorkey(), test_colormatrix(), test_constructor_destructor(), test_container_rects(), test_containers(), test_converttoemfplus(), test_DrawImage(), test_drawimage(), test_DrawImage_scale(), test_DrawImage_SourceCopy(), test_drawpath(), test_emfonly(), test_empty(), test_fillpath(), test_fillrect(), test_font_height_scaling(), test_font_metrics(), test_font_substitution(), test_font_transform(), test_frameunit(), test_fromhrgn(), test_fromMemoryBitmap(), test_gamma(), test_GdipCreateRegionRgnData(), test_GdipDrawArc(), test_GdipDrawArcI(), test_GdipDrawBezierI(), test_GdipDrawCurve(), test_GdipDrawCurve2(), test_GdipDrawCurve2I(), test_GdipDrawCurve3(), test_GdipDrawCurve3I(), test_GdipDrawCurveI(), test_GdipDrawImagePointRect(), test_GdipDrawImagePointsRect(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipDrawLineI(), test_GdipDrawLinesI(), test_GdipDrawString(), test_GdipFillClosedCurve(), test_GdipFillClosedCurve2(), test_GdipFillClosedCurve2I(), test_GdipFillClosedCurveI(), test_GdipFillPath(), test_GdipFillRectangles(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetNearestColor(), test_GdipGetVisibleClipBounds(), test_GdipGetVisibleClipBounds_memoryDC(), test_GdipGetVisibleClipBounds_screen(), test_GdipGetVisibleClipBounds_window(), test_GdipGraphicsSetAbort(), test_GdipIsVisiblePoint(), test_GdipIsVisibleRect(), test_GdipMeasureString(), test_gditransform(), test_Get_Release_DC(), test_get_set_clip(), test_get_set_interpolation(), test_get_set_textrenderinghint(), test_getbounds(), test_getdc(), test_getdc_scaled(), test_gethrgn(), test_hdc_caching(), test_isempty(), test_isequal(), test_isinfinite(), test_isvisible(), test_isvisiblepoint(), test_isvisiblerect(), test_logfont(), test_measure_string(), test_measured_extra_space(), test_nullframerect(), test_pagetransform(), test_pen_thickness(), test_properties(), test_remaptable(), test_resolution(), test_save_restore(), test_string_functions(), test_textcontrast(), test_texturewrap(), test_transform(), test_transformpoints(), test_translate(), test_worldtransform(), and ZoomWnd_OnDraw().
GpStatus WINGDIPAPI GdipDrawArc | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height, | ||
REAL | startAngle, | ||
REAL | sweepAngle | ||
) |
Definition at line 2619 of file graphics.c.
Referenced by GdipDrawArcI(), GdipPlayMetafileRecord(), test_GdipDrawArc(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawArcI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height, | ||
REAL | startAngle, | ||
REAL | sweepAngle | ||
) |
Definition at line 2645 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_GdipDrawArcI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawBezier | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
REAL | x1, | ||
REAL | y1, | ||
REAL | x2, | ||
REAL | y2, | ||
REAL | x3, | ||
REAL | y3, | ||
REAL | x4, | ||
REAL | y4 | ||
) |
Definition at line 2654 of file graphics.c.
Referenced by GdipDrawBezierI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawBezierI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
INT | x1, | ||
INT | y1, | ||
INT | x2, | ||
INT | y2, | ||
INT | x3, | ||
INT | y3, | ||
INT | x4, | ||
INT | y4 | ||
) |
Definition at line 2679 of file graphics.c.
Referenced by test_GdipDrawBezierI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawBeziers | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 2688 of file graphics.c.
Referenced by GdipDrawBezier(), GdipDrawBeziersI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawBeziersI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 2713 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawClosedCurve | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 2744 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawClosedCurve2 | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
REAL | tension | ||
) |
Definition at line 2760 of file graphics.c.
Referenced by GdipDrawClosedCurve(), GdipDrawClosedCurve2I(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawClosedCurve2I | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count, | ||
REAL | tension | ||
) |
Definition at line 2786 of file graphics.c.
Referenced by GdipDrawClosedCurveI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawClosedCurveI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 2752 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawCurve | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 2814 of file graphics.c.
Referenced by GdipDrawCurveI(), test_GdipDrawCurve(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawCurve2 | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
REAL | tension | ||
) |
Definition at line 2850 of file graphics.c.
Referenced by GdipDrawCurve(), GdipDrawCurve2I(), GdipDrawCurve3(), test_GdipDrawCurve2(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawCurve2I | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count, | ||
REAL | tension | ||
) |
Definition at line 2878 of file graphics.c.
Referenced by GdipDrawCurve3I(), test_GdipDrawCurve2I(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawCurve3 | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
INT | offset, | ||
INT | numberOfSegments, | ||
REAL | tension | ||
) |
Definition at line 2905 of file graphics.c.
Referenced by test_GdipDrawCurve3().
GpStatus WINGDIPAPI GdipDrawCurve3I | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count, | ||
INT | offset, | ||
INT | numberOfSegments, | ||
REAL | tension | ||
) |
Definition at line 2918 of file graphics.c.
Referenced by test_GdipDrawCurve3I().
GpStatus WINGDIPAPI GdipDrawCurveI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 2822 of file graphics.c.
Referenced by test_GdipDrawCurveI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawDriverString | ( | GpGraphics * | graphics, |
GDIPCONST UINT16 * | text, | ||
INT | length, | ||
GDIPCONST GpFont * | font, | ||
GDIPCONST GpBrush * | brush, | ||
GDIPCONST PointF * | positions, | ||
INT | flags, | ||
GDIPCONST GpMatrix * | matrix | ||
) |
Definition at line 7462 of file graphics.c.
Referenced by test_GdipDrawString().
GpStatus WINGDIPAPI GdipDrawEllipse | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height | ||
) |
Definition at line 2935 of file graphics.c.
Referenced by GdipDrawEllipseI(), GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawEllipseI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height | ||
) |
Definition at line 2960 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawImage | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
REAL | x, | ||
REAL | y | ||
) |
Definition at line 2969 of file graphics.c.
Referenced by GdipDrawCachedBitmap(), and GdipDrawImageI().
GpStatus WINGDIPAPI GdipDrawImageI | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
INT | x, | ||
INT | y | ||
) |
Definition at line 2985 of file graphics.c.
Referenced by test_DrawImage(), test_DrawImage_scale(), and test_DrawImage_SourceCopy().
GpStatus WINGDIPAPI GdipDrawImagePointRect | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
REAL | x, | ||
REAL | y, | ||
REAL | srcx, | ||
REAL | srcy, | ||
REAL | srcwidth, | ||
REAL | srcheight, | ||
GpUnit | srcUnit | ||
) |
Definition at line 2993 of file graphics.c.
Referenced by GdipDrawImage(), and GdipDrawImagePointRectI().
GpStatus WINGDIPAPI GdipDrawImagePointRectI | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
INT | x, | ||
INT | y, | ||
INT | srcx, | ||
INT | srcy, | ||
INT | srcwidth, | ||
INT | srcheight, | ||
GpUnit | srcUnit | ||
) |
Definition at line 3020 of file graphics.c.
Referenced by test_GdipDrawImagePointRect().
GpStatus WINGDIPAPI GdipDrawImagePoints | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
GDIPCONST GpPointF * | dstpoints, | ||
INT | count | ||
) |
Definition at line 3027 of file graphics.c.
Referenced by GdipDrawImagePointsI().
GpStatus WINGDIPAPI GdipDrawImagePointsI | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
GDIPCONST GpPoint * | dstpoints, | ||
INT | count | ||
) |
Definition at line 3044 of file graphics.c.
GpStatus WINGDIPAPI GdipDrawImagePointsRect | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
REAL | srcx, | ||
REAL | srcy, | ||
REAL | srcwidth, | ||
REAL | srcheight, | ||
GpUnit | srcUnit, | ||
GDIPCONST GpImageAttributes * | imageAttributes, | ||
DrawImageAbort | callback, | ||
VOID * | callbackData | ||
) |
Definition at line 3071 of file graphics.c.
Referenced by GdipDrawImagePointRect(), GdipDrawImagePoints(), GdipDrawImagePointsRectI(), GdipDrawImageRectRect(), GdipDrawImageRectRectI(), GdipPlayMetafileRecord(), test_clear(), test_drawimage(), test_emfonly(), test_fillrect(), test_GdipDrawImagePointsRect(), and test_getdc().
GpStatus WINGDIPAPI GdipDrawImagePointsRectI | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
GDIPCONST GpPoint * | points, | ||
INT | count, | ||
INT | srcx, | ||
INT | srcy, | ||
INT | srcwidth, | ||
INT | srcheight, | ||
GpUnit | srcUnit, | ||
GDIPCONST GpImageAttributes * | imageAttributes, | ||
DrawImageAbort | callback, | ||
VOID * | callbackData | ||
) |
Definition at line 3473 of file graphics.c.
GpStatus WINGDIPAPI GdipDrawImageRect | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height | ||
) |
Definition at line 3544 of file graphics.c.
Referenced by GdipDrawImageRectI().
GpStatus WINGDIPAPI GdipDrawImageRectI | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height | ||
) |
Definition at line 3565 of file graphics.c.
GpStatus WINGDIPAPI GdipDrawImageRectRect | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
REAL | dstx, | ||
REAL | dsty, | ||
REAL | dstwidth, | ||
REAL | dstheight, | ||
REAL | srcx, | ||
REAL | srcy, | ||
REAL | srcwidth, | ||
REAL | srcheight, | ||
GpUnit | srcUnit, | ||
GDIPCONST GpImageAttributes * | imageattr, | ||
DrawImageAbort | callback, | ||
VOID * | callbackData | ||
) |
Definition at line 3498 of file graphics.c.
Referenced by GdipDrawImageRect(), and ZoomWnd_OnDraw().
GpStatus WINGDIPAPI GdipDrawImageRectRectI | ( | GpGraphics * | graphics, |
GpImage * | image, | ||
INT | dstx, | ||
INT | dsty, | ||
INT | dstwidth, | ||
INT | dstheight, | ||
INT | srcx, | ||
INT | srcy, | ||
INT | srcwidth, | ||
INT | srcheight, | ||
GpUnit | srcUnit, | ||
GDIPCONST GpImageAttributes * | imageAttributes, | ||
DrawImageAbort | callback, | ||
VOID * | callbackData | ||
) |
Definition at line 3521 of file graphics.c.
Referenced by GdipGetImageThumbnail(), METAFILE_DrawImagePointsRect(), test_colorkey(), test_colormatrix(), test_gamma(), test_GdipDrawImagePointsRectOnMemoryDC(), and test_remaptable().
GpStatus WINGDIPAPI GdipDrawLine | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
REAL | x1, | ||
REAL | y1, | ||
REAL | x2, | ||
REAL | y2 | ||
) |
Definition at line 3573 of file graphics.c.
Referenced by GdipDrawLineI(), test_Get_Release_DC(), and test_pen_thickness().
GpStatus WINGDIPAPI GdipDrawLineI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
INT | x1, | ||
INT | y1, | ||
INT | x2, | ||
INT | y2 | ||
) |
Definition at line 3593 of file graphics.c.
Referenced by test_emfonly(), test_GdipDrawLineI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawLines | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 3601 of file graphics.c.
Referenced by GdipDrawLine(), GdipDrawLinesI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawLinesI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 3626 of file graphics.c.
Referenced by test_GdipDrawLinesI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawPath | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GpPath * | path | ||
) |
Definition at line 4070 of file graphics.c.
Referenced by GdipDrawArc(), GdipDrawBeziers(), GdipDrawClosedCurve2(), GdipDrawCurve2(), GdipDrawEllipse(), GdipDrawLines(), GdipDrawPie(), GdipDrawPolygon(), GdipDrawRectangle(), GdipDrawRectangles(), GdipPlayMetafileRecord(), test_drawpath(), test_Get_Release_DC(), and test_pen_thickness().
GpStatus WINGDIPAPI GdipDrawPie | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height, | ||
REAL | startAngle, | ||
REAL | sweepAngle | ||
) |
Definition at line 4095 of file graphics.c.
Referenced by GdipDrawPieI(), GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawPieI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height, | ||
REAL | startAngle, | ||
REAL | sweepAngle | ||
) |
Definition at line 4121 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawPolygon | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 6576 of file graphics.c.
Referenced by GdipDrawPolygonI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawPolygonI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 6602 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawRectangle | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height | ||
) |
Definition at line 4130 of file graphics.c.
Referenced by GdipDrawRectangleI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawRectangleI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height | ||
) |
Definition at line 4155 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawRectangles | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpRectF * | rects, | ||
INT | count | ||
) |
Definition at line 4163 of file graphics.c.
Referenced by GdipDrawRectanglesI(), GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawRectanglesI | ( | GpGraphics * | graphics, |
GpPen * | pen, | ||
GDIPCONST GpRect * | rects, | ||
INT | count | ||
) |
Definition at line 4188 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipDrawString | ( | GpGraphics * | graphics, |
GDIPCONST WCHAR * | string, | ||
INT | length, | ||
GDIPCONST GpFont * | font, | ||
GDIPCONST RectF * | rect, | ||
GDIPCONST GpStringFormat * | format, | ||
GDIPCONST GpBrush * | brush | ||
) |
Definition at line 5700 of file graphics.c.
Referenced by test_GdipDrawString(), and test_string_functions().
GpStatus WINGDIPAPI GdipEndContainer | ( | GpGraphics * | graphics, |
GraphicsContainer | state | ||
) |
Definition at line 6043 of file graphics.c.
Referenced by GdipEnumerateMetafileSrcRectDestPoints(), GdipPlayMetafileRecord(), test_BeginContainer2(), test_container_rects(), test_containers(), and test_save_restore().
GpStatus WINGDIPAPI GdipFillClosedCurve | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 4278 of file graphics.c.
Referenced by test_GdipFillClosedCurve(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillClosedCurve2 | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
REAL | tension, | ||
GpFillMode | fill | ||
) |
Definition at line 4217 of file graphics.c.
Referenced by GdipFillClosedCurve(), GdipFillClosedCurve2I(), GdipPlayMetafileRecord(), test_GdipFillClosedCurve2(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillClosedCurve2I | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPoint * | points, | ||
INT | count, | ||
REAL | tension, | ||
GpFillMode | fill | ||
) |
Definition at line 4246 of file graphics.c.
Referenced by GdipFillClosedCurveI(), test_GdipFillClosedCurve2I(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillClosedCurveI | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 4286 of file graphics.c.
Referenced by test_GdipFillClosedCurveI(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillEllipse | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height | ||
) |
Definition at line 4294 of file graphics.c.
Referenced by GdipFillEllipseI(), GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillEllipseI | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height | ||
) |
Definition at line 4323 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillPath | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GpPath * | path | ||
) |
Definition at line 4395 of file graphics.c.
Referenced by GdipFillClosedCurve2(), GdipFillEllipse(), GdipFillPie(), GdipFillPolygon(), GdipFillPolygonI(), GdipFillRectangles(), GdipPlayMetafileRecord(), SOFTWARE_GdipDrawPath(), test_fillpath(), test_GdipFillPath(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillPie | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height, | ||
REAL | startAngle, | ||
REAL | sweepAngle | ||
) |
Definition at line 4428 of file graphics.c.
Referenced by GdipFillPieI(), GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillPieI | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height, | ||
REAL | startAngle, | ||
REAL | sweepAngle | ||
) |
Definition at line 4458 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillPolygon | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
GpFillMode | fillMode | ||
) |
Definition at line 4467 of file graphics.c.
Referenced by GdipFillPolygon2(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillPolygon2 | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 4525 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillPolygon2I | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 4533 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillPolygonI | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpPoint * | points, | ||
INT | count, | ||
GpFillMode | fillMode | ||
) |
Definition at line 4496 of file graphics.c.
Referenced by GdipFillPolygon2I(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillRectangle | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height | ||
) |
Definition at line 4541 of file graphics.c.
Referenced by draw_string_callback(), GdipGraphicsClear(), test_clipping(), test_containers(), test_Get_Release_DC(), test_pagetransform(), test_transform(), and test_worldtransform().
GpStatus WINGDIPAPI GdipFillRectangleI | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height | ||
) |
Definition at line 4556 of file graphics.c.
Referenced by test_fillrect(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_Get_Release_DC(), test_hdc_caching(), test_nullframerect(), test_pagetransform(), and test_worldtransform().
GpStatus WINGDIPAPI GdipFillRectangles | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpRectF * | rects, | ||
INT | count | ||
) |
Definition at line 4571 of file graphics.c.
Referenced by GdipFillRectangle(), GdipFillRectangleI(), GdipFillRectanglesI(), GdipPlayMetafileRecord(), test_GdipFillRectangles(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillRectanglesI | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GDIPCONST GpRect * | rects, | ||
INT | count | ||
) |
Definition at line 4600 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFillRegion | ( | GpGraphics * | graphics, |
GpBrush * | brush, | ||
GpRegion * | region | ||
) |
Definition at line 4762 of file graphics.c.
Referenced by SOFTWARE_GdipFillPath(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipFlush | ( | GpGraphics * | graphics, |
GpFlushIntention | intention | ||
) |
Definition at line 4790 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetClip | ( | GpGraphics * | graphics, |
GpRegion * | region | ||
) |
Definition at line 6813 of file graphics.c.
Referenced by GdipEnumerateMetafileSrcRectDestPoints(), GdipGetClipBounds(), test_clip_xform(), test_clipping(), test_clipping_2(), test_Get_Release_DC(), and test_get_set_clip().
GpStatus WINGDIPAPI GdipGetClipBounds | ( | GpGraphics * | graphics, |
GpRectF * | rect | ||
) |
Definition at line 4811 of file graphics.c.
Referenced by test_BeginContainer2(), test_clipping(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetClipBoundsI | ( | GpGraphics * | graphics, |
GpRect * | rect | ||
) |
Definition at line 4838 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetCompositingMode | ( | GpGraphics * | graphics, |
CompositingMode * | mode | ||
) |
Definition at line 4852 of file graphics.c.
Referenced by test_BeginContainer2(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetCompositingQuality | ( | GpGraphics * | graphics, |
CompositingQuality * | quality | ||
) |
Definition at line 4869 of file graphics.c.
Referenced by test_BeginContainer2(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetDC | ( | GpGraphics * | graphics, |
HDC * | hdc | ||
) |
Definition at line 6686 of file graphics.c.
Referenced by METAFILE_PlaybackGetDC(), test_alpha_hdc(), test_emfonly(), test_fromMemoryBitmap(), test_gditransform(), test_Get_Release_DC(), test_getdc(), test_getdc_scaled(), and test_nullframerect().
GpStatus WINGDIPAPI GdipGetDpiX | ( | GpGraphics * | graphics, |
REAL * | dpi | ||
) |
Definition at line 6625 of file graphics.c.
Referenced by create_graphics(), GdipCreateBitmapFromGraphics(), test_bitmapfromgraphics(), test_container_rects(), test_containers(), test_Get_Release_DC(), test_measured_extra_space(), test_pagetransform(), and test_resolution().
GpStatus WINGDIPAPI GdipGetDpiY | ( | GpGraphics * | graphics, |
REAL * | dpi | ||
) |
Definition at line 6639 of file graphics.c.
Referenced by create_graphics(), GdipCreateBitmapFromGraphics(), GdipGetFontHeight(), test_bitmapfromgraphics(), test_container_rects(), test_containers(), test_font_height_scaling(), test_Get_Release_DC(), test_pagetransform(), and test_resolution().
GpStatus WINGDIPAPI GdipGetInterpolationMode | ( | GpGraphics * | graphics, |
InterpolationMode * | mode | ||
) |
Definition at line 4886 of file graphics.c.
Referenced by test_BeginContainer2(), test_Get_Release_DC(), test_get_set_interpolation(), and test_save_restore().
GpStatus WINGDIPAPI GdipGetNearestColor | ( | GpGraphics * | graphics, |
ARGB * | argb | ||
) |
Definition at line 4903 of file graphics.c.
Referenced by test_GdipGetNearestColor(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetPageScale | ( | GpGraphics * | graphics, |
REAL * | scale | ||
) |
Definition at line 4916 of file graphics.c.
Referenced by test_BeginContainer2(), test_Get_Release_DC(), and test_pagetransform().
GpStatus WINGDIPAPI GdipGetPageUnit | ( | GpGraphics * | graphics, |
GpUnit * | unit | ||
) |
Definition at line 4931 of file graphics.c.
Referenced by test_BeginContainer2(), test_clipping(), test_clipping_2(), test_Get_Release_DC(), and test_pagetransform().
GpStatus WINGDIPAPI GdipGetPixelOffsetMode | ( | GpGraphics * | graphics, |
PixelOffsetMode * | mode | ||
) |
Definition at line 4947 of file graphics.c.
Referenced by test_BeginContainer2(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetRenderingOrigin | ( | GpGraphics * | graphics, |
INT * | x, | ||
INT * | y | ||
) |
Definition at line 6280 of file graphics.c.
GpStatus WINGDIPAPI GdipGetSmoothingMode | ( | GpGraphics * | graphics, |
SmoothingMode * | mode | ||
) |
Definition at line 4964 of file graphics.c.
Referenced by test_BeginContainer2(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipGetTextContrast | ( | GpGraphics * | graphics, |
UINT * | contrast | ||
) |
Definition at line 4979 of file graphics.c.
Referenced by test_BeginContainer2(), and test_textcontrast().
GpStatus WINGDIPAPI GdipGetTextRenderingHint | ( | GpGraphics * | graphics, |
TextRenderingHint * | hint | ||
) |
Definition at line 4992 of file graphics.c.
Referenced by test_BeginContainer2(), test_Get_Release_DC(), and test_get_set_textrenderinghint().
GpStatus WINGDIPAPI GdipGetVisibleClipBounds | ( | GpGraphics * | graphics, |
GpRectF * | rect | ||
) |
Definition at line 5008 of file graphics.c.
Referenced by GdipGetVisibleClipBoundsI(), GdipGraphicsClear(), test_alpha_hdc(), test_cliphrgn_transform(), test_clipping(), test_GdipGetVisibleClipBounds(), test_GdipGetVisibleClipBounds_screen(), and test_GdipGetVisibleClipBounds_window().
GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI | ( | GpGraphics * | graphics, |
GpRect * | rect | ||
) |
Definition at line 5045 of file graphics.c.
Referenced by test_GdipGetVisibleClipBounds(), test_GdipGetVisibleClipBounds_memoryDC(), test_GdipGetVisibleClipBounds_screen(), and test_GdipGetVisibleClipBounds_window().
GpStatus WINGDIPAPI GdipGetWorldTransform | ( | GpGraphics * | graphics, |
GpMatrix * | matrix | ||
) |
Definition at line 5066 of file graphics.c.
Referenced by test_BeginContainer2(), test_Get_Release_DC(), and test_worldtransform().
GpStatus WINGDIPAPI GdipGraphicsClear | ( | GpGraphics * | graphics, |
ARGB | color | ||
) |
Definition at line 5080 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_alpha_hdc(), test_clear(), test_clip_xform(), test_fromMemoryBitmap(), test_Get_Release_DC(), and test_pen_thickness().
GpStatus WINGDIPAPI GdipGraphicsSetAbort | ( | GpGraphics * | graphics, |
GdiplusAbort * | pabort | ||
) |
Definition at line 7511 of file graphics.c.
GpStatus WINGDIPAPI GdipIsClipEmpty | ( | GpGraphics * | graphics, |
BOOL * | res | ||
) |
Definition at line 5113 of file graphics.c.
Referenced by test_isempty().
GpStatus WINGDIPAPI GdipIsVisibleClipEmpty | ( | GpGraphics * | graphics, |
BOOL * | res | ||
) |
Definition at line 7479 of file graphics.c.
GpStatus WINGDIPAPI GdipIsVisiblePoint | ( | GpGraphics * | graphics, |
REAL | x, | ||
REAL | y, | ||
BOOL * | result | ||
) |
Definition at line 5123 of file graphics.c.
Referenced by GdipIsVisiblePointI(), test_cliphrgn_transform(), test_GdipIsVisiblePoint(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipIsVisiblePointI | ( | GpGraphics * | graphics, |
INT | x, | ||
INT | y, | ||
BOOL * | result | ||
) |
Definition at line 5156 of file graphics.c.
Referenced by test_GdipIsVisiblePoint(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipIsVisibleRect | ( | GpGraphics * | graphics, |
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height, | ||
BOOL * | result | ||
) |
Definition at line 5161 of file graphics.c.
Referenced by GdipIsVisibleRectI(), and test_GdipIsVisibleRect().
GpStatus WINGDIPAPI GdipIsVisibleRectI | ( | GpGraphics * | graphics, |
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height, | ||
BOOL * | result | ||
) |
Definition at line 5200 of file graphics.c.
Referenced by test_GdipIsVisibleRect().
GpStatus WINGDIPAPI GdipMeasureCharacterRanges | ( | GpGraphics * | graphics, |
GDIPCONST WCHAR * | string, | ||
INT | length, | ||
GDIPCONST GpFont * | font, | ||
GDIPCONST RectF * | layoutRect, | ||
GDIPCONST GpStringFormat * | stringFormat, | ||
INT | regionCount, | ||
GpRegion ** | regions | ||
) |
Definition at line 5427 of file graphics.c.
Referenced by test_font_height_scaling(), test_measure_string(), and test_string_functions().
GpStatus WINGDIPAPI GdipMeasureDriverString | ( | GpGraphics * | graphics, |
GDIPCONST UINT16 * | text, | ||
INT | length, | ||
GDIPCONST GpFont * | font, | ||
GDIPCONST PointF * | positions, | ||
INT | flags, | ||
GDIPCONST GpMatrix * | matrix, | ||
RectF * | boundingBox | ||
) |
Definition at line 7063 of file graphics.c.
Referenced by test_font_transform(), and test_string_functions().
GpStatus WINGDIPAPI GdipMeasureString | ( | GpGraphics * | graphics, |
GDIPCONST WCHAR * | string, | ||
INT | length, | ||
GDIPCONST GpFont * | font, | ||
GDIPCONST RectF * | rect, | ||
GDIPCONST GpStringFormat * | format, | ||
RectF * | bounds, | ||
INT * | codepointsfitted, | ||
INT * | linesfilled | ||
) |
Definition at line 5550 of file graphics.c.
Referenced by GdipDrawString(), test_font_height_scaling(), test_font_transform(), test_GdipMeasureString(), test_measure_string(), test_measured_extra_space(), and test_string_functions().
GpStatus WINGDIPAPI GdipMultiplyWorldTransform | ( | GpGraphics * | graphics, |
GDIPCONST GpMatrix * | matrix, | ||
GpMatrixOrder | order | ||
) |
Definition at line 6653 of file graphics.c.
Referenced by test_Get_Release_DC(), and test_worldtransform().
GpStatus WINGDIPAPI GdipReleaseDC | ( | GpGraphics * | graphics, |
HDC | hdc | ||
) |
Definition at line 6762 of file graphics.c.
Referenced by METAFILE_PlaybackReleaseDC(), test_alpha_hdc(), test_emfonly(), test_fromMemoryBitmap(), test_gditransform(), test_Get_Release_DC(), test_getdc(), test_getdc_scaled(), and test_nullframerect().
GpStatus WINGDIPAPI GdipResetClip | ( | GpGraphics * | graphics | ) |
Definition at line 5831 of file graphics.c.
Referenced by test_clip_xform(), test_GdipGetVisibleClipBounds_window(), test_Get_Release_DC(), and test_get_set_clip().
GpStatus WINGDIPAPI GdipResetPageTransform | ( | GpGraphics * | graphics | ) |
Definition at line 7499 of file graphics.c.
GpStatus WINGDIPAPI GdipResetWorldTransform | ( | GpGraphics * | graphics | ) |
Definition at line 5844 of file graphics.c.
Referenced by GdipEnumerateMetafileSrcRectDestPoints(), test_clip_xform(), test_container_rects(), test_Get_Release_DC(), and test_worldtransform().
GpStatus WINGDIPAPI GdipRestoreGraphics | ( | GpGraphics * | graphics, |
GraphicsState | state | ||
) |
Definition at line 6049 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_clipping(), test_containers(), and test_save_restore().
GpStatus WINGDIPAPI GdipRotateWorldTransform | ( | GpGraphics * | graphics, |
REAL | angle, | ||
GpMatrixOrder | order | ||
) |
Definition at line 5866 of file graphics.c.
Referenced by test_Get_Release_DC(), and test_worldtransform().
GpStatus WINGDIPAPI GdipSaveGraphics | ( | GpGraphics * | graphics, |
GraphicsState * | state | ||
) |
Definition at line 5915 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_clipping(), test_containers(), and test_save_restore().
GpStatus WINGDIPAPI GdipScaleWorldTransform | ( | GpGraphics * | graphics, |
REAL | sx, | ||
REAL | sy, | ||
GpMatrixOrder | order | ||
) |
Definition at line 6055 of file graphics.c.
Referenced by test_clip_xform(), test_container_rects(), test_containers(), test_font_height_scaling(), test_GdipGetVisibleClipBounds_window(), test_Get_Release_DC(), test_getbounds(), test_getdc_scaled(), test_gethrgn(), and test_worldtransform().
GpStatus WINGDIPAPI GdipSetClipGraphics | ( | GpGraphics * | graphics, |
GpGraphics * | srcgraphics, | ||
CombineMode | mode | ||
) |
Definition at line 6078 of file graphics.c.
GpStatus WINGDIPAPI GdipSetClipHrgn | ( | GpGraphics * | graphics, |
HRGN | hrgn, | ||
CombineMode | mode | ||
) |
Definition at line 6416 of file graphics.c.
Referenced by test_cliphrgn_transform(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipSetClipPath | ( | GpGraphics * | graphics, |
GpPath * | path, | ||
CombineMode | mode | ||
) |
Definition at line 6448 of file graphics.c.
Referenced by test_Get_Release_DC(), and test_get_set_clip().
GpStatus WINGDIPAPI GdipSetClipRect | ( | GpGraphics * | graphics, |
REAL | x, | ||
REAL | y, | ||
REAL | width, | ||
REAL | height, | ||
CombineMode | mode | ||
) |
Definition at line 6477 of file graphics.c.
Referenced by GdipSetClipRectI(), test_BeginContainer2(), test_clip_xform(), test_clipping(), test_GdipGetVisibleClipBounds_screen(), test_GdipGetVisibleClipBounds_window(), test_GdipIsVisiblePoint(), test_GdipIsVisibleRect(), test_Get_Release_DC(), and test_isvisible().
GpStatus WINGDIPAPI GdipSetClipRectI | ( | GpGraphics * | graphics, |
INT | x, | ||
INT | y, | ||
INT | width, | ||
INT | height, | ||
CombineMode | mode | ||
) |
Definition at line 6522 of file graphics.c.
Referenced by test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetVisibleClipBounds_memoryDC(), and test_Get_Release_DC().
GpStatus WINGDIPAPI GdipSetClipRegion | ( | GpGraphics * | graphics, |
GpRegion * | region, | ||
CombineMode | mode | ||
) |
Definition at line 6537 of file graphics.c.
Referenced by test_clipping(), test_clipping_2(), test_Get_Release_DC(), and test_get_set_clip().
GpStatus WINGDIPAPI GdipSetCompositingMode | ( | GpGraphics * | graphics, |
CompositingMode | mode | ||
) |
Definition at line 6089 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_BeginContainer2(), test_DrawImage_SourceCopy(), test_Get_Release_DC(), and test_properties().
GpStatus WINGDIPAPI GdipSetCompositingQuality | ( | GpGraphics * | graphics, |
CompositingQuality | quality | ||
) |
Definition at line 6118 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_BeginContainer2(), test_Get_Release_DC(), and test_properties().
GpStatus WINGDIPAPI GdipSetInterpolationMode | ( | GpGraphics * | graphics, |
InterpolationMode | mode | ||
) |
Definition at line 6147 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_BeginContainer2(), test_DrawImage(), test_DrawImage_scale(), test_DrawImage_SourceCopy(), test_GdipDrawImagePointRect(), test_Get_Release_DC(), test_get_set_interpolation(), test_properties(), test_save_restore(), and ZoomWnd_OnDraw().
GpStatus WINGDIPAPI GdipSetPageScale | ( | GpGraphics * | graphics, |
REAL | scale | ||
) |
Definition at line 6182 of file graphics.c.
Referenced by create_graphics(), GdipEnumerateMetafileSrcRectDestPoints(), test_BeginContainer2(), test_clipping(), test_clipping_2(), test_Get_Release_DC(), test_getbounds(), test_pagetransform(), test_pen_thickness(), and test_transformpoints().
GpStatus WINGDIPAPI GdipSetPageUnit | ( | GpGraphics * | graphics, |
GpUnit | unit | ||
) |
Definition at line 6206 of file graphics.c.
Referenced by create_graphics(), GdipEnumerateMetafileSrcRectDestPoints(), test_BeginContainer2(), test_clipping(), test_clipping_2(), test_container_rects(), test_font_height_scaling(), test_font_transform(), test_Get_Release_DC(), test_getbounds(), test_measured_extra_space(), test_pagetransform(), test_pen_thickness(), and test_transformpoints().
GpStatus WINGDIPAPI GdipSetPixelOffsetMode | ( | GpGraphics * | graphics, |
PixelOffsetMode | mode | ||
) |
Definition at line 6233 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_BeginContainer2(), test_DrawImage_scale(), test_Get_Release_DC(), and test_properties().
GpStatus WINGDIPAPI GdipSetRenderingOrigin | ( | GpGraphics * | graphics, |
INT | x, | ||
INT | y | ||
) |
Definition at line 6262 of file graphics.c.
GpStatus WINGDIPAPI GdipSetSmoothingMode | ( | GpGraphics * | graphics, |
SmoothingMode | mode | ||
) |
Definition at line 6293 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_BeginContainer2(), test_Get_Release_DC(), test_properties(), and ZoomWnd_OnDraw().
GpStatus WINGDIPAPI GdipSetTextContrast | ( | GpGraphics * | graphics, |
UINT | contrast | ||
) |
Definition at line 6322 of file graphics.c.
Referenced by test_BeginContainer2().
GpStatus WINGDIPAPI GdipSetTextRenderingHint | ( | GpGraphics * | graphics, |
TextRenderingHint | hint | ||
) |
Definition at line 6334 of file graphics.c.
Referenced by GdipPlayMetafileRecord(), test_BeginContainer2(), test_Get_Release_DC(), test_get_set_textrenderinghint(), and test_properties().
GpStatus WINGDIPAPI GdipSetWorldTransform | ( | GpGraphics * | graphics, |
GpMatrix * | matrix | ||
) |
Definition at line 6362 of file graphics.c.
Referenced by METAFILE_PlaybackUpdateWorldTransform(), test_BeginContainer2(), test_clipping(), test_clipping_2(), test_DrawImage_scale(), test_font_transform(), test_Get_Release_DC(), test_isinfinite(), and test_worldtransform().
GpStatus WINGDIPAPI GdipTransformPoints | ( | GpGraphics * | graphics, |
GpCoordinateSpace | dst_space, | ||
GpCoordinateSpace | src_space, | ||
GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 6964 of file graphics.c.
Referenced by GdipEnumerateMetafileSrcRectDestPoints(), GdipIsVisiblePoint(), GdipIsVisibleRect(), GdipTransformPointsI(), METAFILE_FillRectangles(), test_clipping(), test_clipping_2(), test_container_rects(), test_font_height_scaling(), test_GdipMeasureString(), test_Get_Release_DC(), test_pen_thickness(), test_transform(), and test_transformpoints().
GpStatus WINGDIPAPI GdipTransformPointsI | ( | GpGraphics * | graphics, |
GpCoordinateSpace | dst_space, | ||
GpCoordinateSpace | src_space, | ||
GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 6982 of file graphics.c.
Referenced by test_transformpoints().
GpStatus WINGDIPAPI GdipTranslateClip | ( | GpGraphics * | graphics, |
REAL | dx, | ||
REAL | dy | ||
) |
Definition at line 7030 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipTranslateClipI | ( | GpGraphics * | graphics, |
INT | dx, | ||
INT | dy | ||
) |
Definition at line 7046 of file graphics.c.
Referenced by test_Get_Release_DC().
GpStatus WINGDIPAPI GdipTranslateWorldTransform | ( | GpGraphics * | graphics, |
REAL | dx, | ||
REAL | dy, | ||
GpMatrixOrder | order | ||
) |
Definition at line 6390 of file graphics.c.
Referenced by test_GdipIsVisiblePoint(), test_GdipIsVisibleRect(), test_Get_Release_DC(), test_isvisiblepoint(), test_isvisiblerect(), test_transformpoints(), and test_worldtransform().
|
static |
Definition at line 870 of file graphics.c.
Referenced by GdipDrawImagePointsRect().
|
static |
Definition at line 351 of file graphics.c.
Referenced by alpha_blend_pixels_hrgn(), GDI32_GdipDrawDriverString(), GDI32_GdipDrawPath(), GDI32_GdipFillPath(), GDI32_GdipFillRegion(), and GdipDrawImagePointsRect().
|
static |
Definition at line 2337 of file graphics.c.
Referenced by GDI32_GdipDrawDriverString(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), and SOFTWARE_GdipDrawDriverString().
Definition at line 101 of file graphics.c.
Referenced by create_gdi_logbrush(), draw_poly(), and GDI32_GdipDrawDriverString().
|
static |
Definition at line 2402 of file graphics.c.
Referenced by GdipCreateFromHDC2().
|
static |
Definition at line 2239 of file graphics.c.
Referenced by GdipGetDC(), and get_visible_clip_region().
|
static |
Definition at line 2192 of file graphics.c.
Referenced by GdipDrawImagePointsRect(), get_graphics_bounds(), SOFTWARE_GdipDrawThinPath(), and SOFTWARE_GdipFillRegion().
GpStatus get_graphics_transform | ( | GpGraphics * | graphics, |
GpCoordinateSpace | dst_space, | ||
GpCoordinateSpace | src_space, | ||
GpMatrix * | matrix | ||
) |
Definition at line 6875 of file graphics.c.
Referenced by brush_fill_pixels(), gdip_transform_points(), GdipGetClip(), GdipGetVisibleClipBounds(), GdipIsOutlineVisiblePathPoint(), GdipSetClipHrgn(), GdipSetClipPath(), GdipSetClipRect(), GdipSetClipRegion(), get_clip_hrgn(), metafile_set_clip_region(), SOFTWARE_GdipDrawPath(), SOFTWARE_GdipDrawThinPath(), and SOFTWARE_GdipFillRegion().
void get_log_fontW | ( | const GpFont * | font, |
GpGraphics * | graphics, | ||
LOGFONTW * | lf | ||
) |
Definition at line 2305 of file graphics.c.
Referenced by GdipAddPathString(), and get_font_hfont().
|
static |
Definition at line 2276 of file graphics.c.
Referenced by GdipGetVisibleClipBounds(), GdipIsVisibleClipEmpty(), GdipIsVisiblePoint(), and GdipIsVisibleRect().
GpStatus graphics_from_image | ( | GpImage * | image, |
GpGraphics ** | graphics | ||
) |
Definition at line 2484 of file graphics.c.
Referenced by GdipGetImageGraphicsContext(), and METAFILE_GetGraphicsContext().
|
static |
Definition at line 2122 of file graphics.c.
Referenced by begin_container(), and GdipBeginContainer().
Definition at line 1125 of file graphics.c.
Referenced by brush_fill_pixels().
|
static |
Definition at line 5388 of file graphics.c.
Referenced by GdipMeasureCharacterRanges().
|
static |
Definition at line 5519 of file graphics.c.
Referenced by GdipMeasureString().
|
static |
Definition at line 3064 of file graphics.c.
Referenced by GdipDrawImagePointsRect().
Definition at line 982 of file graphics.c.
Referenced by resample_bitmap_pixel(), and resample_bitmap_pixel_premult().
|
static |
Definition at line 244 of file graphics.c.
Referenced by GDI32_GdipDrawPath().
|
static |
Definition at line 987 of file graphics.c.
Referenced by brush_fill_pixels(), and GdipDrawImagePointsRect().
|
static |
Definition at line 1056 of file graphics.c.
Referenced by GdipDrawImagePointsRect().
|
static |
Definition at line 2162 of file graphics.c.
Referenced by end_container().
|
static |
Definition at line 310 of file graphics.c.
Referenced by context_destroy_gl_resources(), and GDI32_GdipDrawPath().
|
static |
Definition at line 653 of file graphics.c.
Referenced by apply_image_attributes().
Definition at line 316 of file graphics.c.
Referenced by draw_cap(), draw_poly(), GdipDrawImagePointsRect(), GdipDrawString(), and SOFTWARE_GdipDrawDriverString().
|
static |
Definition at line 936 of file graphics.c.
Referenced by resample_bitmap_pixel(), and resample_bitmap_pixel_premult().
Definition at line 1923 of file graphics.c.
Referenced by draw_poly().
Definition at line 1897 of file graphics.c.
Referenced by draw_poly().
Definition at line 1878 of file graphics.c.
Referenced by shorten_bezier_amt(), and shorten_line_amt().
|
static |
Definition at line 7229 of file graphics.c.
Referenced by draw_driver_string().
|
static |
Definition at line 3983 of file graphics.c.
Referenced by GdipDrawPath().
|
static |
Definition at line 3678 of file graphics.c.
Referenced by SOFTWARE_GdipDrawPath().
|
static |
Definition at line 4373 of file graphics.c.
Referenced by GdipFillPath().
|
static |
Definition at line 4679 of file graphics.c.
Referenced by GdipFillRegion().
GpStatus trace_path | ( | GpGraphics * | graphics, |
GpPath * | path | ||
) |
Definition at line 670 of file graphics.c.
Referenced by apply_image_attributes().
WINE_DEFAULT_DEBUG_CHANNEL | ( | gdiplus | ) |
Definition at line 6684 of file graphics.c.
Referenced by GdipGetDC(), and GdipReleaseDC().
|
static |
Definition at line 58 of file graphics.c.