Revision: 8315
http://fudaa.svn.sourceforge.net/fudaa/?rev=8315&view=rev
Author: deniger
Date: 2013-03-11 21:08:27 +0000 (Mon, 11 Mar 2013)
Log Message:
-----------
Modified Paths:
--------------
trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/ZCalqueLigneBrisee.java
Modified: trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/ZCalqueLigneBrisee.java
===================================================================
--- trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/ZCalqueLigneBrisee.java 2013-03-08 17:30:29 UTC (rev 8314)
+++ trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/ZCalqueLigneBrisee.java 2013-03-11 21:08:27 UTC (rev 8315)
@@ -264,7 +264,7 @@
// Dessin de la fleche
- if (showOrientation(i) && clipEcran.contient(ptDest)) {
+ if (showOrientation(i) && clipEcran.contientXY(ptDest)) {
GrVecteur vct = ptDest.soustraction(ptOrig);
vct.autoNormaliseXY();
vct.autoMultiplication(20);
@@ -274,7 +274,7 @@
// La point est lisse
int typeTrait = tl.getTypeTrait();
tl.setTypeTrait(TraceLigne.LISSE);
- tl.dessinePointe(_g, (int) xorig, (int) yorig, (int) ptDest.x_, (int) ptDest.y_, 11, 5);
+ tl.dessinePointe(_g, (int) xorig, (int) yorig, (int) ptDest.x_, (int) ptDest.y_, getFlecheSize(), getFlecheSize());
tl.setTypeTrait(typeTrait);
}
@@ -325,4 +325,8 @@
*/
protected void updateClip(Graphics2D _g, Shape oldClip, GrMorphisme _versEcran, int idx) {
}
+
+ public int getFlecheSize() {
+ return 11;
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|