Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
8089f73e
Commit
8089f73e
authored
Oct 23, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Implement some font properties accessors for IDWriteTextFormat.
parent
81cdfc61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
layout.c
dlls/dwrite/layout.c
+8
-8
No files found.
dlls/dwrite/layout.c
View file @
8089f73e
...
...
@@ -871,29 +871,29 @@ static HRESULT WINAPI dwritetextformat_GetFontFamilyName(IDWriteTextFormat *ifac
static
DWRITE_FONT_WEIGHT
WINAPI
dwritetextformat_GetFontWeight
(
IDWriteTextFormat
*
iface
)
{
struct
dwrite_textformat
*
This
=
impl_from_IDWriteTextFormat
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
return
DWRITE_FONT_WEIGHT_NORMAL
;
TRACE
(
"(%p)
\n
"
,
This
);
return
This
->
format
.
weight
;
}
static
DWRITE_FONT_STYLE
WINAPI
dwritetextformat_GetFontStyle
(
IDWriteTextFormat
*
iface
)
{
struct
dwrite_textformat
*
This
=
impl_from_IDWriteTextFormat
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
return
DWRITE_FONT_STYLE_NORMAL
;
TRACE
(
"(%p)
\n
"
,
This
);
return
This
->
format
.
style
;
}
static
DWRITE_FONT_STRETCH
WINAPI
dwritetextformat_GetFontStretch
(
IDWriteTextFormat
*
iface
)
{
struct
dwrite_textformat
*
This
=
impl_from_IDWriteTextFormat
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
return
DWRITE_FONT_STRETCH_NORMAL
;
TRACE
(
"(%p)
\n
"
,
This
);
return
This
->
format
.
stretch
;
}
static
FLOAT
WINAPI
dwritetextformat_GetFontSize
(
IDWriteTextFormat
*
iface
)
{
struct
dwrite_textformat
*
This
=
impl_from_IDWriteTextFormat
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
return
0
.
0
;
TRACE
(
"(%p)
\n
"
,
This
);
return
This
->
format
.
size
;
}
static
UINT32
WINAPI
dwritetextformat_GetLocaleNameLength
(
IDWriteTextFormat
*
iface
)
...
...
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