|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include <math.h>#include "windef.h"#include "winbase.h"#include "winuser.h"#include "wingdi.h"#include "objbase.h"#include "gdiplus.h"#include "gdiplus_private.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | path_list_node_t |
| struct | format_string_args |
| struct | path_header |
Macros | |
| #define | FLAGS_INTPATH 0x4000 |
Typedefs | |
| typedef struct path_list_node_t | path_list_node_t |
| #define FLAGS_INTPATH 0x4000 |
Definition at line 2464 of file graphicspath.c.
| typedef struct path_list_node_t path_list_node_t |
Definition at line 36 of file graphicspath.c.
|
static |
Definition at line 1806 of file graphicspath.c.
Referenced by widen_cap(), and widen_joint().
|
static |
Definition at line 76 of file graphicspath.c.
Referenced by add_bevel_point(), flatten_bezier(), GdipFlattenPath(), widen_cap(), and widen_joint().
|
static |
Definition at line 121 of file graphicspath.c.
Referenced by flatten_bezier(), and GdipFlattenPath().
|
static |
Definition at line 912 of file graphicspath.c.
Referenced by GdipAddPathString().
|
static |
Definition at line 59 of file graphicspath.c.
Referenced by GdipFlattenPath(), and GdipWidenPath().
Definition at line 897 of file graphicspath.c.
Referenced by format_string_callback().
| GpStatus WINGDIPAPI GdipAddPathArc | ( | GpPath * | path, |
| REAL | x1, | ||
| REAL | y1, | ||
| REAL | x2, | ||
| REAL | y2, | ||
| REAL | startAngle, | ||
| REAL | sweepAngle | ||
| ) |
Definition at line 195 of file graphicspath.c.
Referenced by GdipAddPathArcI(), GdipDrawArc(), test_arc(), test_flatten(), test_getregiondata(), test_linei(), test_pathpath(), and test_worldbounds().
| GpStatus WINGDIPAPI GdipAddPathArcI | ( | GpPath * | path, |
| INT | x1, | ||
| INT | y1, | ||
| INT | x2, | ||
| INT | y2, | ||
| REAL | startAngle, | ||
| REAL | sweepAngle | ||
| ) |
Definition at line 234 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipAddPathBezier | ( | GpPath * | path, |
| REAL | x1, | ||
| REAL | y1, | ||
| REAL | x2, | ||
| REAL | y2, | ||
| REAL | x3, | ||
| REAL | y3, | ||
| REAL | x4, | ||
| REAL | y4 | ||
| ) |
Definition at line 243 of file graphicspath.c.
Referenced by GdipAddPathBezierI().
| GpStatus WINGDIPAPI GdipAddPathBezierI | ( | GpPath * | path, |
| INT | x1, | ||
| INT | y1, | ||
| INT | x2, | ||
| INT | y2, | ||
| INT | x3, | ||
| INT | y3, | ||
| INT | x4, | ||
| INT | y4 | ||
| ) |
Definition at line 280 of file graphicspath.c.
Definition at line 290 of file graphicspath.c.
Referenced by GdipAddPathBeziersI(), GdipAddPathClosedCurve2(), GdipAddPathCurve2(), and GdipDrawBeziers().
Definition at line 319 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipAddPathClosedCurve | ( | GpPath * | path, |
| GDIPCONST GpPointF * | points, | ||
| INT | count | ||
| ) |
Definition at line 346 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipAddPathClosedCurve2 | ( | GpPath * | path, |
| GDIPCONST GpPointF * | points, | ||
| INT | count, | ||
| REAL | tension | ||
| ) |
Definition at line 362 of file graphicspath.c.
Referenced by GdipAddPathClosedCurve(), GdipAddPathClosedCurve2I(), GdipDrawClosedCurve2(), GdipFillClosedCurve2(), and test_addclosedcurve().
| GpStatus WINGDIPAPI GdipAddPathClosedCurve2I | ( | GpPath * | path, |
| GDIPCONST GpPoint * | points, | ||
| INT | count, | ||
| REAL | tension | ||
| ) |
Definition at line 432 of file graphicspath.c.
Referenced by GdipAddPathClosedCurveI().
| GpStatus WINGDIPAPI GdipAddPathClosedCurveI | ( | GpPath * | path, |
| GDIPCONST GpPoint * | points, | ||
| INT | count | ||
| ) |
Definition at line 354 of file graphicspath.c.
Definition at line 460 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipAddPathCurve2 | ( | GpPath * | path, |
| GDIPCONST GpPointF * | points, | ||
| INT | count, | ||
| REAL | tension | ||
| ) |
Definition at line 480 of file graphicspath.c.
Referenced by GdipAddPathCurve(), GdipAddPathCurve2I(), GdipAddPathCurve3(), GdipDrawCurve2(), and test_addcurve().
| GpStatus WINGDIPAPI GdipAddPathCurve2I | ( | GpPath * | path, |
| GDIPCONST GpPoint * | points, | ||
| INT | count, | ||
| REAL | tension | ||
| ) |
Definition at line 533 of file graphicspath.c.
Referenced by GdipAddPathCurve3I(), and GdipAddPathCurveI().
| GpStatus WINGDIPAPI GdipAddPathCurve3 | ( | GpPath * | path, |
| GDIPCONST GpPointF * | points, | ||
| INT | count, | ||
| INT | offset, | ||
| INT | nseg, | ||
| REAL | tension | ||
| ) |
| GpStatus WINGDIPAPI GdipAddPathCurve3I | ( | GpPath * | path, |
| GDIPCONST GpPoint * | points, | ||
| INT | count, | ||
| INT | offset, | ||
| INT | nseg, | ||
| REAL | tension | ||
| ) |
Definition at line 572 of file graphicspath.c.
Definition at line 470 of file graphicspath.c.
Definition at line 583 of file graphicspath.c.
Referenced by GdipAddPathEllipseI(), GdipDrawEllipse(), GdipFillEllipse(), test_combinereplace(), test_ellipse(), test_flatten(), test_hascurve(), test_isvisiblepoint(), test_isvisiblerect(), test_nextpathtype(), test_transform(), and test_translate().
Definition at line 615 of file graphicspath.c.
Definition at line 704 of file graphicspath.c.
Referenced by GdipAddPathLineI(), GdipAddPathPie(), GdipAddPathRectangle(), test_addcurve(), test_drawpath(), test_fillpath(), test_flatten(), test_getpathdata(), test_getregiondata(), test_getsubpathcount(), test_isvalid(), test_nextmarker(), test_nextmarkerpath(), test_nextpathtype(), test_nextsubpathpath(), test_pen_thickness(), test_polygon(), and test_widen().
Definition at line 623 of file graphicspath.c.
Referenced by GdipAddPathLine2I(), GdipAddPathRectangle(), GdipCreatePathGradient(), GdipDrawLines(), test_ellipse(), test_line2(), test_reverse(), and test_worldbounds().
Definition at line 654 of file graphicspath.c.
Referenced by GdipCreatePathGradientI().
Definition at line 738 of file graphicspath.c.
Referenced by test_GdipFillPath(), and test_linei().
Definition at line 745 of file graphicspath.c.
Referenced by test_pathpath().
| GpStatus WINGDIPAPI GdipAddPathPie | ( | GpPath * | path, |
| REAL | x, | ||
| REAL | y, | ||
| REAL | width, | ||
| REAL | height, | ||
| REAL | startAngle, | ||
| REAL | sweepAngle | ||
| ) |
Definition at line 776 of file graphicspath.c.
Referenced by GdipAddPathPieI(), GdipDrawPie(), GdipFillPie(), and test_addpie().
| GpStatus WINGDIPAPI GdipAddPathPieI | ( | GpPath * | path, |
| INT | x, | ||
| INT | y, | ||
| INT | width, | ||
| INT | height, | ||
| REAL | startAngle, | ||
| REAL | sweepAngle | ||
| ) |
Definition at line 835 of file graphicspath.c.
Definition at line 844 of file graphicspath.c.
Referenced by GdipAddPathPolygonI(), GdipDrawPolygon(), GdipEnumerateMetafileSrcRectDestPoints(), GdipFillPolygon(), and test_polygon().
Definition at line 870 of file graphicspath.c.
Referenced by GdipFillPolygonI().
Definition at line 2296 of file graphicspath.c.
Referenced by GdipAddPathRectangleI(), GdipAddPathRectangles(), GdipCreateRegionHrgn(), GdipDrawRectangle(), get_region_hrgn(), test_captype(), test_constructor_destructor(), test_empty_rect(), test_GdipFillPath(), test_gethrgn(), test_getregiondata(), test_hascurve(), test_inset(), test_isvisible(), test_lastpoint(), test_linejoin(), test_nextmarker(), test_nextmarkerpath(), test_rect(), test_scale(), and transform_region_element().
Definition at line 2346 of file graphicspath.c.
Referenced by test_getregiondata().
Definition at line 2354 of file graphicspath.c.
Referenced by GdipAddPathRectanglesI(), GdipDrawRectangles(), GdipFillRectangles(), and test_rect().
Definition at line 2392 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipAddPathString | ( | GpPath * | path, |
| GDIPCONST WCHAR * | string, | ||
| INT | length, | ||
| GDIPCONST GpFontFamily * | family, | ||
| INT | style, | ||
| REAL | emSize, | ||
| GDIPCONST RectF * | layoutRect, | ||
| GDIPCONST GpStringFormat * | format | ||
| ) |
Definition at line 1007 of file graphicspath.c.
Referenced by GdipAddPathStringI().
| GpStatus WINGDIPAPI GdipAddPathStringI | ( | GpPath * | path, |
| GDIPCONST WCHAR * | string, | ||
| INT | length, | ||
| GDIPCONST GpFontFamily * | family, | ||
| INT | style, | ||
| REAL | emSize, | ||
| GDIPCONST Rect * | layoutRect, | ||
| GDIPCONST GpStringFormat * | format | ||
| ) |
Definition at line 1106 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipClearPathMarkers | ( | GpPath * | path | ) |
Definition at line 2439 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipClonePath | ( | GpPath * | path, |
| GpPath ** | clone | ||
| ) |
Definition at line 1135 of file graphicspath.c.
Referenced by brush_fill_pixels(), clone_element(), GdipAddPathRectangle(), GdipAddPathRectangles(), GdipAddPathString(), GdipCloneBrush(), GdipCreatePathGradientFromPath(), GdipCreateRegionPath(), GdipIsOutlineVisiblePathPoint(), GdipSetClipPath(), GdipWidenPath(), SOFTWARE_GdipDrawPath(), and SOFTWARE_GdipDrawThinPath().
| GpStatus WINGDIPAPI GdipClosePathFigure | ( | GpPath * | path | ) |
Definition at line 1163 of file graphicspath.c.
Referenced by GdipAddPathPie(), test_ellipse(), test_getregiondata(), test_line2(), test_linei(), test_nextpathtype(), test_nextsubpathpath(), test_pen_thickness(), and test_reverse().
| GpStatus WINGDIPAPI GdipClosePathFigures | ( | GpPath * | path | ) |
Definition at line 1178 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipCreatePath | ( | GpFillMode | fill, |
| GpPath ** | path | ||
| ) |
Definition at line 1197 of file graphicspath.c.
Referenced by GdipCreatePathGradient(), GdipCreatePathGradientI(), GdipCreateRegionHrgn(), GdipDrawArc(), GdipDrawBeziers(), GdipDrawClosedCurve2(), GdipDrawCurve2(), GdipDrawEllipse(), GdipDrawLines(), GdipDrawPie(), GdipDrawPolygon(), GdipDrawRectangle(), GdipDrawRectangles(), GdipEnumerateMetafileSrcRectDestPoints(), GdipFillClosedCurve2(), GdipFillEllipse(), GdipFillPie(), GdipFillPolygon(), GdipFillPolygonI(), GdipFillRectangles(), get_region_hrgn(), metafile_deserialize_path(), read_element(), test_addclosedcurve(), test_addcurve(), test_addpie(), test_arc(), test_captype(), test_combinereplace(), test_constructor_destructor(), test_drawpath(), test_ellipse(), test_empty_rect(), test_fillpath(), test_flatten(), test_GdipFillPath(), test_Get_Release_DC(), test_gethrgn(), test_getpathdata(), test_getregiondata(), test_getsubpathcount(), test_hascurve(), test_inset(), test_isvalid(), test_isvisible(), test_isvisiblepoint(), test_isvisiblerect(), test_lastpoint(), test_line2(), test_linei(), test_linejoin(), test_nextmarker(), test_nextmarkerpath(), test_nextpathtype(), test_nextsubpath(), test_nextsubpathpath(), test_pathgradientpath(), test_pathpath(), test_pen_thickness(), test_polygon(), test_rect(), test_reverse(), test_scale(), test_transform(), test_translate(), test_widen(), test_worldbounds(), and transform_region_element().
| GpStatus WINGDIPAPI GdipCreatePath2 | ( | GDIPCONST GpPointF * | points, |
| GDIPCONST BYTE * | types, | ||
| INT | count, | ||
| GpFillMode | fill, | ||
| GpPath ** | path | ||
| ) |
Definition at line 1213 of file graphicspath.c.
Referenced by GdipCreatePath2I().
| GpStatus WINGDIPAPI GdipCreatePath2I | ( | GDIPCONST GpPoint * | points, |
| GDIPCONST BYTE * | types, | ||
| INT | count, | ||
| GpFillMode | fill, | ||
| GpPath ** | path | ||
| ) |
Definition at line 1245 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipDeletePath | ( | GpPath * | path | ) |
Definition at line 1268 of file graphicspath.c.
Referenced by brush_fill_pixels(), delete_element(), GdipAddPathRectangle(), GdipAddPathRectangles(), GdipAddPathString(), GdipCloneBrush(), GdipCreatePathGradient(), GdipCreatePathGradientFromPath(), GdipCreatePathGradientI(), GdipCreateRegionHrgn(), GdipDeleteBrush(), GdipDrawArc(), GdipDrawBeziers(), GdipDrawClosedCurve2(), GdipDrawCurve2(), GdipDrawEllipse(), GdipDrawLines(), GdipDrawPie(), GdipDrawPolygon(), GdipDrawRectangle(), GdipDrawRectangles(), GdipEnumerateMetafileSrcRectDestPoints(), GdipFillClosedCurve2(), GdipFillEllipse(), GdipFillPie(), GdipFillPolygon(), GdipFillPolygonI(), GdipFillRectangles(), GdipIsOutlineVisiblePathPoint(), GdipSetClipPath(), GdipWidenPath(), get_region_hrgn(), metafile_deserialize_path(), metafile_free_object_table_entry(), SOFTWARE_GdipDrawPath(), SOFTWARE_GdipDrawThinPath(), test_addclosedcurve(), test_addcurve(), test_addpie(), test_arc(), test_captype(), test_combinereplace(), test_constructor_destructor(), test_drawpath(), test_ellipse(), test_empty_rect(), test_fillpath(), test_flatten(), test_GdipFillPath(), test_Get_Release_DC(), test_gethrgn(), test_getpathdata(), test_getregiondata(), test_getsubpathcount(), test_hascurve(), test_inset(), test_isvalid(), test_isvisible(), test_isvisiblepoint(), test_isvisiblerect(), test_lastpoint(), test_line2(), test_linei(), test_linejoin(), test_nextmarker(), test_nextmarkerpath(), test_nextpathtype(), test_nextsubpath(), test_nextsubpathpath(), test_pathgradientpath(), test_pathpath(), test_pen_thickness(), test_polygon(), test_rect(), test_reverse(), test_scale(), test_transform(), test_translate(), test_widen(), test_worldbounds(), and transform_region_element().
| GpStatus WINGDIPAPI GdipFlattenPath | ( | GpPath * | path, |
| GpMatrix * | matrix, | ||
| REAL | flatness | ||
| ) |
Definition at line 1282 of file graphicspath.c.
Referenced by brush_fill_pixels(), GdipWidenPath(), SOFTWARE_GdipDrawThinPath(), and test_flatten().
| GpStatus WINGDIPAPI GdipGetPathData | ( | GpPath * | path, |
| GpPathData * | pathData | ||
| ) |
Definition at line 1379 of file graphicspath.c.
Referenced by test_getpathdata().
| GpStatus WINGDIPAPI GdipGetPathFillMode | ( | GpPath * | path, |
| GpFillMode * | fillmode | ||
| ) |
Definition at line 1394 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipGetPathLastPoint | ( | GpPath * | path, |
| GpPointF * | lastPoint | ||
| ) |
Definition at line 1406 of file graphicspath.c.
Referenced by test_lastpoint().
| GpStatus WINGDIPAPI GdipGetPathPoints | ( | GpPath * | path, |
| GpPointF * | points, | ||
| INT | count | ||
| ) |
Definition at line 1422 of file graphicspath.c.
Referenced by GdipGetPathPointsI(), and ok_path().
| GpStatus WINGDIPAPI GdipGetPathPointsI | ( | GpPath * | path, |
| GpPoint * | points, | ||
| INT | count | ||
| ) |
Definition at line 1437 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipGetPathTypes | ( | GpPath * | path, |
| BYTE * | types, | ||
| INT | count | ||
| ) |
Definition at line 1462 of file graphicspath.c.
Referenced by ok_path().
| GpStatus WINGDIPAPI GdipGetPathWorldBounds | ( | GpPath * | path, |
| GpRectF * | bounds, | ||
| GDIPCONST GpMatrix * | matrix, | ||
| GDIPCONST GpPen * | pen | ||
| ) |
Definition at line 1481 of file graphicspath.c.
Referenced by create_path_gradient(), GdipGetPathGradientRect(), GdipGetPathWorldBoundsI(), and test_worldbounds().
| GpStatus WINGDIPAPI GdipGetPathWorldBoundsI | ( | GpPath * | path, |
| GpRect * | bounds, | ||
| GDIPCONST GpMatrix * | matrix, | ||
| GDIPCONST GpPen * | pen | ||
| ) |
Definition at line 1564 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipGetPointCount | ( | GpPath * | path, |
| INT * | count | ||
| ) |
Definition at line 1584 of file graphicspath.c.
Referenced by ok_path(), test_empty_rect(), test_getpathdata(), test_nextmarkerpath(), test_nextsubpathpath(), and test_widen().
| GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint | ( | GpPath * | path, |
| REAL | x, | ||
| REAL | y, | ||
| GpPen * | pen, | ||
| GpGraphics * | graphics, | ||
| BOOL * | result | ||
| ) |
Definition at line 1660 of file graphicspath.c.
Referenced by GdipIsOutlineVisiblePathPointI().
| GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI | ( | GpPath * | path, |
| INT | x, | ||
| INT | y, | ||
| GpPen * | pen, | ||
| GpGraphics * | graphics, | ||
| BOOL * | result | ||
| ) |
Definition at line 1652 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipIsVisiblePathPoint | ( | GpPath * | path, |
| REAL | x, | ||
| REAL | y, | ||
| GpGraphics * | graphics, | ||
| BOOL * | result | ||
| ) |
Definition at line 1718 of file graphicspath.c.
Referenced by GdipIsOutlineVisiblePathPoint(), GdipIsVisiblePathPointI(), test_empty_rect(), and test_isvisible().
| GpStatus WINGDIPAPI GdipIsVisiblePathPointI | ( | GpPath * | path, |
| INT | x, | ||
| INT | y, | ||
| GpGraphics * | graphics, | ||
| BOOL * | result | ||
| ) |
| GpStatus WINGDIPAPI GdipResetPath | ( | GpPath * | path | ) |
Definition at line 1756 of file graphicspath.c.
Referenced by GdipPathIterNextMarkerPath(), GdipPathIterNextSubpathPath(), test_addcurve(), test_addpie(), test_flatten(), test_GdipFillPath(), test_transform(), test_translate(), and test_widen().
| GpStatus WINGDIPAPI GdipReversePath | ( | GpPath * | path | ) |
Definition at line 1596 of file graphicspath.c.
Referenced by test_reverse().
| GpStatus WINGDIPAPI GdipSetPathFillMode | ( | GpPath * | path, |
| GpFillMode | fill | ||
| ) |
Definition at line 1770 of file graphicspath.c.
| GpStatus WINGDIPAPI GdipSetPathMarker | ( | GpPath * | path | ) |
Definition at line 2421 of file graphicspath.c.
Referenced by test_nextmarker(), and test_nextmarkerpath().
| GpStatus WINGDIPAPI GdipStartPathFigure | ( | GpPath * | path | ) |
Definition at line 1744 of file graphicspath.c.
Referenced by test_getsubpathcount().
| GpStatus WINGDIPAPI GdipTransformPath | ( | GpPath * | path, |
| GpMatrix * | matrix | ||
| ) |
Definition at line 1782 of file graphicspath.c.
Referenced by brush_fill_pixels(), GdipFlattenPath(), GdipIsOutlineVisiblePathPoint(), GdipSetClipPath(), GdipWidenPath(), SOFTWARE_GdipDrawPath(), and test_flatten().
| GpStatus WINGDIPAPI GdipWarpPath | ( | GpPath * | path, |
| GpMatrix * | matrix, | ||
| GDIPCONST GpPointF * | points, | ||
| INT | count, | ||
| REAL | x, | ||
| REAL | y, | ||
| REAL | width, | ||
| REAL | height, | ||
| WarpMode | warpmode, | ||
| REAL | flatness | ||
| ) |
Definition at line 1796 of file graphicspath.c.
Definition at line 2197 of file graphicspath.c.
Referenced by GdipIsOutlineVisiblePathPoint(), SOFTWARE_GdipDrawPath(), and test_widen().
| GpStatus WINGDIPAPI GdipWindingModeOutline | ( | GpPath * | path, |
| GpMatrix * | matrix, | ||
| REAL | flatness | ||
| ) |
Definition at line 2458 of file graphicspath.c.
|
static |
Definition at line 44 of file graphicspath.c.
Referenced by GdipFlattenPath(), and GdipWidenPath().
Definition at line 2474 of file graphicspath.c.
Referenced by write_path_data().
|
static |
Definition at line 94 of file graphicspath.c.
Referenced by GdipFlattenPath(), and GdipWidenPath().
|
static |
Definition at line 1879 of file graphicspath.c.
Referenced by widen_open_figure().
|
static |
Definition at line 2017 of file graphicspath.c.
Referenced by GdipWidenPath().
|
static |
Definition at line 2059 of file graphicspath.c.
Referenced by GdipWidenPath().
|
static |
Definition at line 1837 of file graphicspath.c.
Referenced by widen_closed_figure(), and widen_open_figure().
|
static |
Definition at line 1984 of file graphicspath.c.
Referenced by GdipWidenPath(), and widen_dashed_figure().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | gdiplus | ) |
Definition at line 2491 of file graphicspath.c.
Referenced by get_element_size(), METAFILE_AddPathObject(), and write_element().