Examples of Transformation


Examples of com.cloudinary.Transformation

    @Test
    public void test13TransformationMetadata() throws Exception {
        // should allow getting transformation metadata
        Map transformation = api.transformation("c_scale,w_100", Cloudinary.emptyMap());
        assertNotNull(transformation);
        assertEquals(new Transformation((List<Map>) transformation.get("info")).generate(), new Transformation().crop("scale").width(100)
                .generate());
    }
View Full Code Here

Examples of com.dragome.compiler.graph.transformation.Transformation

      visit(child);
    }

    do
    {
      Transformation t= Transformation.select(this, node);
      if (t == null)
        break;
      node= t.apply();
      dump("After transformation");
    }
    while (true);

    if (node.getDomChildren().size() > 0)
View Full Code Here

Examples of com.google.gwt.dev.jjs.impl.gflow.TransformationFunction.Transformation

      final int size = functions.size();
      for (int i = 0; i < size; ++i) {
        final int slice = i;
        IntegratedFlowFunction function = functions.get(i);

        Transformation transformation =
          function.interpretOrReplace(node, graph,
              new AssumptionMap() {
                @Override
                public Assumption getAssumption(Object edge) {
                  CombinedAssumption combinedAssumption = assumptionMap.getAssumption((E) edge);
View Full Code Here

Examples of com.volantis.map.sti.model.Transformation

                && inputParameters.containsName(ParameterNames.LEFT_X)
                && inputParameters.containsName(ParameterNames.TOP_Y)
                && inputParameters.containsName(ParameterNames.BOTTOM_Y)) {

            // Rewrite them as-is, since no conversion is needed.
            Transformation transformation = new Transformation();

            transformation.setType("Cropping");

            transformation.addAttribute("top",
                    getParameterValue(ParameterNames.TOP_Y));

            transformation.addAttribute("bottom",
                    getParameterValue(ParameterNames.BOTTOM_Y));

            transformation.addAttribute("right",
                    getParameterValue(ParameterNames.RIGHT_X));

            transformation.addAttribute("left",
                    getParameterValue(ParameterNames.LEFT_X));

            transformations.addTransformation(transformation);
        }
    }
View Full Code Here

Examples of de.capacis.jzeemap.transformation.Transformation

    String transformationId = output.getTransformation();
    try {
      logger.info("start processing zmap output...");

      final ImageCreator creator = imageCreatorFactory.create(generatorId);
      final Transformation transformation = transformationFactory.create(transformationId);
      creator.setOutputConfiguration(output);
      creator.setScene(scene);
      creator.setBackgroundImageProvider(backgroundImageProvider);
      creator.setTransformation(transformation);
      creator.create();
View Full Code Here

Examples of de.capacis.jzeemap.transformation.Transformation

  }

  public Transformation create(final String transformationId) throws TransformationException {
    try {
      final Transformation transformation = Transformations.valueOf(transformationId);
      return transformation;
    } catch (NullPointerException ex) {
      throw new TransformationException("could not parse transformation. Must be one of " + Arrays.toString(Transformations.values()), ex);
    } catch (IllegalArgumentException ex) {
      throw new TransformationException("invalid transformation: " + transformationId + ".  Must be one of " + Arrays.toString(Transformations.values()), ex);
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

  public static final String HYBRID_VERSION = "2.2";

  public static abstract class YahooProvider extends AbstractMapTileUrlProvider {

    public YahooProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

public class Google {
 
  public static abstract class GoogleProvider extends AbstractMapTileUrlProvider {

    public GoogleProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

*/
public class EsriProvider {
  public static abstract class GenericEsriProvider extends AbstractMapTileUrlProvider {

    public GenericEsriProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

*/
public class OpenStreetMap {
  public static abstract class GenericOpenStreetMapProvider extends AbstractMapTileUrlProvider {

    public GenericOpenStreetMapProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.