ReactOS
0.4.15-dev-5606-gf34e425
|
#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 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 GraphicsPath::AddArc(), 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.
Referenced by GraphicsPath::AddArc().
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 GraphicsPath::AddBezier(), and 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.
Referenced by GraphicsPath::AddBezier().
Definition at line 290 of file graphicspath.c.
Referenced by GraphicsPath::AddBeziers(), GdipAddPathBeziersI(), GdipAddPathClosedCurve2(), GdipAddPathCurve2(), and GdipDrawBeziers().
Definition at line 319 of file graphicspath.c.
Referenced by GraphicsPath::AddBeziers().
GpStatus WINGDIPAPI GdipAddPathClosedCurve | ( | GpPath * | path, |
GDIPCONST GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 346 of file graphicspath.c.
Referenced by GraphicsPath::AddClosedCurve().
GpStatus WINGDIPAPI GdipAddPathClosedCurve2 | ( | GpPath * | path, |
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
REAL | tension | ||
) |
Definition at line 362 of file graphicspath.c.
Referenced by GraphicsPath::AddClosedCurve(), 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 GraphicsPath::AddClosedCurve(), and GdipAddPathClosedCurveI().
GpStatus WINGDIPAPI GdipAddPathClosedCurveI | ( | GpPath * | path, |
GDIPCONST GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 354 of file graphicspath.c.
Referenced by GraphicsPath::AddClosedCurve().
Definition at line 460 of file graphicspath.c.
Referenced by GraphicsPath::AddCurve().
GpStatus WINGDIPAPI GdipAddPathCurve2 | ( | GpPath * | path, |
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
REAL | tension | ||
) |
Definition at line 480 of file graphicspath.c.
Referenced by GraphicsPath::AddCurve(), 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 GraphicsPath::AddCurve(), GdipAddPathCurve3I(), and GdipAddPathCurveI().
GpStatus WINGDIPAPI GdipAddPathCurve3 | ( | GpPath * | path, |
GDIPCONST GpPointF * | points, | ||
INT | count, | ||
INT | offset, | ||
INT | nseg, | ||
REAL | tension | ||
) |
Definition at line 561 of file graphicspath.c.
Referenced by GraphicsPath::AddCurve(), and test_addcurve().
GpStatus WINGDIPAPI GdipAddPathCurve3I | ( | GpPath * | path, |
GDIPCONST GpPoint * | points, | ||
INT | count, | ||
INT | offset, | ||
INT | nseg, | ||
REAL | tension | ||
) |
Definition at line 572 of file graphicspath.c.
Referenced by GraphicsPath::AddCurve().
Definition at line 470 of file graphicspath.c.
Referenced by GraphicsPath::AddCurve().
Definition at line 583 of file graphicspath.c.
Referenced by GraphicsPath::AddEllipse(), 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.
Referenced by GraphicsPath::AddEllipse().
Definition at line 704 of file graphicspath.c.
Referenced by GraphicsPath::AddLine(), 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 GraphicsPath::AddLines(), GdipAddPathLine2I(), GdipAddPathRectangle(), GdipCreatePathGradient(), GdipDrawLines(), test_ellipse(), test_line2(), test_reverse(), and test_worldbounds().
Definition at line 654 of file graphicspath.c.
Referenced by GraphicsPath::AddLines(), and GdipCreatePathGradientI().
Definition at line 738 of file graphicspath.c.
Referenced by GraphicsPath::AddLine(), test_GdipFillPath(), and test_linei().
Definition at line 745 of file graphicspath.c.
Referenced by GraphicsPath::AddPath(), and 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 GraphicsPath::AddPie(), 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.
Referenced by GraphicsPath::AddPie().
Definition at line 844 of file graphicspath.c.
Referenced by GraphicsPath::AddPolygon(), GdipAddPathPolygonI(), GdipDrawPolygon(), GdipEnumerateMetafileSrcRectDestPoints(), GdipFillPolygon(), and test_polygon().
Definition at line 870 of file graphicspath.c.
Referenced by GraphicsPath::AddPolygon(), and GdipFillPolygonI().
Definition at line 2296 of file graphicspath.c.
Referenced by GraphicsPath::AddRectangle(), 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 GraphicsPath::AddRectangle(), and test_getregiondata().
Definition at line 2354 of file graphicspath.c.
Referenced by GraphicsPath::AddRectangles(), GdipAddPathRectanglesI(), GdipDrawRectangles(), GdipFillRectangles(), and test_rect().
Definition at line 2392 of file graphicspath.c.
Referenced by GraphicsPath::AddRectangles().
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 GraphicsPath::AddString(), and 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.
Referenced by GraphicsPath::AddString().
GpStatus WINGDIPAPI GdipClearPathMarkers | ( | GpPath * | path | ) |
Definition at line 2439 of file graphicspath.c.
Referenced by GraphicsPath::ClearMarkers().
GpStatus WINGDIPAPI GdipClonePath | ( | GpPath * | path, |
GpPath ** | clone | ||
) |
Definition at line 1135 of file graphicspath.c.
Referenced by brush_fill_pixels(), GraphicsPath::Clone(), 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 GraphicsPath::CloseFigure(), 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.
Referenced by GraphicsPath::CloseAllFigures().
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(), GraphicsPath::GraphicsPath(), 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(), and GraphicsPath::GraphicsPath().
GpStatus WINGDIPAPI GdipCreatePath2I | ( | GDIPCONST GpPoint * | points, |
GDIPCONST BYTE * | types, | ||
INT | count, | ||
GpFillMode | fill, | ||
GpPath ** | path | ||
) |
Definition at line 1245 of file graphicspath.c.
Referenced by GraphicsPath::GraphicsPath().
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(), transform_region_element(), and GraphicsPath::~GraphicsPath().
GpStatus WINGDIPAPI GdipFlattenPath | ( | GpPath * | path, |
GpMatrix * | matrix, | ||
REAL | flatness | ||
) |
Definition at line 1282 of file graphicspath.c.
Referenced by brush_fill_pixels(), GraphicsPath::Flatten(), 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.
Referenced by GraphicsPath::GetFillMode().
GpStatus WINGDIPAPI GdipGetPathLastPoint | ( | GpPath * | path, |
GpPointF * | lastPoint | ||
) |
Definition at line 1406 of file graphicspath.c.
Referenced by GraphicsPath::GetLastPoint(), and test_lastpoint().
GpStatus WINGDIPAPI GdipGetPathPoints | ( | GpPath * | path, |
GpPointF * | points, | ||
INT | count | ||
) |
Definition at line 1422 of file graphicspath.c.
Referenced by GdipGetPathPointsI(), GraphicsPath::GetPathPoints(), and ok_path().
GpStatus WINGDIPAPI GdipGetPathPointsI | ( | GpPath * | path, |
GpPoint * | points, | ||
INT | count | ||
) |
Definition at line 1437 of file graphicspath.c.
Referenced by GraphicsPath::GetPathPoints().
GpStatus WINGDIPAPI GdipGetPathTypes | ( | GpPath * | path, |
BYTE * | types, | ||
INT | count | ||
) |
Definition at line 1462 of file graphicspath.c.
Referenced by GraphicsPath::GetPathTypes(), and 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 GraphicsPath::GetPointCount(), 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(), and GraphicsPath::IsOutlineVisible().
GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI | ( | GpPath * | path, |
INT | x, | ||
INT | y, | ||
GpPen * | pen, | ||
GpGraphics * | graphics, | ||
BOOL * | result | ||
) |
Definition at line 1652 of file graphicspath.c.
Referenced by GraphicsPath::IsOutlineVisible().
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(), GraphicsPath::IsVisible(), test_empty_rect(), and test_isvisible().
GpStatus WINGDIPAPI GdipIsVisiblePathPointI | ( | GpPath * | path, |
INT | x, | ||
INT | y, | ||
GpGraphics * | graphics, | ||
BOOL * | result | ||
) |
Definition at line 1708 of file graphicspath.c.
Referenced by GraphicsPath::IsVisible().
GpStatus WINGDIPAPI GdipResetPath | ( | GpPath * | path | ) |
Definition at line 1756 of file graphicspath.c.
Referenced by GdipPathIterNextMarkerPath(), GdipPathIterNextSubpathPath(), GraphicsPath::Reset(), test_addcurve(), test_addpie(), test_flatten(), test_GdipFillPath(), test_transform(), test_translate(), and test_widen().
GpStatus WINGDIPAPI GdipReversePath | ( | GpPath * | path | ) |