PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

.NET Wrapper

Has anyone made a .NET CF wrapper yet? I worked on both the PocketFrog and GapiDraw wrappers and could have a go at making one for EDGELIB.

The main things I'm interested in are blitting RGBA surfaces, fast animation, and blitting the final back buffer to a form control in a windowed app, so menu pop ups and bubble notifications still draw properly.
Hi,

This sounds like a great idea! Please contact us at info [at] edgelib [dot] com to discuss this in more detail.
I really need to be able to draw anti-aliased (cleartype) text using GDI. So I need to be able to get a DC for the layer to do that and in the other thread you said you might enable that in the future. However I'm going to investigate a workaround by creating the font bitmap using GDI on the fly and then loading it into EDGELIB. If I can get this to work I'll do the wrapper.

In the meantime I'm building my c# UI library using gapidraw as the underlying graphics driver, but its abstracted to should be able to change it to edgelib easily.
indiekiduk wrote:I really need to be able to draw anti-aliased (cleartype) text using GDI. So I need to be able to get a DC for the layer to do that and in the other thread you said you might enable that in the future. However I'm going to investigate a workaround by creating the font bitmap using GDI on the fly and then loading it into EDGELIB. If I can get this to work I'll do the wrapper.

In the meantime I'm building my c# UI library using gapidraw as the underlying graphics driver, but its abstracted to should be able to change it to edgelib easily.


Great! Please let us know if you need additional support.
Is edgelib available in a dll, or does it need to be compiled into an app?

For .net or Freepascal support, it needs to be available as a dll (and declared as cdecl I think).

I wouldn't mind having a look at this myself if no-one else is doing it.

Sean
Its a lib so has to be compiled to a dll and needs the C functions written.
PointOfLight · 26 Mar 2008, 15:49 UTC
Sean, I don't have the time to devote to making a DLL for Edgelib, but if you decide to work on one I would be willing to help you test it out.
Indiekiduk, Sean,

If you guys work on this we are willing to offer you a free commercial EDGELIB Full license. Please contact us at info [at] edgelib [dot] com for details.
Any more on this? I would love to have available a good C# game engine.
I may give a C# wrapper a go.
Well, I got some of the basic building blocks in place for creating a wrapper, but hit a major showstopper.

EdgeLib is not a library. It's an application. Specifically, it has a WinMain entry point that is blocking.

I need to be the app (in particular my C# application), and use EdgeLib as a library. While I don't know much about the internals of EdgeLib, i do recognize the need to have an event loop, etc.

My problem of writing a C# wrapper is equivalent to the problem of making EdgeLib a Win32 control (custom HWND) on a Win32 dialog box. In both scenarios, the entry point is not EdgeLib, and the event loop does not belong to EdgeLib.

Is there something I'm missing? Advice? Special drop for me? My email is
kramer_underscore_ae@hotmail.com (one underscore).

Thanks.

Brian
Hi Brian,

Currently someone is working on creating a .NET wrapper for EDGELIB as well. We will let you know when more information becomes available. Then we will post a message in this thread.
Thanks for your reply. The problem is that I don't want to wait for an unspecified amount of time for this information. Is there a way I can do this work in parallel, or to contribute to the existing work?

Thanks.
brian wrote:Is there a way I can do this work in parallel, or to contribute to the existing work?


Hi Brian,

I have sent you an email.
Hi,
Following this thread, can I figure out if anybody creates a solution/workaround to NOT using the main entry of EDGELIB?
edge wrote:Currently someone is working on creating a .NET wrapper for EDGELIB as well. We will let you know when more information becomes available. Then we will post a message in this thread.


Any progress with the .NET Wrapper?
fatcatz":1w0dgcs9]

Hi Fatcatz,

As this unofficial project is under development by an individual from the community, we unfortunately are not aware of the latest status update.

Regards,

Wouter