ホーム › Graphics.Direct2D › ID2D1DeviceContext
ID2D1DeviceContext
COMメソッド 35
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 57 | HRESULT CreateBitmap(D2D_SIZE_U size, void* sourceData, DWORD pitch, D2D1_BITMAP_PROPERTIES1* bitmapProperties, ID2D1Bitmap1** bitmap) |
| 58 | HRESULT CreateBitmapFromWicBitmap(IWICBitmapSource* wicBitmapSource, D2D1_BITMAP_PROPERTIES1* bitmapProperties, ID2D1Bitmap1** bitmap) |
| 59 | HRESULT CreateColorContext(D2D1_COLOR_SPACE space, BYTE* profile, DWORD profileSize, ID2D1ColorContext** colorContext) |
| 60 | HRESULT CreateColorContextFromFilename(LPWSTR filename, ID2D1ColorContext** colorContext) |
| 61 | HRESULT CreateColorContextFromWicColorContext(IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext) |
| 62 | HRESULT CreateBitmapFromDxgiSurface(IDXGISurface* surface, D2D1_BITMAP_PROPERTIES1* bitmapProperties, ID2D1Bitmap1** bitmap) |
| 63 | HRESULT CreateEffect(GUID* effectId, ID2D1Effect** effect) |
| 64 | HRESULT CreateGradientStopCollection(D2D1_GRADIENT_STOP* straightAlphaGradientStops, DWORD straightAlphaGradientStopsCount, D2D1_COLOR_SPACE preInterpolationSpace, D2D1_COLOR_SPACE postInterpolationSpace, D2D1_BUFFER_PRECISION bufferPrecision, D2D1_EXTEND_MODE extendMode, D2D1_COLOR_INTERPOLATION_MODE colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1) |
| 65 | HRESULT CreateImageBrush(ID2D1Image* image, D2D1_IMAGE_BRUSH_PROPERTIES* imageBrushProperties, D2D1_BRUSH_PROPERTIES* brushProperties, ID2D1ImageBrush** imageBrush) |
| 66 | HRESULT CreateBitmapBrush(ID2D1Bitmap* bitmap, D2D1_BITMAP_BRUSH_PROPERTIES1* bitmapBrushProperties, D2D1_BRUSH_PROPERTIES* brushProperties, ID2D1BitmapBrush1** bitmapBrush) |
| 67 | HRESULT CreateCommandList(ID2D1CommandList** commandList) |
| 68 | BOOL IsDxgiFormatSupported(DXGI_FORMAT format) |
| 69 | BOOL IsBufferPrecisionSupported(D2D1_BUFFER_PRECISION bufferPrecision) |
| 70 | HRESULT GetImageLocalBounds(ID2D1Image* image, D2D_RECT_F* localBounds) |
| 71 | HRESULT GetImageWorldBounds(ID2D1Image* image, D2D_RECT_F* worldBounds) |
| 72 | HRESULT GetGlyphRunWorldBounds(D2D_POINT_2F baselineOrigin, DWRITE_GLYPH_RUN* glyphRun, DWRITE_MEASURING_MODE measuringMode, D2D_RECT_F* bounds) |
| 73 | void GetDevice(ID2D1Device** device) |
| 74 | void SetTarget(ID2D1Image* image) |
| 75 | void GetTarget(ID2D1Image** image) |
| 76 | void SetRenderingControls(D2D1_RENDERING_CONTROLS* renderingControls) |
| 77 | void GetRenderingControls(D2D1_RENDERING_CONTROLS* renderingControls) |
| 78 | void SetPrimitiveBlend(D2D1_PRIMITIVE_BLEND primitiveBlend) |
| 79 | D2D1_PRIMITIVE_BLEND GetPrimitiveBlend() |
| 80 | void SetUnitMode(D2D1_UNIT_MODE unitMode) |
| 81 | D2D1_UNIT_MODE GetUnitMode() |
| 82 | void DrawGlyphRun(D2D_POINT_2F baselineOrigin, DWRITE_GLYPH_RUN* glyphRun, DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription, ID2D1Brush* foregroundBrush, DWRITE_MEASURING_MODE measuringMode) |
| 83 | void DrawImage(ID2D1Image* image, D2D_POINT_2F* targetOffset, D2D_RECT_F* imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode) |
| 84 | void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, D2D_POINT_2F* targetOffset) |
| 85 | void DrawBitmap(ID2D1Bitmap* bitmap, D2D_RECT_F* destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode, D2D_RECT_F* sourceRectangle, D2D_MATRIX_4X4_F* perspectiveTransform) |
| 86 | void PushLayer(D2D1_LAYER_PARAMETERS1* layerParameters, ID2D1Layer* layer) |
| 87 | HRESULT InvalidateEffectInputRectangle(ID2D1Effect* effect, DWORD input, D2D_RECT_F* inputRectangle) |
| 88 | HRESULT GetEffectInvalidRectangleCount(ID2D1Effect* effect, DWORD* rectangleCount) |
| 89 | HRESULT GetEffectInvalidRectangles(ID2D1Effect* effect, D2D_RECT_F* rectangles, DWORD rectanglesCount) |
| 90 | HRESULT GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, D2D_RECT_F* renderImageRectangle, D2D1_EFFECT_INPUT_DESCRIPTION* inputDescriptions, D2D_RECT_F* requiredInputRects, DWORD inputCount) |
| 91 | void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, D2D_RECT_F* destinationRectangle, D2D_RECT_F* sourceRectangle) |