From: fano AT norcov DOT com (Dr. Norman Fahrer) Date: Tue, 7 Jun 1994 00:53:34 -0700 To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: libgrx and bitmap 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 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