Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ideas for placing shapes around a circle
Message
From
18/05/2005 09:11:11
 
 
To
18/05/2005 08:59:46
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01015215
Message ID:
01015296
Views:
16
>Io lo so che sei un mostro !!!!!

Non sono poi così brutto :)))

>Il fatto è che sono 20 anni che non tocco più le funzioni trigonometriche
>e mi ero rassegnato a ristudiarmele. Grazie di cuore !
>

Il problema è che se usi questa tecnica ti troverai incasinato
perchè quelli del VFPT fanno le pentole, ma non fanno i coperchi,
cioè:
come hai visto, l'inviluppo della rotazione della polilinea deve essere
contenuta nel rettangolo ( quadrato ) dello shape,
quindi devi disegnare uno shape molto grande se la polilinea è molto asimmetrica.
Ora, siccome non esiste un metodo tipo
- Shape.InPolyArea(x,y) (il coperchio )
che ti dica se il click del mouse è avvenuto dentro alla polilinea oppure no
( ricordati che lo shape è tutto il rettangolo Height Width ),
l'interfaccia risulterà schifosa.


Problem is that if uses this technique you will find problems
why those of the VFPT make the pots, but do not make the covers,
that is:
as you have seen, the envelope of the spin of the polilinea must be contained
in the rectangle (square) of the shape,
therefore you must design shape a much large one if the polyline is much asymmetric one.

Now, because does not exist a method type
- Shape.InPolyArea(x, y) (the cover)
that it says to you if the click of the mouse has happened within to the polyline or not
(it does remember to you that the shape it is all the rectangle Height Width),
the interface will turn out not pleasant.

Ciao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform