CompuServe Thread

#AreaEllipse()

4 messages in this thread
#46425From: Jochen Anteberger/Apr 6, 1995 2:44 PM
Hi, I have a problem with AreaEllipse() from graphics.library. After I called it the computer locked. After reading more about RastPort in the RKM I saw that there have to be initialized two structures. This text, which I don't understand, referes to AreaMove, AreaDraw and AreaEnd. The chapter about this functions refers back to RastPort. Can anyone show me how to use AreaEllipse?? DrawEllipse works good, so I think it has to do with RastPort and that Fill-related structures. thnx in advance Jochen Antesberger from Neuburg a.d. Donau – Bavaria/Germany Titanic – Hindenburg – Challenger – Intel Pentium … what comes NeXT?
#46428From: Werner KazmierzakApr 6, 1995 5:41 PM
Jochen, as with all Area…() functions, you need to provide your RastPort with two additional allocated and initialized structures: AreaInfo and TmpRas. Have a look at pages 582ff of the RKM. If you need some further info, feel free to ask again. Maybe I got some sample code handy… what language are you about to use for this module of your program, C or ASM ? – wkc – … via AP from Hamburg, Germany
#46439From: Jochen Anteberger/Apr 7, 1995 11:54 AM
Hi Werner, I read that pages again and also found some code in a Amiga-C-book. But I don't know what AREA_SIZE referes to. How do I calculate what size the areabuffer has to have. Some sources in C would be very helpful. cu Jochen Antesberger from Neuburg a.d. Donau – Bavaria/Germany Titanic – Hindenburg – Challenger – Intel Pentium … what comes NeXT?
#46456From: Vic WagnerApr 9, 1995 5:11 AM
It's been a while, so I don't recall offhand, but I _think_ I uploaded a program I wrote (called blackbox) and included the source over in AmigaTech. It uses AreaElllipse. If you don't find it there, EMail me a reminder and I'll try to get you a copy.