Mail Archives: djgpp/1994/06/07/04:20:40
Hi,
I am using LIBGRX at the moment and try to get bitmaps converted
to pixmaps. Its almost fine. But some vertical lines (columns) get
interchanged. I do it as follows :
1. Make a bitmap on a SUN sparc : bitmap test 64x64
There I 'draw' a bitmap and save it.
2. Then I use this bitmap on a PC as input to the djgpp adapted
LIBGRX :
static char test[] = { 0x00,0x00 <etc.....>
GrPattern *pp
pp = GrBuildPixmapFromBits(test,64,64,GrBlack(),GrWhite());
GrPatternFilledBox(300,300,400,400,pp);
If the test-bitmap was an "F" for instance, then parts of the
vertical line in the letter "F" are moved to the left or right.
I tried some variations but could not clarify this problem.
I am really curious to know how you proceed when you want to
get bitmaps (also with width greater than 8) onto the screen
with the grx-library.
I am sure there are some professionals out there !
Thanks for your hints in advance.
Norman
--
Dr. Norman Fahrer
- Raw text -