Examples of transform()


Examples of com.ibm.icu.impl.UnicodeRegex.transform()

                if (expectException) {
                    errln("Expected exception for " + test);
                    continue;
                }
                result = result.replaceAll("[0-9]+%", ""); // just so we can use the language subtag stuff
                String resolved = regex.transform(result);
                logln(resolved);
                Matcher m = Pattern.compile(resolved, Pattern.COMMENTS).matcher("");
                String checks = "";
                for (int j = 1; j < tests[i].length; ++j) {
                    String check = tests[i][j];

Examples of com.ibm.icu.text.Transliterator.transform()

    }
   
    public void TestContext() {
        Transliterator t = Transliterator.createFromRules("foo", "::[bc]; a{b}d > B;", Transliterator.FORWARD);
        String sample = "abd abc b";
        assertEquals("context works", "aBd abc b", t.transform(sample));
    }

    public void TestScripts(){
        // get a couple of characters of each script for testing
       

Examples of com.ibm.sbt.services.client.connections.activitystreams.transformers.ActivityStreamTransformer.transform()

      }
     
      ActivityStreamTransformer transformer = new ActivityStreamTransformer();
      Map<String,Object> param = new HashMap<String, Object>();
      param.put(transformer.DATA_POPULATOR, populator);
      String jsonPayload = transformer.transform(param);
      String postUrl = ActivityStreamUrls.AS_USER_GROUP_APP.format(this, user, group, application);
      return postEntry(postUrl, jsonPayload);
  }

  /*
 

Examples of com.itextpdf.awt.geom.AffineTransform.transform()

                if (inText)
                    endText();
                AffineTransform transform = new AffineTransform(a, b, c, d, e, f);
                Point2D[] src = new Point2D.Float[] {new Point2D.Float(0, 0), new Point2D.Float(1, 0), new Point2D.Float(1, 1), new Point2D.Float(0, 1)};
                Point2D[] dst = new Point2D.Float[4];
                transform.transform(src, 0, dst, 0, 4);
                float left = Float.MAX_VALUE;
                float right = -Float.MAX_VALUE;
                float bottom = Float.MAX_VALUE;
                float top = -Float.MAX_VALUE;
                for (int i = 0; i < 4; i++) {

Examples of com.itextpdf.text.pdf.PdfContentByte.transform()

        PdfContentByte cb = writer.getDirectContent();

        BaseFont font = BaseFont.createFont();
       
        cb.transform(AffineTransform.getTranslateInstance(100, 500));
        cb.beginText();
        cb.setFontAndSize(font, 12);

        cb.getInternalBuffer().append(directContentTj + "\n");
       

Examples of com.jclark.xsl.dom.Transform.transform()

    public Document transform(Document document, String documentBase,
        Document sheet, String sheetBase, Document result, Dictionary params)
    throws Exception {
        Transform transformer = new XSLTransformEngine().createTransform(sheet);
        transformer.transform(document, result);
        return result;
    }

    public String getStatus() {
        return "James Clark's XT XSLT Processor";

Examples of com.jgraph.gaeawt.java.awt.geom.GeneralPath.transform()

        breaker.createAllSegments();

        GeneralPath outline = breaker.getOutline();

        if (outline != null && xform != null) {
            outline.transform(xform);
        }

        return outline;
    }

Examples of com.jhlabs.map.proj.Projection.transform()

    Point2D.Double latlon = new Point2D.Double();
    double lon = latlon.x = 13.295053;
    double lat = latlon.y = 52.499847;
    Point2D.Double xy = new Point2D.Double();

    proj.transform(latlon, xy);
    System.out.println(xy);

    proj.inverseTransform(xy, latlon);
    System.out.println(latlon);
    assertEquals(lon, latlon.x, 0.001);

Examples of com.jme.bounding.BoundingVolume.transform()

            cellSetup.setName(importedModel.getWonderlandName());
           
           
            BoundingVolume modelBounds = importedModel.getModelBG().getWorldBound();
            float scale = scaleBounds(modelBounds);
            modelBounds = modelBounds.transform(new Quaternion(), Vector3f.ZERO,
                                                new Vector3f(scale, scale, scale));
           
            cellSetup.setBoundingVolumeHint(new BoundingVolumeHint(false, modelBounds));
            deployedModel.setModelBounds(modelBounds);

Examples of com.jme3.bounding.BoundingBox.transform()

            bbox = new BoundingBox((BoundingBox) bv);
        } else {
            throw new UnsupportedCollisionException();
        }

        bbox.transform(worldMatrix.invert(), bbox);
        return root.intersectWhere(bv, bbox, worldMatrix, this, results);
    }

    public int collideWith(Collidable other,
            Matrix4f worldMatrix,
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.