source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/xpsrassvc.idl

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.2 KB
Line 
1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6import "objidl.idl";
7import "wincodec.idl";
8import "xpsobjectmodel.idl";
9
10interface IXpsRasterizerNotificationCallback;
11interface IXpsRasterizer;
12interface IXpsRasterizationFactory;
13interface IXpsRasterizationFactory1;
14
15cpp_quote("#include <winapifamily.h>")
16cpp_quote("")
17cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
18
19typedef enum {
20 XPSRAS_RENDERING_MODE_ANTIALIASED = 0,
21 XPSRAS_RENDERING_MODE_ALIASED = 1
22} XPSRAS_RENDERING_MODE;
23
24cpp_quote("#if NTDDI_VERSION >= 0x06020000")
25 typedef enum {
26 XPSRAS_PIXEL_FORMAT_32BPP_PBGRA_UINT_SRGB = 1,
27 XPSRAS_PIXEL_FORMAT_64BPP_PRGBA_HALF_SCRGB = 2,
28 XPSRAS_PIXEL_FORMAT_128BPP_PRGBA_FLOAT_SCRGB = 3
29 } XPSRAS_PIXEL_FORMAT;
30cpp_quote("#endif")
31
32[object, local, uuid (9ab8fd0d-cb94-49c2-9cb0-97ec1d5469D2), pointer_default (unique)]
33interface IXpsRasterizerNotificationCallback : IUnknown {
34 [local] HRESULT Continue ();
35}
36
37[object, local, uuid (7567cfc8-c156-47a8-9dac-11a2ae5bdd6b), pointer_default (unique)]
38interface IXpsRasterizer : IUnknown {
39 [local] HRESULT RasterizeRect ([in] INT x,[in] INT y,[in] INT width,[in] INT height, [in] IXpsRasterizerNotificationCallback *notificationCallback, [out, retval] IWICBitmap **bitmap);
40 [local] HRESULT SetMinimalLineWidth ([in] INT width);
41}
42
43[object, local, uuid (e094808a-24c6-482b-a3a7-c21ac9B55f17), pointer_default (unique)]
44interface IXpsRasterizationFactory : IUnknown {
45 [local] HRESULT CreateRasterizer ([in,optional] IXpsOMPage *xpsPage, [in] FLOAT DPI, [in] XPSRAS_RENDERING_MODE nonTextRenderingMode, [in] XPSRAS_RENDERING_MODE textRenderingMode, [out, retval] IXpsRasterizer **ppIXPSRasterizer);
46}
47
48cpp_quote("#if NTDDI_VERSION >= 0x06020000")
49[object, local, uuid (2d6e5f77-6414-4a1e-a8e0-d4194ce6a26f), pointer_default (unique)]
50interface IXpsRasterizationFactory1 : IUnknown {
51 [local] HRESULT CreateRasterizer ([in, optional] IXpsOMPage *xpsPage, [in] FLOAT DPI, [in] XPSRAS_RENDERING_MODE nonTextRenderingMode, [in] XPSRAS_RENDERING_MODE textRenderingMode, [in] XPSRAS_PIXEL_FORMAT pixelFormat, [in, retval] IXpsRasterizer **ppIXPSRasterizer);
52}
53cpp_quote("#endif")
54
55cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.