[Gambas-user] Help with DrawingArea and class design

Tobias Boege taboege at ...626...
Sun Jan 20 14:26:48 CET 2013


On Sun, 20 Jan 2013, Ulrich Hartmann wrote:
> Hi Tobi,
> 
> yes this looks pretty much like what I want to do, just that I need
> only pixel on or off and a way to export it as a C code byte array.
> 
> I have a first version which allows me to define character size and
> edit the character, but when I choose character sizes bigger than
> 20x20 pixels it takes quite a while to initially draw it (editing
> works fine though).
> 
> I currently use a picturebox for each pixel representation so I
> guess it takes a while to initialize all those PictureBoxes...
> 
> Thanks
> 
> Uli
> 

Hmm. History repeats :-) I already have a program which transforms the
simple binary format of my program's files to a C array. I think it can
be done using some standard programs as well.

If you want, I can go through the project again to tidy it up and send it
after Wednesday. It supposedly is more efficient than yours although I can't
say that I studied Gambas' drawing routines very well and I'm not up to date
with the recent changes... Anyway, then you can tune it to your needs?

Regards,
Tobi




More information about the User mailing list