Domanda

Basically I want to be able to somehow generate an image that has a list of stats for a player. I need to be able to draw text onto the image and maybe the players avatar onto it if possible. I also want to avoid using any libraries unless I have to unless you have an easy way to do this using X library. I know how to make this using a simple php request since most of the information will be retrieved from various databases anyway, but I would prefer to have a way to make it directly in the program so I can change it easily. I've done this in java before but don't know how to make it in c# without using openGL. Here's a picture of what it might look like.

enter image description here

I apologize if this has been asked before but if it was I couldn't find it.

È stato utile?

Soluzione

You have to refer to System.Drawing namespace. GDI+ is slightly easy thing to understand and use it. This is a very easy example

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top