PathGradientBrush 함수

Windows GDI+는 Gdiplus.dll 구현되고 Gdiplusflat.h에 선언된 약 600개의 함수로 구성된 플랫 API를 노출합니다. GDI+ 플랫 API의 함수는 약 40개의 C++ 클래스 컬렉션으로 래핑됩니다. 플랫 API에서 함수를 직접 호출하지 않는 것이 좋습니다. GDI+를 호출할 때마다 C++ 래퍼에서 제공하는 메서드 및 함수를 호출하여 호출해야 합니다. Microsoft 제품 지원 서비스는 플랫 API를 직접 호출하는 코드에 대한 지원을 제공하지 않습니다. 이러한 래퍼 메서드를 사용하는 방법에 대한 자세한 내용은 GDI+ Flat API 참조하세요.

다음 플랫 API 함수는 PathGradientBrush C++ 클래스에 의해 래핑됩니다.

PathGradientBrush 함수 및 해당 래퍼 메서드

플랫 함수 래퍼 메서드 발언
GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* points, INT count, GpWrapMode wrapMode, GpPathGradient **polyGradient)
PathGradientBrush::P athGradientBrush( IN const PointF* points, IN INT count, IN WrapMode wrapMode = WrapModeClamp)
점 배열을 기반으로 PathGradientBrush 개체를 만듭니다. 경로 그라데이션 브러시의 래핑 모드를 초기화합니다.
GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint* points, INT count, GpWrapMode wrapMode, GpPathGradient **polyGradient)
PathGradientBrush::P athGradientBrush( IN const Point* points, IN INT count, IN WrapMode wrapMode = WrapModeClamp)
점 배열을 기반으로 PathGradientBrush 개체를 만듭니다. 경로 그라데이션 브러시의 래핑 모드를 초기화합니다.
GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath* 경로, GpPathGradient **polyGradient)
PathGradientBrush::P athGradientBrush( IN const GraphicsPath* path )
GraphicsPath 개체를 기반으로 PathGradientBrush 개체를 만듭니다.
GpStatus WINGDIPAPI GdipGetPathGradientCenterColor( GpPathGradient *brush, ARGB* 색)
Status PathGradientBrush::GetCenterColor(OUT Color* color) const
이 경로 그라데이션 브러시의 중심점 색을 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor( GpPathGradient *brush, ARGB 색)
상태 PathGradientBrush::SetCenterColor(IN const Color& color)
이 경로 그라데이션 브러시의 가운데 색을 설정합니다. 가운데 색은 브러시의 중심점에 나타나는 색입니다.
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount( GpPathGradient *brush, ARGB* color, INT* count)
Status PathGradientBrush::GetSurroundColors(OUT Color* colors, IN OUT INT* count) const
이 경로 그라데이션 브러시에 대해 현재 지정된 서라운드 색을 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount( GpPathGradient *brush, GDIPCONST ARGB* color, INT* count)
Status PathGradientBrush::SetSurroundColors(IN const Color* colors, IN OUT INT* count)
이 경로 그라데이션 브러시의 서라운드 색을 설정합니다. 서라운드 색은 브러시의 경계 경로에 있는 불연속 지점에 지정된 색입니다.
GpStatus WINGDIPAPI GdipGetPathGradientPath(GpPathGradient *brush, GpPath *path)
상태 PathGradientBrush::GetGraphicsPath(OUT GraphicsPath* 경로) const
GDI+ 버전 1.0에서는 구현되지 않습니다.
GpStatus WINGDIPAPI GdipSetPathGradientPath(GpPathGradient *brush, GDIPCONST GpPath *path)
상태 PathGradientBrush::SetGraphicsPath(IN const GraphicsPath* 경로)
GDI+ 버전 1.0에서는 구현되지 않습니다.
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint( GpPathGradient *brush, GpPointF* points)
상태 PathGradientBrush::GetCenterPoint(OUT PointF* point) const
이 경로 그라데이션 브러시의 중심점을 가져옵니다.
GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI( GpPathGradient *brush, GpPoint* points)
상태 PathGradientBrush::GetCenterPoint(OUT Point* point) const
이 경로 그라데이션 브러시의 중심점을 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint( GpPathGradient *brush, GDIPCONST GpPointF* points)
상태 PathGradientBrush::SetCenterPoint(IN const PointF& point)
이 경로 그라데이션 브러시의 중심점을 설정합니다. 기본적으로 중심점은 브러시 경계 경로의 중심이지만 경로 내부 또는 외부의 모든 위치로 중심점을 설정할 수 있습니다.
GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI( GpPathGradient *brush, GDIPCONST GpPoint* points)
상태 PathGradientBrush::SetCenterPoint(IN const Point& point)
이 경로 그라데이션 브러시의 중심점을 설정합니다. 기본적으로 중심점은 브러시 경계 경로의 중심이지만 경로 내부 또는 외부의 모든 위치로 중심점을 설정할 수 있습니다.
GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient *brush, GpRectF *rect)
Status PathGradientBrush::GetRectangle(OUT RectF* rect) const
이 경로 그라데이션 브러시의 경계 경로를 둘러싸는 가장 작은 사각형을 가져옵니다.
GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient *brush, GpRect *rect)
상태 PathGradientBrush::GetRectangle(OUT Rect* rect) const
이 경로 그라데이션 브러시의 경계 경로를 둘러싸는 가장 작은 사각형을 가져옵니다.
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient *brush, INT* count)
INT PathGradientBrush::GetPointCount() const
이 브러시의 경계 경로를 정의하는 점 배열의 점 수를 가져옵니다.
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorCount(GpPathGradient *brush, INT* count)
INT PathGradientBrush::GetSurroundColorCount() const
이 경로 그라데이션 브러시의 경계 경로에 지정된 색 수를 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient *brush, BOOL useGammaCorrection)
상태 PathGradientBrush::SetGammaCorrection(IN BOOL useGammaCorrection)
이 경로 그라데이션 브러시에 감마 보정을 사용할 수 있는지 여부를 지정합니다.
GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient *brush, BOOL *useGammaCorrection)
BOOL PathGradientBrush::GetGammaCorrection() const
이 경로 그라데이션 브러시에 감마 보정을 사용할 수 있는지 여부를 결정합니다.
GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient *brush, INT *count)
INT PathGradientBrush::GetBlendCount() const
이 경로 그라데이션 브러시에 대해 현재 설정된 혼합 요소 수를 가져옵니다.
GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient *brush, REAL *blend, REAL *positions, INT count)
PathGradientBrush::GetBlend(OUT REAL* blendFactors, OUT REAL* blendPositions, IN INT count) const
이 경로 그라데이션 브러시에 대해 현재 설정된 혼합 요소 및 해당 혼합 위치를 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient *brush, GDIPCONST REAL *blend, GDIPCONST REAL *positions, INT count)
상태 PathGradientBrush::SetBlend(IN const REAL* blendFactors, IN const REAL* blendPositions, IN INT count)
이 경로 그라데이션 브러시의 혼합 요소 및 혼합 위치를 설정합니다.
GpStatus WINGDIPAPI GdipGetPathGradientPresetBlendCount(GpPathGradient *brush, INT *count)
INT PathGradientBrush::GetInterpolationColorCount() const
이 경로 그라데이션 브러시에 대해 현재 지정된 미리 설정된 색의 수를 가져옵니다.
GpStatus WINGDIPAPI GdipGetPathGradientPresetBlend(GpPathGradient *brush, ARGB *blend, REAL* positions, INT count)
상태 PathGradientBrush::GetInterpolationColors(OUT Color* presetColors, OUT REAL* blendPositions, IN INT count) const
이 경로 그라데이션 브러시에 대해 현재 지정된 미리 설정된 색 및 혼합 위치를 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientPresetBlend(GpPathGradient *brush, GDIPCONST ARGB *blend, GDIPCONST REAL* positions, INT count)
Status PathGradientBrush::SetInterpolationColors(IN const Color* presetColors, IN const REAL* blendPositions, IN INT count)
이 경로 그라데이션 브러시의 미리 설정된 색과 혼합 위치를 설정합니다.
GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *brush, REAL focus, REAL scale)
상태 PathGradientBrush::SetBlendBellShape(IN REAL focus, IN REAL scale = 1.0)
이 경로 그라데이션 브러시의 혼합 모양을 설정합니다.
GpStatus WINGDIPAPI GdipSetPathGradientLinearBlend(GpPathGradient *brush, REAL focus, REAL scale)
Status PathGradientBrush::SetBlendTriangularShape( IN REAL focus, IN REAL scale = 1.0 )
이 경로 그라데이션 브러시의 혼합 모양을 설정합니다.
GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient *brush, GpWrapMode *wrapmode)
WrapMode PathGradientBrush::GetWrapMode() const
이 경로 그라데이션 브러시에 대해 현재 설정된 래핑 모드를 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *brush, GpWrapMode wrapmode)
Status PathGradientBrush::SetWrapMode(IN WrapMode wrapMode)
이 경로 그라데이션 브러시의 래핑 모드를 설정합니다.
GpStatus WINGDIPAPI GdipGetPathGradientTransform(GpPathGradient *brush, GpMatrix *matrix)
Status PathGradientBrush::GetTransform(OUT Matrix *matrix) const
이 경로 그라데이션 브러시의 변환 매트릭스를 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientTransform(GpPathGradient *brush, GpMatrix *matrix)
Status PathGradientBrush::SetTransform(IN const Matrix* matrix)
이 경로 그라데이션 브러시의 변환 매트릭스를 설정합니다.
GpStatus WINGDIPAPI GdipResetPathGradientTransform(GpPathGradient* brush)
상태 PathGradientBrush::ResetTransform()
이 경로 그라데이션 브러시의 변환 매트릭스를 ID 행렬로 다시 설정합니다. 즉, 변환이 수행되지 않습니다.
GpStatus WINGDIPAPI GdipMultiplyPathGradientTransform(GpPathGradient* brush, GDIPCONST GpMatrix *matrix, GpMatrixOrder order)
Status PathGradientBrush::MultiplyTransform(IN const Matrix* matrix, IN MatrixOrder order = MatrixOrderPrepend)
브러시의 변환 매트릭스를 자체 및 다른 행렬의 곱으로 업데이트합니다.
GpStatus WINGDIPAPI GdipTranslatePathGradientTransform(GpPathGradient* brush, REAL dx, REAL dy, GpMatrixOrder order)
Status PathGradientBrush::TranslateTransform(IN REAL dx, IN REAL dy, IN MatrixOrder order = MatrixOrderPrepend)
이 브러시의 현재 변환 매트릭스를 자체 곱과 변환 행렬로 업데이트합니다.
GpStatus WINGDIPAPI GdipScalePathGradientTransform(GpPathGradient* brush, REAL sx, REAL sy, GpMatrixOrder order)
Status PathGradientBrush::ScaleTransform(IN REAL sx, IN REAL sy, IN MatrixOrder order = MatrixOrderPrepend)
이 브러시의 현재 변환 매트릭스를 자체 제품 및 크기 조정 매트릭스로 업데이트합니다.
GpStatus WINGDIPAPI GdipRotatePathGradientTransform(GpPathGradient* brush, REAL angle, GpMatrixOrder order)
Status PathGradientBrush::RotateTransform(IN REAL angle, IN MatrixOrder order = MatrixOrderPrepend)
이 브러시의 현재 변환 매트릭스를 자체 곱과 회전 행렬로 업데이트합니다.
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *brush, REAL* xScale, REAL* yScale)
상태 PathGradientBrush::GetFocusScales(OUT REAL* xScale, OUT REAL* yScale) const
이 경로 그라데이션 브러시의 포커스 눈금을 가져옵니다.
GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient *brush, REAL xScale, REAL yScale)
상태 PathGradientBrush::SetFocusScales(IN REAL xScale, IN REAL yScale)
이 경로 그라데이션 브러시의 포커스 배율을 설정합니다.