Commit Graph

28 Commits

Author SHA1 Message Date
Sven Baars e6a1116c2a d3dx9: Handle word breaks in ID3DXFont_DrawText.
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:52:11 +01:00
Sven Baars 6da3e904a1 d3dx9: Handle clipping in ID3DXFont_DrawText.
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:52:08 +01:00
Sven Baars 330c3f9108 d3dx9: Handle newlines in ID3DXFont_DrawText.
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:52:05 +01:00
Sven Baars 316a8d0ae1 d3dx9: Add a very basic ID3DXFont_DrawText implementation.
Based on a patch by Tony Wasserka.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 18:53:58 +01:00
Sven Baars cc03400e32 d3dx9: Implement ID3DXFont_PreloadText.
Based on a patch by Tony Wasserka.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 18:53:55 +01:00
Sven Baars 21fc1f37e7 d3dx9: Implement ID3DXFont_PreloadCharacters.
Based on a patch by Tony Wasserka.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Sven Baars e9ea8a05e5 d3dx9: Implement ID3DXFont_GetGlyphData.
Based on a patch by Tony Wasserka.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Sven Baars ac56874637 d3dx9: Implement ID3DXFont_PreloadGlyphs.
Based on a patch by Tony Wasserka.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Alexandre Julliard 9fb5745a79 d3dx9: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Michael Stefaniuc df722d2628 d3dx9: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 16:52:55 +01:00
Matteo Bruni 4d1192ad89 d3dx9: Cleanup header includes.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 14:12:29 +09:00
Alistair Leslie-Hughes e5d7982c4d d3dx9: Make ID3DXFont_PreloadCharacters return S_OK. 2014-12-12 11:07:26 +01:00
Nikolay Sivov 9475dc58d1 d3dx9: Trace out parameters as pointers (Valgrind). 2014-06-16 09:30:33 +02:00
André Hentschel 7d1fa526e6 d3dx9_36: D3DXCreateFontIndirectW seems no longer to be a stub. 2012-11-05 11:40:05 +01:00
Józef Kucia d1a99feee6 d3dx9: Correct the FIXME message in ID3DXFont::GetGlyphData. 2012-10-29 10:47:04 +01:00
Henri Verbeet 4ba6974345 d3dx9: Avoid LPDIRECT3DDEVICE9. 2012-10-29 10:47:03 +01:00
Józef Kucia caf1c1a775 d3dx9: Get rid of ID3DXFontImpl. 2012-06-19 11:12:02 +02:00
Henri Verbeet 176d27e889 d3dx9: Use wine_dbgstr_rect() in some more places. 2012-06-01 17:46:44 +02:00
Henri Verbeet 74c2ddc908 d3dx9: Don't return a pointer to the implementation in ID3DXFontImpl_QueryInterface(). 2012-04-11 18:14:46 +02:00
Michael Stefaniuc 7342f34ef7 d3dx9_36: COM cleanup for the ID3DXFont iface. 2011-01-27 14:15:08 +01:00
Christian Costa b3ad91f699 d3dx9_36: Improve FIXMEs and TRACEs for font. 2010-04-02 10:45:28 +02:00
Tony Wasserka 5dd6371345 d3dx9: Implement ID3DXFont_GetTextMetrics. 2009-06-24 11:31:49 +02:00
Tony Wasserka 9733856f90 d3dx9: Implement ID3DXFont_GetDC. 2009-06-24 11:31:42 +02:00
Tony Wasserka 05843d4770 d3dx9: Implement ID3DXFont_GetDesc. 2009-06-24 11:31:09 +02:00
Tony Wasserka e36028b4df d3dx9: Implement ID3DXFont_GetDevice. 2009-06-24 11:31:02 +02:00
Tony Wasserka 823ec93b39 d3dx9: Improve parameter validation in D3DXCreateFont and D3DXCreateFontIndirect. 2009-06-24 11:30:54 +02:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Tony Wasserka e84b8b23f8 d3dx9: Add stubs for the ID3DXFont functions. 2008-03-15 11:06:13 +01:00