CompuServe Messages

Graphics/C-lang HELP

#: 16367 S7/ProgrammingForum unknown
    26-Apr-86 23:05:36
Sb: #16219-Graphics/C-lang HELP
Fm: Ed Silva 70507,134
To: Greg Freemyer 76656,1464

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

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-