Re: printing into a bitmap [message #53940] |
Fri, 11 May 2007 14:14  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On May 11, 4:02 pm, justspa...@yahoo.de wrote:
> Hi all,
>
> I'm looking for a way to print text directly into a bitmap, e.g. like
>
> pic = intarr( 256,256 )
> printIntoBitmap, 'Text', pic, 10, 10
>
> with the last arguments defining the text position.
> My requirements to quality and variability are low - if the text looks
> like from an old matrix printer with 9 dots height: fine by me.
> I know this can be done in object graphics (even in high-quality),
> but I'd rather go for the direct way - if it is possible.
> Is it?
> Cheers
> Oliver
1- display the image (can use the z-buffer if you want)
2- xyouts the text
3- tvrd() the image
4- write_bmp
|
|
|
|