NAME

GdipAddPathArc  (GDIPLUS.1)

SYNOPSIS

 GpStatus WINGDIPAPI  GdipAddPathArc
 (
  GpPath* path,
  REAL    x,
  REAL    y,
  REAL    width,
  REAL    height,
  REAL    startAngle,
  REAL    sweepAngle
 )

DESCRIPTION

Add an elliptical arc to the given path.

PARAMS

path [In/Out] Path that the arc is appended to.
x [In] X coordinate of the boundary rectangle.
y [In] Y coordinate of the boundary rectangle.
width [In] Width of the boundary rectangle.
height [In] Height of the boundary rectangle.
startAngle [In] Starting angle of the arc, clockwise.
sweepAngle [In] Angle of the arc, clockwise.

RETURNS

InvalidParameter If the given path is invalid OutOfMemory If memory allocation fails, i.e. the path cannot be lengthened Ok If everything works out as expected.

NOTES

This functions takes the newfigure value of the given path into account, i.e. the arc is connected to the end of the given path if it was set to FALSE, otherwise the arc's first point gets the PathPointTypeStart value. In both cases, the value of newfigure of the given path is FALSE afterwards.

IMPLEMENTATION

Declared in "gdiplusflat.h". https://source.winehq.org/source/include/gdiplusflat.h

Implemented in "dlls/gdiplus/graphicspath.c". https://source.winehq.org/source/dlls/gdiplus/graphicspath.c

Debug channel "gdiplus".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.