#AreaEllipse()
4 messages in this thread
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?
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
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?
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.