次の方法で共有


グラフィックス関数

Windows GDI+ は、約 600 個の関数で構成されるフラット API を公開します。これは、Gdiplus.dllに実装され、Gdiplusflat.h で宣言されています。 GDI+ フラット API の関数は、約 40 個の C++ クラスのコレクションによってラップされます。 フラット API で関数を直接呼び出さないでください。 GDI+ を呼び出す場合は常に、C++ ラッパーによって提供されるメソッドと関数を呼び出します。 Microsoft 製品サポート サービスでは、フラット API を直接呼び出すコードのサポートは提供されません。 これらのラッパー メソッドの使用方法の詳細については、「 GDI+ Flat API」を参照してください。

次のフラット API 関数は、 Graphics C++ クラスによってラップされます。

グラフィックス関数と対応するラッパー メソッド

フラット関数 ラッパー メソッド 解説
GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
VOID Graphics::Flush(IN FlushIntention intention = FlushIntentionFlush) 保留中のすべてのグラフィックス操作をフラッシュします。
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC hdc, GpGraphics **graphics)
Graphics::Graphics(IN HDC hdc) 指定したデバイス コンテキストに関連付けられている Graphics オブジェクトを作成します。
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **graphics)
Graphics::Graphics(IN HDC hdc, IN HANDLE hdevice) 指定したデバイス コンテキストと指定したデバイスに関連付けられている Graphics オブジェクトを作成します。
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND hwnd, GpGraphics **graphics)
Graphics::Graphics(IN HWND hwnd, IN BOOL icm = FALSE) 指定したウィンドウに関連付けられている Graphics オブジェクトを作成します。
GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND hwnd, GpGraphics **graphics)
Graphics::Graphics(IN HWND hwnd, IN BOOL icm = FALSE) この関数では、イメージカラー管理 (ICM) を使用します。 これは、Graphics::Graphics コンストラクターの icm パラメーターが TRUE に設定されている場合に呼び出されます。
GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *graphics)
ラッパー メソッドによって呼び出されません。
実装されていません。
GpStatus WINGDIPAPI GdipGetDC(GpGraphics* graphics, HDC * hdc)
HDC Graphics::GetHDC() この Graphics オブジェクトに関連付けられているデバイス コンテキストへのハンドル 取得します。
GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics* graphics, HDC hdc)
VOID Graphics::ReleaseHDC(IN HDC hdc) この Graphics オブジェクトの Graphics::GetHDC メソッドの以前の呼び出しによって取得されたデバイス コンテキスト ハンドル 解放します。
GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics *graphics, CompositingMode compositingMode)
Status Graphics::SetCompositingMode(IN CompositingMode compositingMode) この Graphics オブジェクトの合成モードを設定します。
GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics *graphics, CompositingMode *compositingMode)
Status Graphics::GetCompositingMode() const この Graphics オブジェクトに現在設定されている合成モードを取得します。
GpStatus WINGDIPAPI GdipSetRenderingOrigin(GpGraphics *graphics, INT x, INT y)
状態グラフィックス::SetRenderingOrigin(INT x, INT y) この Graphics オブジェクトのレンダリングの原点 設定します。 レンダリングの原点は、8 ビット/ピクセルディザリングと 16 ビット/ピクセル ディザリングのディザ原点を設定するために使用され、ハッチ ブラシの原点を設定するためにも使用されます。 構文
GpStatus WINGDIPAPI GdipGetRenderingOrigin(GpGraphics *graphics, INT *x, INT *y)
Status Graphics::GetRenderingOrigin(OUT INT *x, OUT INT *y) const この Graphics オブジェクトに現在設定されているレンダリングの原点を取得します。 レンダリングの原点は、ピクセルあたり 8 ビットとピクセルディザリングあたり 16 ビットのディザの原点を設定するために使用され、ハッチ ブラシの原点を設定するためにも使用されます。
GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics *graphics, CompositingQuality compositingQuality)
Status Graphics::SetCompositingQuality(IN CompositingQuality compositingQuality) この Graphics オブジェクトの合成品質を設定します。
GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics *graphics, CompositingQuality *compositingQuality)
CompositingQuality Graphics::GetCompositingQuality() const この Graphics オブジェクトに現在設定されている合成品質を取得します。
GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics *graphics, SmoothingMode smoothingMode)
Status Graphics::SetSmoothingMode(IN SmoothingMode smoothingMode) Graphics オブジェクトのレンダリング品質を設定します。
GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics *graphics, SmoothingMode *smoothingMode)
SmoothingMode Graphics::GetSmoothingMode() const スムージング (アンチエイリアシング) を Graphics オブジェクトに適用するかどうかを指定します。
GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics* graphics, PixelOffsetMode pixelOffsetMode)
状態グラフィックス::SetPixelOffsetMode(IN PixelOffsetMode pixelOffsetMode) この Graphics オブジェクトのピクセル オフセット モードを設定します。
GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics *graphics, PixelOffsetMode *pixelOffsetMode)
PixelOffsetMode Graphics::GetPixelOffsetMode() const この Graphics オブジェクトに現在設定されているピクセル オフセット モードを取得します。
GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics *graphics, TextRenderingHint モード)
Status Graphics::SetTextRenderingHint(IN TextRenderingHint newMode) この Graphics オブジェクトのテキスト レンダリング モードを設定します。
GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics *graphics, TextRenderingHint *mode)
TextRenderingHint Graphics::GetTextRenderingHint() const この Graphics オブジェクトに現在設定されているテキスト レンダリング モードを取得します。
GpStatus WINGDIPAPI GdipSetTextContrast(GpGraphics *graphics, UINT contrast)
Status Graphics::SetTextContrast(IN UINT contrast) この Graphics オブジェクトのコントラスト値を設定します。 コントラスト値は、アンチエイリアシング テキストに使用されます。
GpStatus WINGDIPAPI GdipGetTextContrast(GpGraphics *graphics, UINT * contrast)
UINT Graphics::GetTextContrast() const この Graphics オブジェクトに現在設定されているコントラスト値を取得します。 コントラスト値は、アンチエイリアシング テキストに使用されます。
GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics *graphics, InterpolationMode interpolationMode)
Status Graphics::SetInterpolationMode(IN InterpolationMode interpolationMode) この Graphics オブジェクトの補間モードを設定します。 補間モードは、画像の拡大縮小または回転時に使用されるアルゴリズムを決定します。
GpStatus WINGDIPAPI GdipGraphicsSetAbort(GpGraphics *pGraphics, GdiplusAbort *pIAbort)
ラッパー メソッドによって呼び出されません。
実装されていません。
GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics *graphics, InterpolationMode *interpolationMode)
InterpolationMode Graphics::GetInterpolationMode() const この Graphics オブジェクトに現在設定されている補間モードを取得します。 補間モードは、画像の拡大縮小または回転時に使用されるアルゴリズムを決定します。
GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics *graphics, GpMatrix *matrix)
Status Graphics::SetTransform(IN const Matrix* matrix) この Graphics オブジェクトのワールド変換を設定します。
GpStatus WINGDIPAPI GdipResetWorldTransform(GpGraphics *graphics)
Status Graphics::ResetTransform() この Graphics オブジェクトのワールド変換マトリックスを ID 行列に設定します。
GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics *graphics, GDIPCONST GpMatrix *matrix, GpMatrixOrder order)
Status Graphics::MultiplyTransform(IN const Matrix* matrix, IN MatrixOrder order = MatrixOrderPrepend) この Graphics オブジェクトのワールド変換マトリックスを、それ自体と別の行列の積と共に更新します。
GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics *graphics, REAL dx, REAL dy, GpMatrixOrder order)
Status Graphics::TranslateTransform(IN REAL dx, IN REAL dy, IN MatrixOrder order = MatrixOrderPrepend) この Graphics オブジェクトのワールド変換マトリックスを、それ自体と翻訳行列の積で更新します。
GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics *graphics, REAL sx, REAL sy, GpMatrixOrder order)
Status Graphics::ScaleTransform(IN REAL sx, IN REAL sy, IN MatrixOrder order = MatrixOrderPrepend) この Graphics オブジェクトのワールド変換マトリックスを、それ自体とスケーリング マトリックスの積で更新します。
GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics *graphics, REAL angle, GpMatrixOrder order)
状態グラフィックス::RotateTransform(IN REAL angle, IN MatrixOrder order = MatrixOrderPrepend) この Graphics オブジェクトのワールド変換マトリックスを、それ自体の積と回転行列と共に更新します。
GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics *graphics, GpMatrix *matrix)
Status Graphics::GetTransform(OUT Matrix* matrix) const この Graphics オブジェクトのワールド変換マトリックスを取得します。
GpStatus WINGDIPAPI GdipResetPageTransform(GpGraphics *graphics)
ラッパー メソッドによって呼び出されません。
この関数は、ページ変換マトリックスを ID にリセットします。
GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics *graphics, GpUnit *unit)
Unit Graphics::GetPageUnit() const この Graphics オブジェクトに現在設定されている測定単位を取得します。
GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics *graphics, REAL *scale)
REAL Graphics::GetPageScale() const この Graphics オブジェクトのページ変換に現在設定されている倍率を取得します。 ページ変換は、ページ座標をデバイス座標に変換します。
GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics *graphics, GpUnit unit)
Status Graphics::SetPageUnit(IN Unit unit) この Graphics オブジェクトの測定単位を設定します。 ページ単位は、ページ座標をデバイス座標に変換するページ変換に属します。
GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics *graphics, REAL scale)
状態グラフィックス::SetPageScale(IN REAL scale) この Graphics オブジェクトのページ変換の倍率を設定します。 ページ変換は、ページ座標をデバイス座標に変換します。
GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics *graphics, REAL* dpi)
REAL Graphics::GetDpiX() const この Graphics オブジェクトに関連付けられているディスプレイ デバイスの水平方向の解像度を 1 インチあたりのドット数で取得します。
GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics *graphics, REAL* dpi)
REAL Graphics::GetDpiY() const この Graphics オブジェクトに関連付けられているディスプレイ デバイスの垂直方向の解像度を 1 インチあたりのドット数で取得します。
GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics *graphics, GpCoordinateSpace destSpace, GpCoordinateSpace srcSpace, GpPointF *points, INT count)
ラッパー メソッドによって呼び出されません。
実装されていません。
GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics *graphics, GpCoordinateSpace destSpace, GpCoordinateSpace srcSpace, GpPoint *points, INT count)
Status Graphics::TransformPoints(IN CoordinateSpace destSpace, IN CoordinateSpace srcSpace, IN OUT Point* pts, IN INT count) const ある座標空間から別の座標空間にポイントの配列を変換します。 変換は、この Graphics オブジェクトの現在のワールド変換とページ変換に基づいています。
GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics *graphics, ARGB* argb)
Status Graphics::GetNearestColor(IN OUT Color* color) const 渡される色に最も近い色を取得します。 このメソッドは、8 ビット カラー パレットがあるピクセルあたり 8 ビット以下のディスプレイ デバイスで動作します。
HPALETTE WINGDIPAPI GdipCreateHalftonePalette()
静的 HPALETTE グラフィックス::GetHalftonePalette() Windows ハーフトーン パレットを取得します。
GpStatus WINGDIPAPI GdipDrawLine(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1, REAL x2, REAL y2)
Status Graphics::D rawLine(IN const Pen* pen, IN REAL x1, IN REAL y1, IN REAL x2, IN REAL y2) 2 つの点を結ぶ線を描画します。
GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics *graphics, GpPen *pen, INT x1, INT y1, INT x2, INT y2)
Status Graphics::D rawLine(IN const Pen* pen, INT x1, INT y1, INT x2, INT y2) 2 つの点を結ぶ線を描画します。
GpStatus WINGDIPAPI GdipDrawLines(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Status Graphics::D rawLines(IN const Pen* pen, IN const PointF* points, IN INT count) 接続された線のシーケンスを描画します。
GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Status Graphics:DrawLines(IN const Pen* pen, IN const Point* points, IN INT count) 接続された線のシーケンスを描画します。
GpStatus WINGDIPAPI GdipDrawArc(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL 幅, REAL height, REAL startAngle, REAL sweepAngle)
Status Graphics::D rawArc(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) 円弧を描画します。円弧は楕円の一部です。
GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Status Graphics::D rawArc(IN const Pen* pen, INT x, INT y, INT width, INT height, IN REAL startAngle, IN REAL sweepAngle) 円弧を描画します。円弧は楕円の一部です。
GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
Status Graphics::D rawBezier(IN const Pen* pen, IN REAL x1, IN REAL y1, IN REAL x2, IN REAL y2, IN REAL x3, IN REAL y3, IN REAL x4, IN REAL y4) ベジエ スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics *graphics, GpPen *pen, INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
Status Graphics::D rawBezier(IN const Pen* pen, IN INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4) ベジエ スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Status Graphics::D rawBeziers(IN const Pen* pen, IN const PointF* points, IN INT count) 接続されたベジエ スプラインのシーケンスを描画します。
GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Status Graphics::D rawBeziers(IN const Pen* pen, IN const Point* points, IN INT count) 接続されたベジエ スプラインのシーケンスを描画します。
GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height)
Status Graphics:DrawRectangle(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height) 四角形を描きます。
GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height)
Status Graphics::D rawRectangle(IN const Pen* pen, INT x, INT y, INT width, INT height) 四角形を描きます。
GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics *graphics, GpPen *pen, GDIPCONST GpRectF *rects, INT count)
Status Graphics::D rawRectangles(IN const Pen* pen, IN const RectF* rects, IN INT count) 四角形のシーケンスを描画します。
GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpRect *rects, INT count)
Status Graphics::D rawRectangles(IN const Pen* pen, IN const Rect* rects, IN INT count) 四角形のシーケンスを描画します。
GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height)
Status Graphics::D rawEllipse(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height) 楕円を描きます。
GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height)
Status Graphics::D rawEllipse(IN const Pen* pen, INT x, INT y, INT width, INT height) 楕円を描きます。
GpStatus WINGDIPAPI GdipDrawPie(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Status Graphics::D rawPie(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) 円を描画します。
GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Status Graphics::D rawPie(IN const Pen* pen, INT x, INT y, INT width, INT height, IN REAL startAngle, IN REAL sweepAngle) 円を描画します。
GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Status Graphics::D rawPolygon(IN const Pen* pen, IN const PointF* points, IN INT count) 多角形を描画します。
GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Status Graphics::D rawPolygon(IN const Pen* pen, IN const Point* points, IN INT count) 多角形を描画します。
GpStatus WINGDIPAPI GdipDrawPath(GpGraphics *graphics, GpPen *pen, GpPath *path)
Status Graphics::D rawPath(IN const Pen* pen, IN const GraphicsPath* path) GraphicsPath オブジェクトによって定義された一連の線と曲線を描画します。
GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Status Graphics::D rawCurve(IN const Pen* pen, IN const PointF* points, IN INT count) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Status Graphics::D rawCurve(IN const Pen* pen, IN const Point* points, IN INT count) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count, REAL tension)
Status Graphics::D rawCurve(IN const Pen* pen, IN const PointF* points, IN INT count, IN REAL tension) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count, REAL tension)
Status Graphics::D rawCurve(IN const Pen* pen, IN const Point* points, IN INT count, IN REAL tension) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawCurve3(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count, INT offset, INT numberOfSegments, REAL tension)
Status Graphics::D rawCurve(IN const Pen* pen, IN const Point* points, IN INT count, IN REAL tension) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawCurve3I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count, INT offset, INT numberOfSegments, REAL tension)
Status Graphics::D rawCurve(IN const Pen* pen, IN const Point* points, IN INT count, IN REAL tension) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Status Graphics::D rawClosedCurve(IN const Pen* pen, IN const PointF* points, IN INT count) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Status Graphics::D rawClosedCurve(IN const Pen* pen, IN const Point* points, IN INT count) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count, REAL tension)
Status Graphics::D rawClosedCurve(IN const Pen *pen, IN const PointF* points, IN INT count, IN REAL tension) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count, REAL tension)
Status Graphics::D rawClosedCurve(IN const Pen *pen, IN const Point* points, IN INT count, IN REAL tension) 閉じたカーディナル スプラインを描画します。
GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics *graphics, ARGB color)
Status Graphics::Clear(IN const Color color &) Graphics オブジェクトを指定した色にクリアします。
GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height)
Status Graphics::FillRectangle(IN const Brush* brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height) ブラシを使用して四角形の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height)
Status Graphics::FillRectangle(IN const Brush* brush, INT x, INT y, INT width, INT height) ブラシを使用して四角形の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpRectF *rects, INT count)
Status Graphics::FillRectangles(IN const Brush* brush, const RectF*rects,INT count) ブラシを使用して、一連の四角形の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpRect *rects, INT count)
Status Graphics::FillRectangles(IN const Brush* brush, IN const Rect *rects, IN INT count) ブラシを使用して、一連の四角形の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count, GpFillMode fillMode)
Status Graphics::FillPolygon(IN const Brush* brush, IN const PointF* points, IN INT count, IN FillMode fillMode) ブラシを使用して多角形の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count, GpFillMode fillMode)
Status Graphics::FillPolygon(IN const Brush* brush, IN const Point* points, IN INT count, IN FillMode fillMode) ブラシを使用して多角形の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count)
ラッパー メソッドによって呼び出されません。
この関数は、多角形をブラシで塗りつぶします。 points パラメーターは、多角形の頂点を指定します。 count パラメーターは、頂点の数を指定します。 brush パラメーターは、多角形の塗りつぶしに使用されるブラシ オブジェクトを指定します。 塗りつぶしモードは FillModeAlternate です
GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count)
ラッパー メソッドによって呼び出されません。
この関数は、多角形をブラシで塗りつぶします。 points パラメーターは、多角形の頂点を指定します。 count パラメーターは、頂点の数を指定します。 brush パラメーターは、多角形の塗りつぶしに使用されるブラシ オブジェクトを指定します。 塗りつぶしモードは FillModeAlternate です
GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height)
状態グラフィックス::FillEllipse(IN const Brush* brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height) ブラシを使用して、座標と寸法で指定された楕円の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height)
Status Graphics::FillEllipse(IN const Brush* brush, INT x, INT y, INT width, INT height) ブラシを使用して、座標と寸法で指定された楕円の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillPie(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Status Graphics::FillPie(IN const Brush* brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) ブラシを使用して円の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillPieI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
状態グラフィックス:: FillPie(IN const Brush* brush, INT x, INT y, INT width, INT height, IN REAL startAngle, IN REAL sweepAngle) ブラシを使用して円の内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillPath(GpGraphics *graphics, GpBrush *brush, GpPath *path)
Status Graphics::FillPath(IN const Brush* brush, IN const GraphicsPath* path) ブラシを使用してパスの内部を塗りつぶします。 パス内の図形が閉じられていない場合、このメソッドは、閉じていない図形を、図形の始点と終点を接続する直線で閉じているかのように扱います。
GpStatus WINGDIPAPI GdipFillClosedCurve(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count)
状態グラフィックス::FillClosedCurve(IN const Brush* brush, IN const PointF* points, IN INT count) ポイントの配列から閉じたカーディナル スプラインを作成し、ブラシを使用してスプラインの内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillClosedCurveI(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count)
状態グラフィックス::FillClosedCurve(IN const Brush* brush, IN const Point* points, IN INT count) ポイントの配列から閉じたカーディナル スプラインを作成し、ブラシを使用してスプラインの内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillClosedCurve2(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count, REAL tension, GpFillMode fillMode)
Status Graphics::FillClosedCurve(IN const Brush* brush, IN const PointF* points, IN INT count, IN FillMode fillMode, IN REAL tension = 0.5f) ポイントの配列から閉じたカーディナル スプラインを作成し、ブラシを使用して、指定したモードに従ってスプラインの内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillClosedCurve2I(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count, REAL tension, GpFillMode fillMode)
Status Graphics::FillClosedCurve(IN const Brush* brush, IN const Point* points, IN INT count, IN FillMode fillMode, IN REAL tension = 0.5f) ポイントの配列から閉じたカーディナル スプラインを作成し、ブラシを使用して、指定したモードに従ってスプラインの内部を塗りつぶします。
GpStatus WINGDIPAPI GdipFillRegion(GpGraphics *graphics, GpBrush *brush, GpRegion *region)
Status Graphics::FillRegion(IN const Brush* brush, IN const Region* region) ブラシを使用して、指定した領域を塗りつぶします。
GpStatus WINGDIPAPI GdipDrawImage(GpGraphics *graphics, GpImage *image, REAL x, REAL y)
Status Graphics::D rawImage(IN Image* image, IN REAL x, IN REAL y) 指定した場所にイメージを描画します。
GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics *graphics, GpImage *image, INT x, INT y)
Status Graphics::D rawImage(IN Image* image, IN INT x, INT y) 指定した場所にイメージを描画します。
GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics *graphics, GpImage *image, REAL x, REAL y, REAL width, REAL height)
Status Graphics::D rawImage(IN Image* image, IN REAL x, IN REAL y, IN REAL width, IN REAL height) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics *graphics, GpImage *image, INT x, INT y, INT width, INT height)
Status Graphics::D rawImage(IN Image* image, IN INT x, INT y, INT width, INT height) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImagePoints(GpGraphics *graphics, GpImage *image, GDIPCONST GpPointF *dstpoints, INT count)
Status Graphics::D rawImage(IN Image* image, IN const PointF* destPoints, IN INT count) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImagePointsI(GpGraphics *graphics, GpImage *image, GDIPCONST GpPoint *dstpoints, INT count)
Status Graphics::D rawImage(IN Image* image, IN const Point* destPoints, IN INT count) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics *graphics, GpImage *image, REAL x, REAL y, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, GpUnit srcUnit)
Status Graphics::D rawImage(IN Image* image, IN REAL x, IN REAL y, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics *graphics, GpImage *image, INT x, INT y, INT srcx, INT srcy, INT srcwidth, INT srcheight, GpUnit srcUnit)
Status Graphics::D rawImage(IN Image* image, IN INT x, INT y, INT srcx, INT srcy, INT srcwidth, INT srcheight, IN Unit srcUnit) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics *graphics, GpImage *image, REAL dstx, REAL dsty, REAL dstwidth, REAL dstheight, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes* imageAttributes, DrawImageAbort コールバック, VOID * callbackData)
Status Graphics::D rawImage(IN Image* image, IN const RectF& destRect, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort コールバック = NULL, IN VOID* callbackData = NULL) 画像が描画されます。
フラット関数では、dstxdsty、dstwidthdstheight の各パラメーターで、ラッパー メソッドの dstRect パラメーターに対応する四角形を指定します。
GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics *graphics, GpImage *image, INT dstx, INT dsty, INT dstwidth, INT dstheight, INT srcx, INT srcy, INT srcwidth, INT srchedth, GpUnit srcUnit, GDIPCONST GpImageAttributes* imageAttributes, DrawImageAbort コールバック, VOID callbackData)
Status Graphics::D rawImage(IN Image* image, IN const Rect& destRect, IN INT srcx, IN INT srcy, INT srcwidth, INT srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) 画像が描画されます。
フラット関数では、dstxdsty、dstwidthdstheight の各パラメーターで、ラッパー メソッドの dstRect パラメーターに対応する四角形を指定します。
GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image, GDIPCONST GpPointF *points, INT count, REAL srcx, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes* imageAttributes, DrawImageAbort callback, VOID * callbackData)
Status Graphics::D rawImage(IN Image* image, IN const PointF* destPoints, IN INT count, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics *graphics, GpImage *image, GDIPCONST GpPoint *points, INT count, INT srcx, INT srcx, INT srcy, INT srcwidth, INT srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes* imageAttributes, DrawImageAbort コールバック, VOID * callbackData)
Status Graphics::D rawImage(IN Image* image, IN const Point* destPoints, IN INT count, IN INT srcx, INT srcy, INT srcwidth, INT srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) 画像が描画されます。
GpStatus WINGDIPAPI GdipDrawImageFX(GpGraphics *graphics, GpImage *image, GpRectF *source, GpMatrix *xForm, CGpEffect *effect, GpImageAttributes *imageAttributes, GpUnit srcUnit)
Status Graphics::D rawImage(IN Image *image, IN RectF *sourceRect, IN Matrix *xForm, IN Effect *effect, IN ImageAttributes *imageAttributes, IN Unit srcUnit) 指定した効果を適用した後、イメージの一部を描画します。
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoint( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF & destPoint, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const PointF & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point & destPoint, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRect( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST RectF & destRect, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRectI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Rect & destRect, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoints( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF * destPoints, INT count, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
ラッパー メソッドによって呼び出されません。
実装されていません。
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointsI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point * destPoints, INT count, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN INT count, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoint( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF & destPoint, GDIPCONST RectF & srcRect, Unit srcUnit, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
ラッパー メソッドによって呼び出されません。
実装されていません。
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPointI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point & destPoint, GDIPCONST Rect & srcRect, Unit srcUnit, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestRect( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST RectF & destRect, GDIPCONST RectF & srcRect, Unit srcUnit, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestRectI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Rect & destRect, GDIPCONST Rect & srcRect, Unit srcUnit, EnumerateMetafileProc コールバック, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoints( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF * destPoints, INT count, GDIPCONST RectF & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const PointF * destPoints, IN INT count, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPointsI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point * destPoints, INT count, GDIPCONST Rect & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN INT count, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) 指定したメタファイル内の各レコードに対して、アプリケーション定義のコールバック関数を呼び出します。 このメソッドを使用すると、コールバック関数で PlayRecord を呼び出すことによってメタファイルを表示できます。
GpStatus WINGDIPAPI GdipPlayMetafileRecord( GDIPCONST GpMetafile * metafile, EmfPlusRecordType recordType, UINT フラグ, UINT dataSize, GDIPCONST BYTE * data )
Status Metafile::P layRecord( IN EmfPlusRecordType recordType, IN UINT flags, IN UINT dataSize, IN const BYTE * data ) const メタファイル レコードを再生します。
GpStatus WINGDIPAPI GdipSetClipGraphics(GpGraphics *graphics, GpGraphics *srcgraphics, CombineMode combineMode)
Status Graphics::SetClip(IN const Graphics* g, IN CombineMode combineMode = CombineModeReplace) この Graphics オブジェクトのクリッピング領域を、それ自体と別の Graphics オブジェクトのクリッピング領域の組み合わせである領域に更新します。
ラッパー メソッドの g パラメーターは、フラット関数の srcgraphics パラメーターに対応します。
GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics *graphics, REAL x, REAL y, REAL width, REAL height, CombineMode combineMode)
Status Graphics::SetClip(IN const RectF& rect, IN CombineMode combineMode = CombineModeReplace) この Graphics オブジェクトのクリッピング領域を、それ自体と四角形の組み合わせである領域に更新します。
フラット関数の xywidthheight パラメーターは、ラッパー メソッドの rect パラメーターに対応する四角形を指定します。
GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics *graphics, INT x, INT y, INT width, INT height, CombineMode combineMode)
Status Graphics::SetClip(IN const Rect rect& , IN CombineMode combineMode = CombineModeReplace) この Graphics オブジェクトのクリッピング領域を、それ自体と四角形の組み合わせである領域に更新します。
フラット関数の xywidthheight パラメーターは、ラッパー メソッドの rect パラメーターに対応する四角形を指定します。
GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics *graphics, GpPath *path, CombineMode combineMode)
Status Graphics::SetClip(IN const GraphicsPath* path, IN CombineMode combineMode = CombineModeReplace) この Graphics オブジェクトのクリッピング領域を、それ自体とグラフィックス パスで指定された領域の組み合わせである領域に更新します。 パス内の図形が閉じられていない場合、このメソッドは、閉じていない図形を、図形の始点と終点を接続する直線で閉じているかのように扱います。
GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics *graphics, GpRegion *region, CombineMode combineMode)
Status Graphics::SetClip(IN const Region* region, IN CombineMode combineMode = CombineModeReplace) この Graphics オブジェクトのクリッピング領域を、それ自体と Region オブジェクトで指定された領域の組み合わせである領域に更新します。
GpStatus WINGDIPAPI GdipSetClipHrgn(GpGraphics *graphics, HRGN hRgn, CombineMode combineMode)
Status Graphics::SetClip(IN HRGN hRgn, IN CombineMode combineMode = CombineModeReplace) この Graphics オブジェクトのクリッピング領域を、それ自体と Windows グラフィックス デバイス インターフェイス (GDI) 領域の組み合わせである領域に更新します
GpStatus WINGDIPAPI GdipResetClip(GpGraphics *graphics)
Status Graphics::ResetClip() この Graphics オブジェクトのクリッピング領域を無限領域に設定します。
GpStatus WINGDIPAPI GdipTranslateClip(GpGraphics *graphics, REAL dx, REAL dy)
状態グラフィックス::TranslateClip(IN REAL dx, IN REAL dy) この Graphics オブジェクトのクリッピング領域を変換します。
GpStatus WINGDIPAPI GdipTranslateClipI(GpGraphics *graphics, INT dx, INT dy)
Status Graphics::TranslateClip(IN INT dx, INT dy) この Graphics オブジェクトのクリッピング領域を変換します。
GpStatus WINGDIPAPI GdipGetClip(GpGraphics *graphics, GpRegion *region)
Status Graphics::GetClip(OUT Region* region) const この Graphics オブジェクトのクリッピング領域 取得します。
GpStatus WINGDIPAPI GdipGetClipBounds(GpGraphics *graphics, GpRectF *rect)
Status Graphics::GetClipBounds(OUT RectF* rect) const この Graphics オブジェクトのクリッピング領域を囲む四角形 取得します。
GpStatus WINGDIPAPI GdipGetClipBoundsI(GpGraphics *graphics, GpRect *rect)
Status Graphics::GetClipBounds(OUT Rect* rect) const この Graphics オブジェクトのクリッピング領域を囲む四角形 取得します。
GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics *graphics, BOOL *result)
BOOL Graphics::IsClipEmpty() const この Graphics オブジェクトのクリッピング領域が空かどうかを判断します。
GpStatus WINGDIPAPI GdipGetVisibleClipBounds(GpGraphics *graphics, GpRectF *rect)
Status Graphics::GetVisibleClipBounds(OUT RectF *rect) const この Graphics オブジェクトの表示領域を囲む四角形 取得します。 表示されるクリッピング領域は、この Graphics オブジェクトのクリッピング領域とウィンドウのクリッピング領域の交差部分です。
GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI(GpGraphics *graphics, GpRect *rect)
Status Graphics::GetVisibleClipBounds(OUT Rect *rect) const この Graphics オブジェクトの表示領域を囲む四角形 取得します。 表示されるクリッピング領域は、この Graphics オブジェクトのクリッピング領域とウィンドウのクリッピング領域の交差部分です。
GpStatus WINGDIPAPI GdipIsVisibleClipEmpty(GpGraphics *graphics, BOOL *result)
BOOL Graphics::IsVisibleClipEmpty() const この Graphics オブジェクトの表示領域が空かどうかを指定します。 表示されるクリッピング領域は、この Graphics オブジェクトのクリッピング領域とウィンドウのクリッピング領域の交差部分です。
GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics *graphics, REAL x, REAL y, BOOL *result)
BOOL Graphics::IsVisible(IN const PointF& point) const 指定したポイントがこの Graphics オブジェクトの可視クリッピング領域内にあるかどうかを判断します。 表示されるクリッピング領域は、この Graphics オブジェクトのクリッピング領域とウィンドウのクリッピング領域の交差部分です。
フラット関数の x パラメーターと y パラメーターは、ラッパー メソッドの point パラメーターに対応する の x 座標と y 座標を表します。
GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics *graphics, INT x, INT y, BOOL *result)
BOOL Graphics::IsVisible(IN const Point& ) const 指定したポイントがこの Graphics オブジェクトの可視クリッピング領域内にあるかどうかを判断します。 表示されるクリッピング領域は、この Graphics オブジェクトのクリッピング領域とウィンドウのクリッピング領域の交差部分です。
フラット関数の x パラメーターと y パラメーターは、ラッパー メソッドの point パラメーターに対応する の x 座標と y 座標を表します。
GpStatus WINGDIPAPI GdipIsVisibleRect(GpGraphics *graphics, REAL x, REAL y, REAL width, REAL height, BOOL *result)
BOOL Graphics::IsVisible(IN const RectF& rect) const 指定した四角形がこの Graphics オブジェクトの表示領域と交差するかどうかを決定します。 表示されるクリッピング領域は、この Graphics オブジェクトのクリッピング領域とウィンドウのクリッピング領域の交差部分です。
フラット関数の xywidthheight パラメーターは、ラッパー メソッドの rect パラメーターに対応する四角形を指定します。
GpStatus WINGDIPAPI GdipIsVisibleRectI(GpGraphics *graphics, INT x, INT y, INT width, INT height, BOOL *result)
BOOL Graphics::IsVisible(IN const Rect rect& ) const 指定した四角形がこの Graphics オブジェクトの表示領域と交差するかどうかを決定します。 表示されるクリッピング領域は、この Graphics オブジェクトのクリッピング領域とウィンドウのクリッピング領域の交差部分です。
フラット関数の xywidthheight パラメーターは、ラッパー メソッドの rect パラメーターに対応する四角形を指定します。
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
GraphicsState Graphics::Save() const この Graphics オブジェクトの現在の状態 (変換、クリッピング領域、品質設定) 保存します。 後で Graphics::Restore メソッドを呼び出して状態を復元できます。
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState state)
状態グラフィックス::Restore(IN GraphicsState gstate) この Graphics オブジェクトの状態を、この Graphics オブジェクトの Graphics::Save メソッドの前回の呼び出しによって格納された状態に設定します。
GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics *graphics, GDIPCONST GpRectF* dstrect, GDIPCONST GpRectF *srcrect, GpUnit ユニット, GraphicsContainer *state)
Graphics::GraphicsContainer BeginContainer(IN const RectF &dstrect, IN const RectF &srcrect, IN Unit unit) 新しいグラフィックス コンテナーを開始します。
GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics *graphics, GDIPCONST GpRect* dstrect, GDIPCONST GpRect *srcrect, GpUnit ユニット, GraphicsContainer *state)
Graphics::GraphicsContainer BeginContainer(IN const Rect &dstrect, IN const Rect &srcrect, IN Unit unit) 新しいグラフィックス コンテナーを開始します。
GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics *graphics, GraphicsContainer* state)
Graphics::GraphicsContainer BeginContainer() 新しいグラフィックス コンテナーを開始します。
GpStatus WINGDIPAPI GdipEndContainer(GpGraphics *graphics, GraphicsContainer state)
Status Graphics::EndContainer(IN GraphicsContainer state) Graphics::BeginContainer メソッドによって以前に開かれたグラフィックス コンテナーを閉じます。
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf( HMETAFILE,constWmfPlaceableFileHeader*,MetafileHeader* * header )
static Status Metafile::GetMetafileHeader( HMETAFILE hWmf, const WmfPlaceableFileHeader* header ) ヘッダーを取得します。
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf( HENHMETAFILE hEmf, MetafileHeader * header )
static Status Metafile::GetMetafileHeader( IN HENHMETAFILE hEmf, OUT MetafileHeader * header ) ヘッダーを取得します。
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile( GDIPCONST WCHAR* filename, MetafileHeader * header )
static Status Metafile::GetMetafileHeader( IN const WCHAR* filename, OUT MetafileHeader * header ) ヘッダーを取得します。
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream( IStream * stream, MetafileHeader * header )
static Status Metafile::GetMetafileHeader( IN IStream * stream, OUT MetafileHeader * header ) ヘッダーを取得します。
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile( GpMetafile * metafile, MetafileHeader * header )
Status Metafile::GetMetafileHeader( OUT MetafileHeader * header ) const ヘッダーを取得します。
GpStatus WINGDIPAPI GdipGetHemfFromMetafile( GpMetafile * metafile, HENHMETAFILE * hEmf )
HENHMETAFILE メタファイル::GetHENHMETAFILE() 拡張メタファイル (EMF) ファイルへの Windows ハンドルを取得します。
GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR * filename, UINT access, IStream **stream)
ラッパー メソッドによって呼び出されません。
ファイルに基づいて IStream インターフェイスへのポインターを返します。 filename パラメーターは、ファイルを指定します。 アクセス パラメーターは、GENERIC_READまたはGENERIC_WRITEを含める必要があるフラグのセットです。 ストリーム パラメーターは、IStream インターフェイスへのポインターを受け取ります。
GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hWmf, BOOL deleteWmf, GDIPCONST WmfPlaceableFileHeader * wmfPlaceableFileHeader, GpMetafile **metafile)
Metafile::Metafile(IN HMETAFILE hWmf, IN const WmfPlaceableFileHeader * wmfPlaceableFileHeader, IN BOOL deleteWmf = FALSE) 記録用の Windows GDI+ メタファイル::メタファイル オブジェクトを作成します。 形式は、配置可能なメタファイルになります。
GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE hEmf, BOOL deleteEmf, GpMetafile **metafile)
Metafile::Metafile(IN HENHMETAFILE hEmf, IN BOOL deleteEmf = FALSE) Windows グラフィックス デバイス インターフェイス (GDI) 拡張メタファイル (EMF) ファイルに基づいて、再生用の Windows GDI+ メタファイル ::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipCreateMetafileFromFile(GDIPCONST WCHAR* ファイル, GpMetafile **metafile)
Metafile::Metafile(IN const WCHAR* filename) 再生用の Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR* ファイル, GDIPCONST WmfPlaceableFileHeader * wmfPlaceableFileHeader, GpMetafile **metafile)
ラッパー メソッドによって呼び出されません。
実装されていません。
GpStatus WINGDIPAPI GdipCreateMetafileFromStream(IStream * stream, GpMetafile **metafile)
Metafile::Metafile(IN IStream* stream) 再生用の IStream インターフェイスから Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipRecordMetafile( HDC referenceHdc, EmfType type, GDIPCONST GpRectF * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile ** metafile )
Metafile::Metafile( IN HDC referenceHdc, IN const RectF & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) 記録用の Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipRecordMetafileI( HDC referenceHdc, EmfType type, GDIPCONST GpRect * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile ** metafile )
Metafile::Metafile( IN HDC referenceHdc, IN const Rect & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) 記録用の Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipRecordMetafileFileName( GDIPCONST WCHAR* fileName, HDC referenceHdc, EmfType type, GDIPCONST GpRectF * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile ** metafile )
Metafile::Metafile( IN const WCHAR* fileName, IN HDC referenceHdc, IN const RectF & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) 記録用の Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipRecordMetafileFileNameI( GDIPCONST WCHAR* fileName, HDC referenceHdc, EmfType type, GDIPCONST GpRect * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile ** metafile )
Metafile::Metafile( IN const WCHAR* fileName, IN HDC referenceHdc, IN const Rect & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) 記録用の Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipRecordMetafileStream( IStream * stream, HDC referenceHdc, EmfType type, GDIPCONST GpRectF * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile ** metafile )
Metafile::Metafile( IN IStream * stream, IN HDC referenceHdc, IN const RectF & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) IStream インターフェイスに記録するための Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipRecordMetafileStreamI( IStream * stream, HDC referenceHdc, EmfType type, GDIPCONST GpRect * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile ** metafile )
Metafile::Metafile( IN IStream * stream, IN HDC referenceHdc, IN const Rect & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) IStream インターフェイスに記録するための Metafile::Metafile オブジェクトを作成します。
GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit( GpMetafile * metafile, UINT metafileRasterizationLimitDpi )
Status Metafile::SetDownLevelRasterizationLimit(IN UINT metafileRasterizationLimitDpi) このメタファイルに格納されている特定のブラシ ビットマップの解像度を設定します。
GpStatus WINGDIPAPI GdipGetMetafileDownLevelRasterizationLimit( GDIPCONST GpMetafile * metafile, UINT * metafileRasterizationLimitDpi )
UINT メタファイル::GetDownLevelRasterizationLimit() const このメタファイルに現在設定されているラスタライズ制限を取得します。 ラスター化の制限は、メタファイルに格納されている特定のブラシ ビットマップに使用される解像度です。 ラスター化の制限の詳細については、「 Metafile::SetDownLevelRasterizationLimit」を参照してください。
GpStatus WINGDIPAPI GdipGetImageDecodersSize(UINT *numDecoders, UINT *size)
Status GetImageDecodersSize( OUT UINT *numDecoders, OUT UINT *size) GetImageDecoders 関数によって返される ImageCodecInfo オブジェクトの配列の使用可能なイメージ デコーダーの数と合計サイズを取得します。
GpStatus WINGDIPAPI GdipGetImageDecoders(UINT numDecoders, UINT size, ImageCodecInfo *デコーダー)
Status GetImageDecoders( IN UINT numDecoders, IN UINT size, OUT ImageCodecInfo *decoders) 使用可能なイメージ デコーダーに関する情報を含む ImageCodecInfo オブジェクトの配列を取得します。
GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size)
Status GetImageEncodersSize( OUT UINT *numEncoders, OUT UINT *size) GetImageEncoders 関数によって返される ImageCodecInfo オブジェクトの配列の使用可能なイメージ エンコーダーの数と合計サイズを取得します。
GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders)
Status GetImageEncoders( IN UINT numEncoders, IN UINT size, OUT ImageCodecInfo *encoders) 使用可能なイメージ エンコーダーに関する情報を含む ImageCodecInfo オブジェクトの配列を取得します。
GpStatus WINGDIPAPI GdipComment(GpGraphics* graphics, UINT sizeData, GDIPCONST BYTE * data)
Status Graphics::AddMetafileComment(IN const BYTE * data, IN UINT sizeData) 既存のメタファイルにテキスト コメントを追加します。