Mailinglisten-Archive |
Hi Michael,
> Wie zeichnet man einen Kreis ...?
ganz normal:
1. was ist ein Kreis ?
- koennte eine Ellipse sein, mir a = b, oder ?
2. http://www.php.net/manual/de/ref.image.php
http://www.php.net/manual/de/function.imagearc.php
int imagearc (int im, // - Bild-Ressource
int cx, // - X-Mittelpunkt
int cy, // - Y-Mittelpunkt
int w, // - Breite d. E.
int h, // - Hoehe d. E.
int s, // - Startpunkt
int e, // - Endpunkt
int col // - Farb-Ressource
)
Fuer ein Reversi-Spiel waere es IMHO jedoch einfacher,
man stellt die handvoll Grafiken traditionell bereit,
und aendert nur die Links nach einer gueltigen Aktion.
Bei fehlerhaftem Zug laesst man rechts oben einen
kleinen Piepmatz was traellern: dah dih da da da ... ;-)
m. b. G. Norbert
_____________________
normal: 02292-681769
Notruf: 0177-2363368
---------------------
e.o.m.
php::bar PHP Wiki - Listenarchive