Add DirectWrite to existing GDI Application

Ukończone Opublikowano Apr 7, 2014 Płatność przy odbiorze
Ukończone Płatność przy odbiorze

I need to be able to use DirectX to render text to an existing GDI based application.

I want a class that encapsulates this functionality and provides the original GDI interface to render text to a device context.

INPUT

a) Populated LOGFONT structure

b) CDC MemoryDC

c) Foreground Color Background Color

OUTPUT

Text rendered to the MemoryDC using DirectWrite

Here are two key technical resources

[url removed, login to view](v=[url removed, login to view]).aspx

[url removed, login to view](v=[url removed, login to view]).aspx

The interface for actually outputting the text should be a member function of the new class:
BOOL TextOut(HDC hdc, int nXStart, int nYStart, LPCTSTR lpString,i nt cchString );

Clarification:
I want to exactly duplicate the GDI interface for rasterizing Text to a memory device context.
This means that we create the Font using no more than a populated LOGFONT structure.

Microsoft has already provided for this with g_pGdiInterop->CreateFontFromLOGFONT(&lf, &pFont);
(see the link below)
http://msdn.microsoft.com/en-us/library/windows/desktop/dd742734(v=vs.85).aspx

I also want to output text to this memory device context using a member function that his named TextOut() which is the standard GDI function for text output, it will also take the same parameters as the standard TextOut() function.

The above two functions are to be the member functions of the public interface of the class.

I am only asking for a class the exposes two member functions:
1) CreateFont(LOGFONT& logfont, UINT32 ForeGroundColor, UINT32 BackGroundColor);
2) BOOL TextOut(HDC hdc, int nXStart, int nYStart, LPCTSTR lpString,int cchString );

This class must use DirectWrite for its glyph rendering.

The font must be constructed using every value in the LOGFONT parameter.
(I am estimating the Microsoft already implemented most of this).
This is an example function that creates DirectX font from a LOGFONT structure:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd941783(v=vs.85).aspx

Programowanie w C++ Pulpit systemu Windows

Numer ID Projektu: #5773541

O projekcie

5 ofert Zdalny projekt Aktywny Apr 13, 2014

Przyznany użytkownikowi:

KingOfPhoenix

Hi, Friend. I have enough experience in C++ programming. I also have deep understanding about DirectX. I think I can help you perfectly & asap. Please tell me your details. Thanks.

$257 USD w ciągu 3 dni
(16 ocen)
5.5

5 freelancerów złożyło ofertę za $321 w tym projekcie

BenjaminFree123

HI. I have specialized in the c++/DirectX programming. I can give u a good result. Thanks.

$315 USD w ciągu 3 dni
(5 Oceny)
4.5
andriy3s

A proposal has not yet been provided

$1000 USD w ciągu 10 dni
(18 Oceny)
3.9
denisplakhov

Hi, I have a programming experience over 10 year (Visual Studio, C++ Builder, Delphi). I will be glad to help You with this assignment. Regards, Denis.

$160 USD w ciągu 4 dni
(9 Oceny)
3.8
RodionKarimov

Hello, I have experience of creation of game engines with DirectX 11 rendering system and can create DirectWrite interoperability with GDI.

$222 USD w ciągu 8 dni
(3 Oceny)
3.6
lokatoyo

You can use the GDI itself to render fonts directly, as even the DirectWrite relies on the GDI to perform this operation, but no problem, I will make it using DirecWrite only if you need it to be done so.

$300 USD w ciągu 2 dni
(2 Oceny)
3.0
mathumathiad

Hi, I have good experience in font rendering as I have done this for DVB TV - PC emulator. It is done for the OSD menus and messages with directdraw on Video with alpha blending. Handled all kind of font flickeri Więcej

$155 USD w ciągu 10 dni
(0 Oceny)
1.1
CPUMirror

Hi, I like GDI, GDI+ and DirectX, and I am ready for your project Best regards

$66 USD w ciągu 3 dni
(0 Oceny)
0.0