|
ReactOS 0.4.17-dev-218-g5635d24
|
#include <math.h>#include <stdarg.h>#include "windef.h"#include "wingdi.h"#include "winbase.h"#include "winuser.h"#include "objbase.h"#include "ocidl.h"#include "wincodecsdk.h"#include "wine/list.h"#include "gdiplus.h"

Go to the source code of this file.
Classes | |
| struct | GpMatrix |
| struct | GpPen |
| struct | GpGraphics |
| struct | GpBrush |
| struct | GpHatch |
| struct | GpSolidFill |
| struct | GpPathGradient |
| struct | GpLineGradient |
| struct | GpTexture |
| struct | GpPath |
| struct | GpPathIterator |
| struct | GpCustomLineCap |
| struct | GpAdjustableArrowCap |
| struct | CGpEffect |
| struct | GpImage |
| struct | emfplus_object |
| struct | GpMetafile |
| struct | GpBitmap |
| struct | GpCachedBitmap |
| struct | color_key |
| struct | color_matrix |
| struct | color_remap_table |
| struct | GpImageAttributes |
| struct | GpFont |
| struct | GpStringFormat |
| struct | GpFontCollection |
| struct | GpFontFamily |
| struct | region_element |
| struct | GpRegion |
| struct | memory_buffer |
| struct | gdip_font_link_section |
| struct | gdip_font_link_info |
| struct | gdip_format_string_info |
Macros | |
| #define | GP_DEFAULT_PENSTYLE (PS_GEOMETRIC | PS_SOLID | PS_ENDCAP_FLAT | PS_JOIN_MITER) |
| #define | MAX_ARC_PTS (13) |
| #define | MAX_DASHLEN (16) /* this is a limitation of gdi */ |
| #define | INCH_HIMETRIC (2540) |
| #define | VERSION_MAGIC 0xdbc01001 |
| #define | VERSION_MAGIC2 0xdbc01002 |
| #define | VALID_MAGIC(x) (((x) & 0xfffff000) == 0xdbc01000) |
| #define | TENSION_CONST (0.3) |
| #define | GIF_DISPOSE_UNSPECIFIED 0 |
| #define | GIF_DISPOSE_DO_NOT_DISPOSE 1 |
| #define | GIF_DISPOSE_RESTORE_TO_BKGND 2 |
| #define | GIF_DISPOSE_RESTORE_TO_PREV 3 |
| #define | PIXELFORMATBPP(x) ((x) ? ((x) >> 8) & 255 : 24) |
| #define | WineCoordinateSpaceGdiDevice ((GpCoordinateSpace)4) |
| #define | EmfPlusObjectTableSize 64 |
Typedefs | |
| typedef struct region_element | region_element |
| typedef enum EffectType | EffectType |
| typedef struct CGpEffect | CGpEffect |
| typedef enum EmfPlusObjectType | EmfPlusObjectType |
| typedef enum RegionType | RegionType |
| typedef GpStatus(* | gdip_format_string_callback) (struct gdip_format_string_info *info) |
Enumerations | |
| enum | EffectType { NoneEffect , BlurEffect , SharpenEffect , TintEffect , RedEyeCorrectionEffect , ColorMatrixEffect , ColorLUTEffect , BrightnessContrastEffect , HueSaturationLightnessEffect , ColorBalanceEffect , LevelsEffect , ColorCurveEffect } |
| enum | EmfPlusObjectType { ObjectTypeInvalid , ObjectTypeBrush , ObjectTypePen , ObjectTypePath , ObjectTypeRegion , ObjectTypeImage , ObjectTypeFont , ObjectTypeStringFormat , ObjectTypeImageAttributes , ObjectTypeCustomLineCap , ObjectTypeMax = ObjectTypeCustomLineCap } |
| enum | imageattr_noop { IMAGEATTR_NOOP_UNDEFINED , IMAGEATTR_NOOP_SET , IMAGEATTR_NOOP_CLEAR } |
| enum | RegionType { RegionDataRect = 0x10000000 , RegionDataPath = 0x10000001 , RegionDataEmptyRect = 0x10000002 , RegionDataInfiniteRect = 0x10000003 } |
Variables | |
| const struct GpStringFormat | default_drawstring_format |
| #define EmfPlusObjectTableSize 64 |
Definition at line 413 of file gdiplus_private.h.
| #define GIF_DISPOSE_DO_NOT_DISPOSE 1 |
Definition at line 48 of file gdiplus_private.h.
| #define GIF_DISPOSE_RESTORE_TO_BKGND 2 |
Definition at line 49 of file gdiplus_private.h.
| #define GIF_DISPOSE_RESTORE_TO_PREV 3 |
Definition at line 50 of file gdiplus_private.h.
| #define GIF_DISPOSE_UNSPECIFIED 0 |
Definition at line 47 of file gdiplus_private.h.
| #define GP_DEFAULT_PENSTYLE (PS_GEOMETRIC | PS_SOLID | PS_ENDCAP_FLAT | PS_JOIN_MITER) |
Definition at line 37 of file gdiplus_private.h.
| #define INCH_HIMETRIC (2540) |
Definition at line 40 of file gdiplus_private.h.
| #define MAX_ARC_PTS (13) |
Definition at line 38 of file gdiplus_private.h.
Definition at line 39 of file gdiplus_private.h.
Definition at line 52 of file gdiplus_private.h.
| #define TENSION_CONST (0.3) |
Definition at line 45 of file gdiplus_private.h.
Definition at line 44 of file gdiplus_private.h.
| #define VERSION_MAGIC 0xdbc01001 |
Definition at line 42 of file gdiplus_private.h.
| #define VERSION_MAGIC2 0xdbc01002 |
Definition at line 43 of file gdiplus_private.h.
| #define WineCoordinateSpaceGdiDevice ((GpCoordinateSpace)4) |
Definition at line 65 of file gdiplus_private.h.
| typedef enum EffectType EffectType |
| typedef enum EmfPlusObjectType EmfPlusObjectType |
| typedef GpStatus(* gdip_format_string_callback) (struct gdip_format_string_info *info) |
Definition at line 666 of file gdiplus_private.h.
| typedef struct region_element region_element |
Definition at line 149 of file gdiplus_private.h.
| typedef enum RegionType RegionType |
Definition at line 382 of file gdiplus_private.h.
Definition at line 415 of file gdiplus_private.h.
| Enumerator | |
|---|---|
| IMAGEATTR_NOOP_UNDEFINED | |
| IMAGEATTR_NOOP_SET | |
| IMAGEATTR_NOOP_CLEAR | |
Definition at line 523 of file gdiplus_private.h.
| Enumerator | |
|---|---|
| RegionDataRect | |
| RegionDataPath | |
| RegionDataEmptyRect | |
| RegionDataInfiniteRect | |
Definition at line 585 of file gdiplus_private.h.
| PixelFormat apply_image_attributes | ( | const GpImageAttributes * | attributes, |
| LPBYTE | data, | ||
| UINT | width, | ||
| UINT | height, | ||
| INT | stride, | ||
| ColorAdjustType | type, | ||
| PixelFormat | fmt | ||
| ) |
Definition at line 796 of file graphics.c.
Referenced by brush_fill_pixels(), GdipDrawImagePointsRect(), and GdipGetImageAttributesAdjustedPalette().
| INT arc2polybezier | ( | GpPointF * | points, |
| REAL | x1, | ||
| REAL | y1, | ||
| REAL | x2, | ||
| REAL | y2, | ||
| REAL | startAngle, | ||
| REAL | sweepAngle | ||
| ) |
Definition at line 223 of file gdiplus.c.
Referenced by GdipAddPathArc(), GdipAddPathEllipse(), and GdipAddPathPie().
Definition at line 274 of file gdiplus.c.
Referenced by brush_fill_path().
Definition at line 261 of file gdiplus.c.
Referenced by create_gdi_logbrush(), and get_gdi_brush_color().
|
inlinestatic |
Definition at line 626 of file gdiplus_private.h.
Referenced by GdipCreateRegionRgnData(), metafile_deserialize_region(), metafile_read_region_node(), and read_element().
| void calc_curve_bezier | ( | const GpPointF * | pts, |
| REAL | tension, | ||
| REAL * | x1, | ||
| REAL * | y1, | ||
| REAL * | x2, | ||
| REAL * | y2 | ||
| ) |
Definition at line 389 of file gdiplus.c.
Referenced by GdipAddPathClosedCurve2(), and GdipAddPathCurve3().
| void calc_curve_bezier_endp | ( | REAL | xend, |
| REAL | yend, | ||
| REAL | xadj, | ||
| REAL | yadj, | ||
| REAL | tension, | ||
| REAL * | x, | ||
| REAL * | y | ||
| ) |
Definition at line 406 of file gdiplus.c.
Referenced by GdipAddPathCurve3().
Definition at line 159 of file gdiplus_private.h.
Referenced by GdipIsVisibleRegionRect().
Definition at line 169 of file gdiplus_private.h.
Referenced by alpha_blend_bmp_pixels().
Definition at line 193 of file gdiplus_private.h.
Referenced by alpha_blend_bmp_pixels().
| void convert_32bppARGB_to_32bppPARGB | ( | UINT | width, |
| UINT | height, | ||
| BYTE * | dst_bits, | ||
| INT | dst_stride, | ||
| const BYTE * | src_bits, | ||
| INT | src_stride | ||
| ) |
Definition at line 445 of file gdiplus.c.
Referenced by alpha_blend_hdc_pixels(), and convert_pixels().
| GpStatus convert_pixels | ( | INT | width, |
| INT | height, | ||
| INT | dst_stride, | ||
| BYTE * | dst_bits, | ||
| PixelFormat | dst_format, | ||
| ColorPalette * | dst_palette, | ||
| INT | src_stride, | ||
| const BYTE * | src_bits, | ||
| PixelFormat | src_format, | ||
| ColorPalette * | src_palette | ||
| ) |
Definition at line 589 of file image.c.
Referenced by GdipBitmapLockBits(), GdipBitmapUnlockBits(), GdipCloneBitmapArea(), GdipCreateHBITMAPFromBitmap(), and GdipDrawImagePointsRect().
Definition at line 498 of file gdiplus.c.
Referenced by GdipCloneMatrix(), GdipDrawDriverString(), GdipGetLineTransform(), GdipGetMatrixElements(), GdipGetPathGradientTransform(), GdipGetPathWorldBounds(), GdipGetPathWorldBoundsI(), GdipGetPenTransform(), GdipGetRegionScansCount(), GdipGetTextureTransform(), GdipGetWorldTransform(), GdipInvertMatrix(), GdipIsMatrixEqual(), GdipIsMatrixIdentity(), GdipIsMatrixInvertible(), GdipMeasureDriverString(), GdipMultiplyLineTransform(), GdipMultiplyMatrix(), GdipMultiplyPathGradientTransform(), GdipMultiplyPenTransform(), GdipMultiplyTextureTransform(), GdipMultiplyWorldTransform(), GdipRotateMatrix(), GdipScaleMatrix(), GdipSetLineTransform(), GdipSetMatrixElements(), GdipSetPathGradientTransform(), GdipSetPenTransform(), GdipSetTextureTransform(), GdipSetWorldTransform(), GdipShearMatrix(), GdipTransformMatrixPoints(), GdipTransformMatrixPointsI(), GdipTransformPath(), GdipTransformRegion(), GdipTranslateMatrix(), GdipVectorTransformMatrixPoints(), GdipVectorTransformMatrixPointsI(), GdipWarpPath(), and GdipWidenPath().
Definition at line 492 of file gdiplus.c.
Referenced by GdipCreateLineBrush(), GdipDrawImagePointsRect(), GdipEnumerateMetafileSrcRectDestPoints(), and GdipSetPathGradientCenterPoint().
Definition at line 486 of file gdiplus.c.
Referenced by GdipBeginContainer(), GdipCombineRegionRect(), GdipCreateLineBrushFromRect(), GdipCreateLineBrushFromRectWithAngle(), GdipCreateMatrix3(), GdipCreateRegionRect(), GdipDrawImageFX(), GdipDrawString(), GdipEnumerateMetafileSrcRectDestPoints(), GdipGetRegionBounds(), GdipMeasureCharacterRanges(), GdipMeasureString(), GdipRecordMetafile(), GdipRecordMetafileFileName(), and GdipRecordMetafileStream().
Definition at line 164 of file gdiplus_private.h.
Referenced by arc2polybezier(), GdipCreateLineBrushFromRectWithAngle(), and GdipRotateMatrix().
| void delete_element | ( | region_element * | element | ) |
Definition at line 465 of file gdiplus.c.
Referenced by clone_element(), delete_element(), GdipCombineRegionPath(), GdipCombineRegionRect(), GdipCombineRegionRegion(), GdipDeleteRegion(), GdipGetClip(), GdipSetEmpty(), and GdipSetInfinite().
| GpStatus encode_image_png | ( | GpImage * | image, |
| IStream * | stream, | ||
| GDIPCONST EncoderParameters * | params | ||
| ) |
Definition at line 4859 of file image.c.
Referenced by METAFILE_CreateCompressedImageStream().
Definition at line 67 of file stringformat.c.
Referenced by DllMain().
Definition at line 1567 of file font.c.
Referenced by DllMain(), and GdipNewInstalledFontCollection().
| GpStatus gdi_dc_acquire | ( | GpGraphics * | graphics, |
| HDC * | hdc | ||
| ) |
Definition at line 54 of file graphics.c.
Referenced by alpha_blend_pixels_hrgn(), brush_fill_path(), draw_cap(), draw_poly(), GDI32_GdipDrawDriverString(), GDI32_GdipDrawPath(), GDI32_GdipFillPath(), GDI32_GdipFillRegion(), gdi_alpha_blend(), gdi_transform_acquire(), GdipDrawImagePointsRect(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureString(), get_path_hrgn(), and trace_path().
| void gdi_dc_release | ( | GpGraphics * | graphics, |
| HDC | hdc | ||
| ) |
Definition at line 75 of file graphics.c.
Referenced by alpha_blend_pixels_hrgn(), brush_fill_path(), draw_cap(), draw_poly(), GDI32_GdipDrawDriverString(), GDI32_GdipDrawPath(), GDI32_GdipFillPath(), GDI32_GdipFillRegion(), gdi_alpha_blend(), gdi_transform_release(), GdipDrawImagePointsRect(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureString(), get_path_hrgn(), and trace_path().
| GpStatus gdi_transform_acquire | ( | GpGraphics * | graphics | ) |
Definition at line 7228 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 7250 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 | ( | GpGraphics * | graphics, |
| 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 5478 of file graphics.c.
Referenced by GdipAddPathString(), GdipDrawString(), GdipMeasureCharacterRanges(), and GdipMeasureString().
Definition at line 154 of file gdiplus_private.h.
Referenced by blend_colors(), calc_curve_bezier_endp(), GDI32_GdipDrawDriverString(), GdipCloneBitmapArea(), GdipGetClipBoundsI(), GdipGetLineRectI(), GdipGetLogFontW(), GdipGetMetafileHeaderFromEmf(), GdipGetMetafileHeaderFromMetafile(), GdipGetPathGradientCenterPointI(), GdipGetPathGradientRectI(), GdipGetPathPointsI(), GdipGetPathWorldBoundsI(), GdipGetRegionBoundsI(), GdipGetVisibleClipBoundsI(), GdipIsVisiblePathPoint(), GdipIsVisibleRegionPoint(), GdipTransformMatrixPointsI(), GdipTransformPointsI(), GdipVectorTransformMatrixPointsI(), get_bitmap_sample_size(), get_font_hfont(), is_integer_path(), png_add_unit_properties(), prepare_dc(), round_color_matrix(), round_points(), SOFTWARE_GdipDrawThinPath(), and unstretch_angle().
| GpStatus gdip_transform_points | ( | GpGraphics * | graphics, |
| GpCoordinateSpace | dst_space, | ||
| GpCoordinateSpace | src_space, | ||
| GpPointF * | points, | ||
| INT | count | ||
| ) |
Definition at line 7344 of file graphics.c.
Referenced by brush_fill_pixels(), draw_cap(), draw_poly(), GDI32_GdipDrawDriverString(), GdipDrawImagePointsRect(), GdipDrawString(), GdipMeasureDriverString(), GdipTransformPoints(), get_graphics_bounds(), prepare_dc(), SOFTWARE_GdipDrawDriverString(), SOFTWARE_GdipDrawPath(), and transform_properties().
Definition at line 306 of file gdiplus.c.
Referenced by draw_cap(), shorten_line_percent(), transform_properties(), and unstretch_angle().
| void get_font_hfont | ( | GpGraphics * | graphics, |
| GDIPCONST GpFont * | font, | ||
| GDIPCONST GpStringFormat * | format, | ||
| HFONT * | hfont, | ||
| LOGFONTW * | lfw_return, | ||
| GDIPCONST GpMatrix * | matrix | ||
| ) |
Definition at line 2385 of file graphics.c.
Referenced by font_link_get_text_extent_point(), format_string_callback(), GDI32_GdipDrawDriverString(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), generate_font_link_info(), and SOFTWARE_GdipDrawDriverString().
| GpStatus get_graphics_transform | ( | GpGraphics * | graphics, |
| GpCoordinateSpace | dst_space, | ||
| GpCoordinateSpace | src_space, | ||
| GpMatrix * | matrix | ||
| ) |
Definition at line 7266 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().
| GpStatus get_hatch_data | ( | GpHatchStyle | hatchstyle, |
| const unsigned char ** | result | ||
| ) |
Definition at line 288 of file brush.c.
Referenced by brush_fill_pixels(), and create_hatch_bitmap().
| void get_log_fontW | ( | const GpFont * | font, |
| GpGraphics * | graphics, | ||
| LOGFONTW * | lf | ||
| ) |
Definition at line 2353 of file graphics.c.
Referenced by GdipAddPathString(), GdipGetLogFontW(), and get_font_hfont().
| GpStatus graphics_from_image | ( | GpImage * | image, |
| GpGraphics ** | graphics | ||
| ) |
Definition at line 2520 of file graphics.c.
Referenced by GdipGetImageGraphicsContext(), and METAFILE_GetGraphicsContext().
|
inlinestatic |
Definition at line 685 of file gdiplus_private.h.
Referenced by draw_driver_string(), gdi_transform_acquire(), GdipDrawPath(), GdipDrawString(), GdipFlush(), GdipMeasureCharacterRanges(), GdipMeasureString(), get_graphics_bounds(), and get_path_hrgn().
Definition at line 314 of file gdiplus.c.
Referenced by create_optimal_palette(), decode_frame_wic(), decode_image_gif(), decode_image_png(), encode_frame_wic(), GdipCreateStreamOnFile(), GdipGetAllPropertyItems(), GdipGetPropertyIdList(), GdipGetPropertySize(), GdipLoadImageFromStream(), get_decoder_info(), initialize_decoder_wic(), initialize_encoder_wic(), load_emf(), load_wmf(), METAFILE_CreateCompressedImageStream(), METAFILE_FillEmfPlusBitmap(), METAFILE_GraphicsDeleted(), select_frame_gif(), and terminate_encoder_wic().
Definition at line 675 of file gdiplus_private.h.
Referenced by GdipBitmapLockBits(), GdipBitmapUnlockBits(), GdipCreateHBITMAPFromBitmap(), GdipImageRotateFlip(), and GdipImageSelectActiveFrame().
Definition at line 680 of file gdiplus_private.h.
Referenced by GdipBitmapLockBits(), GdipBitmapUnlockBits(), GdipCreateHBITMAPFromBitmap(), GdipImageRotateFlip(), and GdipImageSelectActiveFrame().
Definition at line 56 of file stringformat.c.
Referenced by DllMain().
|
inlinestatic |
Definition at line 619 of file gdiplus_private.h.
Referenced by GdipCreateRegionRgnData(), and metafile_deserialize_region().
Definition at line 415 of file gdiplus.c.
Referenced by extend_current_figure(), format_string_callback(), GdipAddPathEllipse(), GdipAddPathPath(), GdipAddPathPie(), GdipAddPathPolygon(), GdipPathIterNextMarkerPath(), GdipPathIterNextSubpathPath(), and read_element().
| GpStatus METAFILE_AddSimpleProperty | ( | GpMetafile * | metafile, |
| SHORT | prop, | ||
| SHORT | val | ||
| ) |
Definition at line 4839 of file metafile.c.
Referenced by GdipSetCompositingMode(), GdipSetCompositingQuality(), GdipSetInterpolationMode(), GdipSetPixelOffsetMode(), GdipSetSmoothingMode(), and GdipSetTextRenderingHint().
| GpStatus METAFILE_BeginContainer | ( | GpMetafile * | metafile, |
| GDIPCONST GpRectF * | dstrect, | ||
| GDIPCONST GpRectF * | srcrect, | ||
| GpUnit | unit, | ||
| DWORD | StackIndex | ||
| ) |
Definition at line 1564 of file metafile.c.
Referenced by GdipBeginContainer().
| GpStatus METAFILE_BeginContainerNoParams | ( | GpMetafile * | metafile, |
| DWORD | StackIndex | ||
| ) |
Definition at line 1587 of file metafile.c.
Referenced by begin_container().
| GpStatus METAFILE_DrawArc | ( | GpMetafile * | metafile, |
| GpPen * | pen, | ||
| const GpRectF * | rect, | ||
| REAL | startAngle, | ||
| REAL | sweepAngle | ||
| ) |
Definition at line 5536 of file metafile.c.
Referenced by GdipDrawArc().
| GpStatus METAFILE_DrawDriverString | ( | GpMetafile * | metafile, |
| GDIPCONST UINT16 * | text, | ||
| INT | length, | ||
| GDIPCONST GpFont * | font, | ||
| GDIPCONST GpStringFormat * | format, | ||
| GDIPCONST GpBrush * | brush, | ||
| GDIPCONST PointF * | positions, | ||
| INT | flags, | ||
| GDIPCONST GpMatrix * | matrix | ||
| ) |
Definition at line 5322 of file metafile.c.
Referenced by draw_driver_string().
| GpStatus METAFILE_DrawEllipse | ( | GpMetafile * | metafile, |
| GpPen * | pen, | ||
| GpRectF * | rect | ||
| ) |
Definition at line 5095 of file metafile.c.
Referenced by GdipDrawEllipse().
| GpStatus METAFILE_DrawImagePointsRect | ( | GpMetafile * | metafile, |
| 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 4759 of file metafile.c.
Referenced by GdipDrawImagePointsRect().
| GpStatus METAFILE_DrawPath | ( | GpMetafile * | metafile, |
| GpPen * | pen, | ||
| GpPath * | path | ||
| ) |
Definition at line 5065 of file metafile.c.
Referenced by GdipDrawPath().
| GpStatus METAFILE_DrawRectangles | ( | GpMetafile * | metafile, |
| GpPen * | pen, | ||
| const GpRectF * | rects, | ||
| INT | count | ||
| ) |
Definition at line 5481 of file metafile.c.
Referenced by GdipDrawRectangles().
| GpStatus METAFILE_EndContainer | ( | GpMetafile * | metafile, |
| DWORD | StackIndex | ||
| ) |
Definition at line 1607 of file metafile.c.
Referenced by end_container().
| GpStatus METAFILE_FillEllipse | ( | GpMetafile * | metafile, |
| GpBrush * | brush, | ||
| GpRectF * | rect | ||
| ) |
Definition at line 5175 of file metafile.c.
Referenced by GdipFillEllipse().
| GpStatus METAFILE_FillPath | ( | GpMetafile * | metafile, |
| GpBrush * | brush, | ||
| GpPath * | path | ||
| ) |
Definition at line 5134 of file metafile.c.
Referenced by GdipFillPath().
| GpStatus METAFILE_FillPie | ( | GpMetafile * | metafile, |
| GpBrush * | brush, | ||
| const GpRectF * | rect, | ||
| REAL | startAngle, | ||
| REAL | sweepAngle | ||
| ) |
Definition at line 5224 of file metafile.c.
Referenced by GdipFillPie().
| GpStatus METAFILE_FillRectangles | ( | GpMetafile * | metafile, |
| GpBrush * | brush, | ||
| GDIPCONST GpRectF * | rects, | ||
| INT | count | ||
| ) |
Definition at line 1261 of file metafile.c.
Referenced by GdipFillRectangles().
| GpStatus METAFILE_FillRegion | ( | GpMetafile * | metafile, |
| GpBrush * | brush, | ||
| GpRegion * | region | ||
| ) |
Definition at line 5434 of file metafile.c.
Referenced by GdipFillRegion().
| void METAFILE_Free | ( | GpMetafile * | metafile | ) |
Definition at line 687 of file metafile.c.
Referenced by free_image_data().
| GpStatus METAFILE_GetDC | ( | GpMetafile * | metafile, |
| HDC * | hdc | ||
| ) |
Definition at line 941 of file metafile.c.
Referenced by GdipGetDC().
| GpStatus METAFILE_GetGraphicsContext | ( | GpMetafile * | metafile, |
| GpGraphics ** | result | ||
| ) |
Definition at line 921 of file metafile.c.
Referenced by GdipGetImageGraphicsContext().
| GpStatus METAFILE_GraphicsClear | ( | GpMetafile * | metafile, |
| ARGB | color | ||
| ) |
Definition at line 960 of file metafile.c.
Referenced by GdipGraphicsClear().
| GpStatus METAFILE_GraphicsDeleted | ( | GpMetafile * | metafile | ) |
Definition at line 1675 of file metafile.c.
Referenced by GdipDeleteGraphics().
| GpStatus METAFILE_MultiplyWorldTransform | ( | GpMetafile * | metafile, |
| GDIPCONST GpMatrix * | matrix, | ||
| MatrixOrder | order | ||
| ) |
Definition at line 1482 of file metafile.c.
Referenced by GdipMultiplyWorldTransform().
| GpStatus METAFILE_OffsetClip | ( | GpMetafile * | metafile, |
| REAL | dx, | ||
| REAL | dy | ||
| ) |
Definition at line 5581 of file metafile.c.
Referenced by GdipTranslateClip().
| GpStatus METAFILE_ReleaseDC | ( | GpMetafile * | metafile, |
| HDC | hdc | ||
| ) |
Definition at line 1667 of file metafile.c.
Referenced by GdipReleaseDC().
| GpStatus METAFILE_ResetClip | ( | GpMetafile * | metafile | ) |
Definition at line 5605 of file metafile.c.
Referenced by GdipResetClip().
| GpStatus METAFILE_ResetWorldTransform | ( | GpMetafile * | metafile | ) |
Definition at line 1546 of file metafile.c.
Referenced by GdipResetWorldTransform().
| GpStatus METAFILE_RestoreGraphics | ( | GpMetafile * | metafile, |
| DWORD | StackIndex | ||
| ) |
Definition at line 1647 of file metafile.c.
Referenced by end_container().
| GpStatus METAFILE_RotateWorldTransform | ( | GpMetafile * | metafile, |
| REAL | angle, | ||
| MatrixOrder | order | ||
| ) |
Definition at line 1503 of file metafile.c.
Referenced by GdipRotateWorldTransform().
| GpStatus METAFILE_SaveGraphics | ( | GpMetafile * | metafile, |
| DWORD | StackIndex | ||
| ) |
Definition at line 1627 of file metafile.c.
Referenced by begin_container().
| GpStatus METAFILE_ScaleWorldTransform | ( | GpMetafile * | metafile, |
| REAL | sx, | ||
| REAL | sy, | ||
| MatrixOrder | order | ||
| ) |
Definition at line 1460 of file metafile.c.
Referenced by GdipScaleWorldTransform().
| GpStatus METAFILE_SetClipPath | ( | GpMetafile * | metafile, |
| GpPath * | path, | ||
| CombineMode | mode | ||
| ) |
Definition at line 5626 of file metafile.c.
Referenced by GdipSetClipPath().
| GpStatus METAFILE_SetClipRect | ( | GpMetafile * | metafile, |
| REAL | x, | ||
| REAL | y, | ||
| REAL | width, | ||
| REAL | height, | ||
| CombineMode | mode | ||
| ) |
Definition at line 1350 of file metafile.c.
Referenced by GdipSetClipRect().
| GpStatus METAFILE_SetClipRegion | ( | GpMetafile * | metafile, |
| GpRegion * | region, | ||
| CombineMode | mode | ||
| ) |
Definition at line 1395 of file metafile.c.
Referenced by GdipSetClipRegion().
| GpStatus METAFILE_SetPageTransform | ( | GpMetafile * | metafile, |
| GpUnit | unit, | ||
| REAL | scale | ||
| ) |
Definition at line 1419 of file metafile.c.
Referenced by GdipResetPageTransform(), GdipSetPageScale(), and GdipSetPageUnit().
| GpStatus METAFILE_SetRenderingOrigin | ( | GpMetafile * | metafile, |
| INT | x, | ||
| INT | y | ||
| ) |
Definition at line 5653 of file metafile.c.
Referenced by GdipSetRenderingOrigin().
| GpStatus METAFILE_SetWorldTransform | ( | GpMetafile * | metafile, |
| GDIPCONST GpMatrix * | transform | ||
| ) |
Definition at line 1440 of file metafile.c.
Referenced by GdipSetWorldTransform().
| GpStatus METAFILE_TranslateWorldTransform | ( | GpMetafile * | metafile, |
| REAL | dx, | ||
| REAL | dy, | ||
| MatrixOrder | order | ||
| ) |
Definition at line 1524 of file metafile.c.
Referenced by GdipTranslateWorldTransform().
Definition at line 356 of file gdiplus.c.
Referenced by GdipGetFontHeight(), and units_scale().
Definition at line 690 of file gdiplus_private.h.
Referenced by GdipAddPathRectanglesI(), GdipAddPathStringI(), GdipCombineRegionRectI(), GdipCreateLineBrushFromRectI(), GdipCreateMatrix3I(), GdipCreateRegionRectI(), GdipDrawArc(), GdipDrawEllipse(), GdipDrawImagePointsRect(), GdipDrawRectangle(), GdipDrawRectanglesI(), GdipFillEllipse(), GdipFillPie(), GdipFillRectangle(), GdipFillRectangleI(), GdipFillRectanglesI(), GdipMeasureDriverString(), GdipMeasureString(), GdipRecordMetafileI(), GdipRecordMetafileStreamI(), GdipSetClipRect(), and test_boundsrect().
Definition at line 4655 of file image.c.
Referenced by encode_image_wic(), free_image_data(), GdipSaveAddImage(), GdipSaveImageToFile(), initialize_encoder_wic(), and move_bitmap().
| GpStatus trace_path | ( | GpGraphics * | graphics, |
| GpPath * | path | ||
| ) |
Definition at line 2127 of file graphics.c.
Referenced by get_path_hrgn().
| void transform_properties | ( | GpGraphics * | graphics, |
| GDIPCONST GpMatrix * | matrix, | ||
| BOOL | graphics_transform, | ||
| REAL * | rel_width, | ||
| REAL * | rel_height, | ||
| REAL * | angle | ||
| ) |
Definition at line 5696 of file graphics.c.
Referenced by GdipDrawString(), GdipGetLogFontW(), GdipMeasureCharacterRanges(), GdipMeasureString(), and get_font_hfont().
Definition at line 382 of file gdiplus.c.
Referenced by GdipDrawImagePointRect(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureString(), get_font_hfont(), and test_GdipMeasureString().
Definition at line 329 of file gdiplus.c.
Referenced by GdipBeginContainer(), GdipCreateFont(), GdipDrawImagePointsRect(), GdipEnumerateMetafileDestPoint(), GdipGetFontHeightGivenDPI(), GdipGetImageDimension(), GdipGetImageHeight(), GdipGetImageWidth(), GdipGetLogFontW(), GdipPlayMetafileRecord(), get_graphics_transform(), get_log_fontW(), METAFILE_DrawImagePointsRect(), METAFILE_PlaybackUpdateWorldTransform(), prepare_dc(), test_font_height_scaling(), test_GdipMeasureString(), test_measured_extra_space(), and units_scale().
| GpStatus widen_flat_path_anchors | ( | GpPath * | flat_path, |
| GpPen * | pen, | ||
| REAL | pen_width, | ||
| GpPath ** | anchors | ||
| ) |
Definition at line 2551 of file graphicspath.c.
Referenced by SOFTWARE_GdipDrawThinPath().
Definition at line 2863 of file graphicspath.c.
Referenced by get_element_size(), METAFILE_AddPathObject(), and write_element().
Definition at line 689 of file region.c.
Referenced by GdipGetRegionData(), GdipGetRegionDataSize(), and METAFILE_AddRegionObject().
|
extern |
Definition at line 35 of file stringformat.c.
Referenced by gdip_format_string(), GdipAddPathString(), and init_generic_string_formats().