|
ReactOS 0.4.17-dev-218-g5635d24
|
#include <stdarg.h>#include <math.h>#include "windef.h"#include "winbase.h"#include "winerror.h"#include "wine/debug.h"#include "wingdi.h"#include "objbase.h"#include "winreg.h"#include "shlwapi.h"#include "gdiplus.h"#include "gdiplus_private.h"
Go to the source code of this file.
Variables | |
| static const REAL | mm_per_inch = 25.4 |
| static const REAL | inch_per_mm = 1.0 / 25.4 |
| static const REAL | point_per_inch = 72.0 |
| static const REAL | inch_per_point = 1.0 / 72.0 |
|
static |
Definition at line 164 of file gdiplus.c.
Referenced by arc2polybezier().
| INT arc2polybezier | ( | GpPointF * | points, |
| REAL | left, | ||
| REAL | top, | ||
| REAL | width, | ||
| REAL | height, | ||
| REAL | start_angle, | ||
| REAL | sweep_angle | ||
| ) |
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().
| 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().
| 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().
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().
| 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().
Definition at line 60 of file gdiplus.c.
| void *WINGDIPAPI GdipAlloc | ( | SIZE_T | size | ) |
Definition at line 144 of file gdiplus.c.
Referenced by get_encoder_clsid(), get_region_type(), GetBitmapPixelBuffer(), is_family_in_collection(), test_createpath2(), test_encoders(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipDrawLinesI(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetFontCollectionFamilyList(), test_GdipInitializePalette(), test_getadjustedpalette(), test_getpathdata(), test_remaptable(), and test_SavingImages().
| void WINGDIPAPI GdipFree | ( | void * | ptr | ) |
Definition at line 152 of file gdiplus.c.
Referenced by get_encoder_clsid(), get_region_type(), is_family_in_collection(), test_createpath2(), test_encoders(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipDrawLinesI(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetFontCollectionFamilyList(), test_GdipInitializePalette(), test_getadjustedpalette(), test_getpathdata(), test_printer_dc(), test_remaptable(), and test_SavingImages().
Definition at line 306 of file gdiplus.c.
Referenced by draw_cap(), shorten_line_percent(), transform_properties(), and unstretch_angle().
Definition at line 112 of file gdiplus.c.
Definition at line 127 of file gdiplus.c.
| Status WINAPI GdiplusStartup | ( | ULONG_PTR * | token, |
| const struct GdiplusStartupInput * | input, | ||
| struct GdiplusStartupOutput * | output | ||
| ) |
Definition at line 83 of file gdiplus.c.
Referenced by BackgroundPageProc(), ImageView_Main(), START_TEST(), and test_startup().
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 415 of file gdiplus.c.
Referenced by extend_current_figure(), format_string_callback(), GdipAddPathEllipse(), GdipAddPathPath(), GdipAddPathPie(), GdipAddPathPolygon(), GdipPathIterNextMarkerPath(), GdipPathIterNextSubpathPath(), and read_element().
Definition at line 43 of file gdiplus.c.
Referenced by GdiplusNotificationHook(), and GdiplusStartup().
Definition at line 52 of file gdiplus.c.
Referenced by GdiplusNotificationUnhook(), and GdiplusStartup().
Definition at line 356 of file gdiplus.c.
Referenced by GdipGetFontHeight(), and units_scale().
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().
Definition at line 207 of file gdiplus.c.
Referenced by arc2polybezier().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | gdiplus | ) |
Definition at line 39 of file gdiplus.c.
Referenced by units_to_pixels().
Definition at line 41 of file gdiplus.c.
Referenced by units_to_pixels().
Definition at line 38 of file gdiplus.c.
Referenced by pixels_to_units().
Definition at line 40 of file gdiplus.c.
Referenced by pixels_to_units().