On Wed, 30 Mar 2022 at 05:58, Ziqing Hui zhui@codeweavers.com wrote:
+[
- object,
- uuid(394ea6a3-0c34-4321-950b-6ca20f0be6c7),
- local,
+] +interface ID2D1DeviceContext2 : ID2D1DeviceContext1 +{
- HRESULT CreateInk(
[in] const D2D1_INK_POINT *start_point,
[out] ID2D1Ink **ink
- );
- HRESULT CreateInkStyle(
[in, optional] const D2D1_INK_STYLE_PROPERTIES *ink_style_properties,
[out] ID2D1InkStyle **ink_style
- );
- HRESULT CreateGradientMesh(
[in] const D2D1_GRADIENT_MESH_PATCH *patches,
[in] UINT32 patches_count,
[out] ID2D1GradientMesh **gradient_mesh
- );
- HRESULT CreateImageSourceFromWic(
[in] IWICBitmapSource *wic_bitmap_source,
[in] D2D1_IMAGE_SOURCE_LOADING_OPTIONS loading_options,
[in] D2D1_ALPHA_MODE alpha_mode,
[out] ID2D1ImageSourceFromWic **image_source
- );
- HRESULT CreateLookupTable3D(
[in] D2D1_BUFFER_PRECISION precision,
[in] const UINT32 *extents,
[in] const BYTE *data,
[in] UINT32 data_count,
[in] const UINT32 *strides,
[out] ID2D1LookupTable3D **lookup_table
- );
- HRESULT CreateImageSourceFromDxgi(
[in] IDXGISurface **surfaces,
[in] UINT32 surface_count,
[in] DXGI_COLOR_SPACE_TYPE color_space,
[in] D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS options,
[out] ID2D1ImageSource **image_source
- );
- HRESULT GetGradientMeshWorldBounds(
[in] ID2D1GradientMesh *gradient_mesh,
[out] D2D1_RECT_F *bounds
- );
- void DrawInk(
[in] ID2D1Ink *ink,
[in] ID2D1Brush *brush,
[in, optional] ID2D1InkStyle *ink_style
- );
- void DrawGradientMesh(
[in] ID2D1GradientMesh *gradient_mesh
- );
- void DrawGdiMetafile(
[in] ID2D1GdiMetafile *gdi_metafile,
[in, optional] const D2D1_RECT_F *dst_rect,
[in, optional] const D2D1_RECT_F *src_rect
- );
+}
I think this is missing CreateTransformedImageSource().