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
fda08897
Commit
fda08897
authored
Jul 12, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Remove excessive tracing when forwarding to IDWriteTextFormat1.
parent
04ae4bfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
layout.c
dlls/dwrite/layout.c
+1
-17
No files found.
dlls/dwrite/layout.c
View file @
fda08897
...
...
@@ -2257,35 +2257,30 @@ static DWRITE_TEXT_ALIGNMENT WINAPI dwritetextlayout_GetTextAlignment(IDWriteTex
static
DWRITE_PARAGRAPH_ALIGNMENT
WINAPI
dwritetextlayout_GetParagraphAlignment
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetParagraphAlignment
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
DWRITE_WORD_WRAPPING
WINAPI
dwritetextlayout_GetWordWrapping
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetWordWrapping
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
DWRITE_READING_DIRECTION
WINAPI
dwritetextlayout_GetReadingDirection
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetReadingDirection
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
DWRITE_FLOW_DIRECTION
WINAPI
dwritetextlayout_GetFlowDirection
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetFlowDirection
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
FLOAT
WINAPI
dwritetextlayout_GetIncrementalTabStop
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetIncrementalTabStop
(
&
This
->
IDWriteTextFormat1_iface
);
}
...
...
@@ -2293,7 +2288,6 @@ static HRESULT WINAPI dwritetextlayout_GetTrimming(IDWriteTextLayout2 *iface, DW
IDWriteInlineObject
**
trimming_sign
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
options
,
trimming_sign
);
return
IDWriteTextFormat1_GetTrimming
(
&
This
->
IDWriteTextFormat1_iface
,
options
,
trimming_sign
);
}
...
...
@@ -2301,70 +2295,60 @@ static HRESULT WINAPI dwritetextlayout_GetLineSpacing(IDWriteTextLayout2 *iface,
FLOAT
*
spacing
,
FLOAT
*
baseline
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)->(%p %p %p)
\n
"
,
This
,
method
,
spacing
,
baseline
);
return
IDWriteTextFormat1_GetLineSpacing
(
&
This
->
IDWriteTextFormat1_iface
,
method
,
spacing
,
baseline
);
}
static
HRESULT
WINAPI
dwritetextlayout_GetFontCollection
(
IDWriteTextLayout2
*
iface
,
IDWriteFontCollection
**
collection
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
collection
);
return
IDWriteTextFormat1_GetFontCollection
(
&
This
->
IDWriteTextFormat1_iface
,
collection
);
}
static
UINT32
WINAPI
dwritetextlayout_GetFontFamilyNameLength
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetFontFamilyNameLength
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
HRESULT
WINAPI
dwritetextlayout_GetFontFamilyName
(
IDWriteTextLayout2
*
iface
,
WCHAR
*
name
,
UINT32
size
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)->(%p %u)
\n
"
,
This
,
name
,
size
);
return
IDWriteTextFormat1_GetFontFamilyName
(
&
This
->
IDWriteTextFormat1_iface
,
name
,
size
);
}
static
DWRITE_FONT_WEIGHT
WINAPI
dwritetextlayout_GetFontWeight
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetFontWeight
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
DWRITE_FONT_STYLE
WINAPI
dwritetextlayout_GetFontStyle
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetFontStyle
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
DWRITE_FONT_STRETCH
WINAPI
dwritetextlayout_GetFontStretch
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetFontStretch
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
FLOAT
WINAPI
dwritetextlayout_GetFontSize
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetFontSize
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
UINT32
WINAPI
dwritetextlayout_GetLocaleNameLength
(
IDWriteTextLayout2
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
IDWriteTextFormat1_GetLocaleNameLength
(
&
This
->
IDWriteTextFormat1_iface
);
}
static
HRESULT
WINAPI
dwritetextlayout_GetLocaleName
(
IDWriteTextLayout2
*
iface
,
WCHAR
*
name
,
UINT32
size
)
{
struct
dwrite_textlayout
*
This
=
impl_from_IDWriteTextLayout2
(
iface
);
TRACE
(
"(%p)->(%p %u)
\n
"
,
This
,
name
,
size
);
return
IDWriteTextFormat1_GetLocaleName
(
&
This
->
IDWriteTextFormat1_iface
,
name
,
size
);
}
...
...
@@ -3385,7 +3369,7 @@ static DWRITE_PARAGRAPH_ALIGNMENT WINAPI dwritetextformat1_layout_GetParagraphAl
static
DWRITE_WORD_WRAPPING
WINAPI
dwritetextformat1_layout_GetWordWrapping
(
IDWriteTextFormat1
*
iface
)
{
struct
dwrite_textlayout
*
This
=
impl_layout_form_IDWriteTextFormat1
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
return
This
->
format
.
wrapping
;
}
...
...
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