Skip to content

Commit

Permalink
Use the version 11.0-SNAPSHOT of AFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
gallandarakhneorg committed Nov 19, 2013
1 parent 615b64d commit 4c36e76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion neteditor-androidpanel/project.properties
Expand Up @@ -14,4 +14,4 @@
target=android-15
android.library=true

android.library.reference.1=../../../Documents/Developpement/workspaces/arakhne.org/afc-10.0/ui/android
android.library.reference.1=../../afc/ui/android
2 changes: 1 addition & 1 deletion neteditor-fsm/fsm-droideditor/project.properties
Expand Up @@ -12,6 +12,6 @@

# Project target.
target=android-15
android.library.reference.1=../../../../Documents/Developpement/workspaces/arakhne.org/afc-10.0/ui/android
android.library.reference.1=../../../afc/ui/android
android.library.reference.2=../../neteditor-androidpanel

Expand Up @@ -26,6 +26,7 @@

import org.arakhne.afc.math.continous.object2d.Point2f;
import org.arakhne.afc.math.continous.object2d.Rectangle2f;
import org.arakhne.afc.math.discrete.object2d.Rectangle2i;
import org.arakhne.afc.math.generic.Point2D;
import org.arakhne.afc.ui.vector.Image;
import org.arakhne.afc.ui.vector.Raster;
Expand Down Expand Up @@ -172,7 +173,7 @@ public static String toEps(Image image, int sx1, int sy1, int sx2, int sy2) thro
int iw = Math.abs(sx2 - sx1);
int ih = Math.abs(sy2 - sy1);

Raster raster = image.getData(new Rectangle2f(ix, iy, iw, ih));
Raster raster = image.getData(new Rectangle2i(ix, iy, iw, ih));

int pixel;
int bands = raster.getNumBands();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -11,7 +11,7 @@
<url>http://www.arakhne.org/neteditor.html</url>

<properties>
<afc.version>10.0</afc.version>
<afc.version>11.0-SNAPSHOT</afc.version>
<neteditor.version>18.0-SNAPSHOT</neteditor.version>
<year>2013</year>
<sourceEncoding>UTF-8</sourceEncoding>
Expand Down

0 comments on commit 4c36e76

Please sign in to comment.