Is this function ever going to be added to edgesurface? GapiDraw has it and in order for me to switch I really need it. For drawing text.
Posted: Mar 10, 2008 @ 10:24am
by edge
Hi,
GDI (bitmap) surfaces are currently not implemented yet, that's the reason why GetDC isn't available. GDI surfaces are currently on our roadmap and will be implemented in a future release.
In the meantime, we recommend using pixel fonts. To generate fonts automatically, use the font maker tool.
Posted: Mar 16, 2008 @ 5:08am
by indiekiduk
Posted: Mar 16, 2008 @ 10:31pm
by j.edwards
Posted: Mar 17, 2008 @ 4:08pm
by edge
Posted: Nov 13, 2008 @ 6:20pm
by Villy21
Too many important things not implemented (yet ?) in EDGELIB. After I made my own AlphaBltFast from 2 surfaces I found that GetDC not implemented too
Now I'am forced to write copy from HDC handle to internal memory of Surface to use TTF font. I's not so hard but...
PS. As we all know for China (50000 characters) and Japan languages it's unreal to use pre-rendered fonts.
Posted: Nov 14, 2008 @ 2:01pm
by edge
Hi Villy,
If you create a DirectDraw surface, you should be able to write to it by quering its device context. Use E2DSurface::GetSysApiSurface and cast it to a LPDIRECTDRAWSURFACE pointer. Then call the GetDC method on it.