CompuServe Thread

Forum unknown · Programming

Graphics/C-lang HELP

1 messages in this thread
#16367From: Ed SilvaApr 26, 1986 11:05 PM
Greg…first of all you need to define whre you are going to render(DRAW()) you line ,you need a RastPort for a Screen or a Window . the Screen could be CUSTOMSCREEN or the WBSCREEN after you decide where to render the pass the following : SetAPen(&Screen->RastPort,1); SetDrMd(&Screen->Rastport,JAM1); Move(&Screen->RastPort,0,0); for (x=0;x<640;x+=4) { Draw(&Screen->RastPort,x,199); } Remenber that before you do all this you have to have a screen struct and all of the proper libraries view.h;display.h ….amd many more you also have to open the INTUITION libraries and the GRAPHICS librarie,the examples in the disk s) work. by the way do you have a developers tool kit or just manuals. if you want more help call CBM 215 431 9100 and ask for the tech. support line. dont panic or get upset i have spend entire weekends 30-40 hrs reading graphics primitives commamds and the intuition manual not to metion learning C on the go good luck… Eduardo-