Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
788a6122
Commit
788a6122
authored
Jul 14, 2023
by
Biswapriyo Nath
Committed by
Alexandre Julliard
Jul 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ID2D1DeviceContext4 in d2d1_3.idl.
parent
a66504de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
0 deletions
+81
-0
d2d1_3.idl
include/d2d1_3.idl
+81
-0
No files found.
include/d2d1_3.idl
View file @
788a6122
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
import
"d2d1_2.idl"
;
import
"d2d1_2.idl"
;
import
"d2d1effects_2.idl"
;
import
"d2d1effects_2.idl"
;
interface
IDWriteFontFace
;
typedef
enum
D2D1_INK_NIB_SHAPE
typedef
enum
D2D1_INK_NIB_SHAPE
{
{
D2D1_INK_NIB_SHAPE_ROUND
=
0
x0
,
D2D1_INK_NIB_SHAPE_ROUND
=
0
x0
,
...
@@ -76,6 +78,13 @@ typedef enum D2D1_SPRITE_OPTIONS
...
@@ -76,6 +78,13 @@ typedef enum D2D1_SPRITE_OPTIONS
D2D1_SPRITE_OPTIONS_FORCE_DWORD
=
0
xffffffff
D2D1_SPRITE_OPTIONS_FORCE_DWORD
=
0
xffffffff
}
D2D1_SPRITE_OPTIONS
;
}
D2D1_SPRITE_OPTIONS
;
typedef
enum
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION
{
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT
=
0
x0
,
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE
=
0
x1
,
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_FORCE_DWORD
=
0
xffffffff
}
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION
;
typedef
struct
D2D1_INK_POINT
typedef
struct
D2D1_INK_POINT
{
{
float
x
;
float
x
;
...
@@ -426,6 +435,78 @@ interface ID2D1DeviceContext3 : ID2D1DeviceContext2
...
@@ -426,6 +435,78 @@ interface ID2D1DeviceContext3 : ID2D1DeviceContext2
[
[
object
,
object
,
uuid
(
8
c427831
-
3
d90
-
4476
-
b647
-
c4fae349e4db
),
local
,
]
interface
ID2D1DeviceContext4
:
ID2D1DeviceContext3
{
HRESULT
CreateSvgGlyphStyle
(
[
out
]
ID2D1SvgGlyphStyle
**
svg_glyph_style
)
;
void
DrawText
(
[
in
]
const
WCHAR
*
string
,
[
in
]
UINT32
string_length
,
[
in
]
IDWriteTextFormat
*
text_format
,
[
in
]
const
D2D1_RECT_F
*
layout_rect
,
[
in
,
optional
]
ID2D1Brush
*
default_fill_brush
,
[
in
,
optional
]
ID2D1SvgGlyphStyle
*
svg_glyph_style
,
[
in
,
optional
]
UINT32
color_palette_index
,
[
in
]
D2D1_DRAW_TEXT_OPTIONS
options
,
[
in
]
DWRITE_MEASURING_MODE
measuring_mode
)
;
void
DrawTextLayout
(
[
in
]
D2D1_POINT_2F
origin
,
[
in
]
IDWriteTextLayout
*
text_layout
,
[
in
,
optional
]
ID2D1Brush
*
default_fill_brush
,
[
in
,
optional
]
ID2D1SvgGlyphStyle
*
svg_glyph_style
,
[
in
,
optional
]
UINT32
color_palette_index
,
[
in
]
D2D1_DRAW_TEXT_OPTIONS
options
)
;
void
DrawColorBitmapGlyphRun
(
[
in
]
DWRITE_GLYPH_IMAGE_FORMATS
glyph_image_format
,
[
in
]
D2D1_POINT_2F
baseline_origin
,
[
in
]
const
DWRITE_GLYPH_RUN
*
glyph_run
,
[
in
]
DWRITE_MEASURING_MODE
measuring_mode
,
[
in
]
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION
bitmap_snap_option
)
;
void
DrawSvgGlyphRun
(
[
in
]
D2D1_POINT_2F
baseline_origin
,
[
in
]
const
DWRITE_GLYPH_RUN
*
glyph_run
,
[
in
,
optional
]
ID2D1Brush
*
default_fill_brush
,
[
in
,
optional
]
ID2D1SvgGlyphStyle
*
svg_glyph_style
,
[
in
,
optional
]
UINT32
color_palette_index
,
[
in
]
DWRITE_MEASURING_MODE
measuring_mode
)
;
HRESULT
GetColorBitmapGlyphImage
(
[
in
]
DWRITE_GLYPH_IMAGE_FORMATS
glyph_image_format
,
[
in
]
D2D1_POINT_2F
glyph_origin
,
[
in
]
IDWriteFontFace
*
font_face
,
[
in
]
FLOAT
font_em_size
,
[
in
]
UINT16
glyph_index
,
[
in
]
BOOL
is_sideways
,
[
in
,
optional
]
const
D2D1_MATRIX_3X2_F
*
world_transform
,
[
in
]
FLOAT
dpi_x
,
[
in
]
FLOAT
dpi_y
,
[
out
]
D2D1_MATRIX_3X2_F
*
glyph_transform
,
[
out
]
ID2D1Image
**
glyph_image
)
;
HRESULT
GetSvgGlyphImage
(
[
in
]
D2D1_POINT_2F
glyph_origin
,
[
in
]
IDWriteFontFace
*
font_face
,
[
in
]
FLOAT
font_em_size
,
[
in
]
UINT16
glyph_index
,
[
in
]
BOOL
is_sideways
,
[
in
,
optional
]
const
D2D1_MATRIX_3X2_F
*
world_transform
,
[
in
,
optional
]
ID2D1Brush
*
default_fill_brush
,
[
in
,
optional
]
ID2D1SvgGlyphStyle
*
svg_glyph_style
,
[
in
]
UINT32
color_palette_index
,
[
out
]
D2D1_MATRIX_3X2_F
*
glyph_transform
,
[
out
]
ID2D1CommandList
**
glyph_image
)
;
}
[
object
,
uuid
(
a44472e1
-
8
dfb
-
4
e60
-
8492
-
6
e2861c9ca8b
),
uuid
(
a44472e1
-
8
dfb
-
4
e60
-
8492
-
6
e2861c9ca8b
),
local
,
local
,
]
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment