forked from openzoom/sdk
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bugs in ImagePyramidManager regarding validation. Added example…
… for coordinates in MultiScaleImage component.
- Loading branch information
Showing
11 changed files
with
158 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<actionScriptProperties mainApplicationPath="Coordinates.mxml" projectUUID="9037cbdc-ce89-414b-b6f7-4ff086744279" version="6"> | ||
<compiler additionalCompilerArguments="-locale en_US -use-network=false" autoRSLOrdering="true" copyDependentFiles="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="true" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true"> | ||
<compilerSourcePath> | ||
<compilerSourcePathEntry kind="1" linkType="1" path="${OPENZOOM_HOME}/src"/> | ||
</compilerSourcePath> | ||
<libraryPath defaultLinkType="0"> | ||
<libraryPathEntry kind="4" path=""/> | ||
<libraryPathEntry kind="1" linkType="1" path="${OPENZOOM_HOME}/lib"/> | ||
</libraryPath> | ||
<sourceAttachmentPath/> | ||
</compiler> | ||
<applications> | ||
<application path="Coordinates.mxml"/> | ||
</applications> | ||
<modules/> | ||
<buildCSSFiles/> | ||
</actionScriptProperties> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<flexProperties flexServerFeatures="0" flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="2"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>Coordinates</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.adobe.flexbuilder.project.flexbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.adobe.flexbuilder.project.flexnature</nature> | ||
<nature>com.adobe.flexbuilder.project.actionscriptnature</nature> | ||
</natures> | ||
<linkedResources> | ||
<link> | ||
<name>[source path] OpenZoom SDK</name> | ||
<type>2</type> | ||
<locationURI>OPENZOOM_HOME/src</locationURI> | ||
</link> | ||
</linkedResources> | ||
</projectDescription> |
3 changes: 3 additions & 0 deletions
3
examples/flex/coordinates/.settings/org.eclipse.core.resources.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Tue Aug 11 22:07:36 CEST 2009 | ||
eclipse.preferences.version=1 | ||
encoding/<project>=utf-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--//////////////////////////////////////////////////////////////////////////// | ||
OpenZoom SDK Example | ||
Copyright (c) 2007-2009, Daniel Gasienica <daniel@gasienica.ch> | ||
License: MPL 1.1/GPL 3/LGPL 3 | ||
/////////////////////////////////////////////////////////////////////////////--> | ||
<mx:Application | ||
xmlns:mx="http://www.adobe.com/2006/mxml" | ||
xmlns:openzoom="org.openzoom.flex.components.*" | ||
xmlns:constraints="org.openzoom.flash.viewport.constraints.*" | ||
xmlns:controllers="org.openzoom.flash.viewport.controllers.*" | ||
xmlns:transformers="org.openzoom.flash.viewport.transformers.*" | ||
backgroundGradientColors="[0, 0]" | ||
layout="absolute" | ||
applicationComplete="applicationCompleteHandler(event)" | ||
> | ||
<mx:Script> | ||
<![CDATA[ | ||
import mx.events.FlexEvent; | ||
private function applicationCompleteHandler(event:FlexEvent):void | ||
{ | ||
image.addEventListener(MouseEvent.CLICK, | ||
image_clickHandler, | ||
false, 0, true) | ||
} | ||
private function image_clickHandler(event:MouseEvent):void | ||
{ | ||
var imagePoint:Point = image.globalToLocal(new Point(event.stageX, event.stageY)) | ||
var scenePoint:Point = image.localToScene(imagePoint) | ||
} | ||
]]> | ||
</mx:Script> | ||
<openzoom:MultiScaleImage | ||
id="image" | ||
source="../../../../resources/images/deepzoom/billions.xml" | ||
top="0" | ||
right="0" | ||
bottom="0" | ||
left="0" | ||
> | ||
<openzoom:controllers> | ||
<controllers:ContextMenuController/> | ||
<controllers:MouseController/> | ||
<controllers:KeyboardController/> | ||
</openzoom:controllers> | ||
<openzoom:constraint> | ||
<constraints:CenterConstraint/> | ||
</openzoom:constraint> | ||
</openzoom:MultiScaleImage> | ||
</mx:Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters