ホーム › Graphics.Direct2D › ID2D1RenderTarget
ID2D1RenderTarget
COMメソッド 53
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 4 | HRESULT CreateBitmap(D2D_SIZE_U size, void* srcData, DWORD pitch, D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap) |
| 5 | HRESULT CreateBitmapFromWicBitmap(IWICBitmapSource* wicBitmapSource, D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap) |
| 6 | HRESULT CreateSharedBitmap(GUID* riid, void* data, D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap) |
| 7 | HRESULT CreateBitmapBrush(ID2D1Bitmap* bitmap, D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties, D2D1_BRUSH_PROPERTIES* brushProperties, ID2D1BitmapBrush** bitmapBrush) |
| 8 | HRESULT CreateSolidColorBrush(D2D1_COLOR_F* color, D2D1_BRUSH_PROPERTIES* brushProperties, ID2D1SolidColorBrush** solidColorBrush) |
| 9 | HRESULT CreateGradientStopCollection(D2D1_GRADIENT_STOP* gradientStops, DWORD gradientStopsCount, D2D1_GAMMA colorInterpolationGamma, D2D1_EXTEND_MODE extendMode, ID2D1GradientStopCollection** gradientStopCollection) |
| 10 | HRESULT CreateLinearGradientBrush(D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES* linearGradientBrushProperties, D2D1_BRUSH_PROPERTIES* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush) |
| 11 | HRESULT CreateRadialGradientBrush(D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES* radialGradientBrushProperties, D2D1_BRUSH_PROPERTIES* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush) |
| 12 | HRESULT CreateCompatibleRenderTarget(D2D_SIZE_F* desiredSize, D2D_SIZE_U* desiredPixelSize, D2D1_PIXEL_FORMAT* desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, ID2D1BitmapRenderTarget** bitmapRenderTarget) |
| 13 | HRESULT CreateLayer(D2D_SIZE_F* size, ID2D1Layer** layer) |
| 14 | HRESULT CreateMesh(ID2D1Mesh** mesh) |
| 15 | void DrawLine(D2D_POINT_2F point0, D2D_POINT_2F point1, ID2D1Brush* brush, FLOAT strokeWidth, ID2D1StrokeStyle* strokeStyle) |
| 16 | void DrawRectangle(D2D_RECT_F* rect, ID2D1Brush* brush, FLOAT strokeWidth, ID2D1StrokeStyle* strokeStyle) |
| 17 | void FillRectangle(D2D_RECT_F* rect, ID2D1Brush* brush) |
| 18 | void DrawRoundedRectangle(D2D1_ROUNDED_RECT* roundedRect, ID2D1Brush* brush, FLOAT strokeWidth, ID2D1StrokeStyle* strokeStyle) |
| 19 | void FillRoundedRectangle(D2D1_ROUNDED_RECT* roundedRect, ID2D1Brush* brush) |
| 20 | void DrawEllipse(D2D1_ELLIPSE* ellipse, ID2D1Brush* brush, FLOAT strokeWidth, ID2D1StrokeStyle* strokeStyle) |
| 21 | void FillEllipse(D2D1_ELLIPSE* ellipse, ID2D1Brush* brush) |
| 22 | void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, FLOAT strokeWidth, ID2D1StrokeStyle* strokeStyle) |
| 23 | void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush) |
| 24 | void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush) |
| 25 | void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, D2D1_OPACITY_MASK_CONTENT content, D2D_RECT_F* destinationRectangle, D2D_RECT_F* sourceRectangle) |
| 26 | void DrawBitmap(ID2D1Bitmap* bitmap, D2D_RECT_F* destinationRectangle, FLOAT opacity, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode, D2D_RECT_F* sourceRectangle) |
| 27 | void DrawText(LPWSTR string, DWORD stringLength, IDWriteTextFormat* textFormat, D2D_RECT_F* layoutRect, ID2D1Brush* defaultFillBrush, D2D1_DRAW_TEXT_OPTIONS options, DWRITE_MEASURING_MODE measuringMode) |
| 28 | void DrawTextLayout(D2D_POINT_2F origin, IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, D2D1_DRAW_TEXT_OPTIONS options) |
| 29 | void DrawGlyphRun(D2D_POINT_2F baselineOrigin, DWRITE_GLYPH_RUN* glyphRun, ID2D1Brush* foregroundBrush, DWRITE_MEASURING_MODE measuringMode) |
| 30 | void SetTransform(D2D_MATRIX_3X2_F* transform) |
| 31 | void GetTransform(D2D_MATRIX_3X2_F* transform) |
| 32 | void SetAntialiasMode(D2D1_ANTIALIAS_MODE antialiasMode) |
| 33 | D2D1_ANTIALIAS_MODE GetAntialiasMode() |
| 34 | void SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) |
| 35 | D2D1_TEXT_ANTIALIAS_MODE GetTextAntialiasMode() |
| 36 | void SetTextRenderingParams(IDWriteRenderingParams* textRenderingParams) |
| 37 | void GetTextRenderingParams(IDWriteRenderingParams** textRenderingParams) |
| 38 | void SetTags(ULONGLONG tag1, ULONGLONG tag2) |
| 39 | void GetTags(ULONGLONG* tag1, ULONGLONG* tag2) |
| 40 | void PushLayer(D2D1_LAYER_PARAMETERS* layerParameters, ID2D1Layer* layer) |
| 41 | void PopLayer() |
| 42 | HRESULT Flush(ULONGLONG* tag1, ULONGLONG* tag2) |
| 43 | void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock) |
| 44 | void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock) |
| 45 | void PushAxisAlignedClip(D2D_RECT_F* clipRect, D2D1_ANTIALIAS_MODE antialiasMode) |
| 46 | void PopAxisAlignedClip() |
| 47 | void Clear(D2D1_COLOR_F* clearColor) |
| 48 | void BeginDraw() |
| 49 | HRESULT EndDraw(ULONGLONG* tag1, ULONGLONG* tag2) |
| 50 | D2D1_PIXEL_FORMAT GetPixelFormat() |
| 51 | void SetDpi(FLOAT dpiX, FLOAT dpiY) |
| 52 | void GetDpi(FLOAT* dpiX, FLOAT* dpiY) |
| 53 | D2D_SIZE_F GetSize() |
| 54 | D2D_SIZE_U GetPixelSize() |
| 55 | DWORD GetMaximumBitmapSize() |
| 56 | BOOL IsSupported(D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties) |