Codota Logo
TransformStackElement.createGeneralTransformElement
Code IndexAdd Codota to your IDE (free)

How to use
createGeneralTransformElement
method
in
org.apache.batik.ext.awt.g2d.TransformStackElement

Best Java code snippets using org.apache.batik.ext.awt.g2d.TransformStackElement.createGeneralTransformElement (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: apache/batik

/**
 * Composes an <code>AffineTransform</code> object with the
 * <code>Transform</code> in this <code>Graphics2D</code> according
 * to the rule last-specified-first-applied.  If the current
 * <code>Transform</code> is Cx, the result of composition
 * with Tx is a new <code>Transform</code> Cx'.  Cx' becomes the
 * current <code>Transform</code> for this <code>Graphics2D</code>.
 * Transforming a point p by the updated <code>Transform</code> Cx' is
 * equivalent to first transforming p by Tx and then transforming
 * the result by the original <code>Transform</code> Cx.  In other
 * words, Cx'(p) = Cx(Tx(p)).  A copy of the Tx is made, if necessary,
 * so further modifications to Tx do not affect rendering.
 * @param Tx the <code>AffineTransform</code> object to be composed with
 * the current <code>Transform</code>
 * @see #setTransform
 * @see AffineTransform
 */
public void transform(AffineTransform Tx){
  transform.concatenate(Tx);
  transformStack.add(TransformStackElement.createGeneralTransformElement(Tx));
}
origin: org.apache.xmlgraphics/batik-awt-util

/**
 * Composes an <code>AffineTransform</code> object with the
 * <code>Transform</code> in this <code>Graphics2D</code> according
 * to the rule last-specified-first-applied.  If the current
 * <code>Transform</code> is Cx, the result of composition
 * with Tx is a new <code>Transform</code> Cx'.  Cx' becomes the
 * current <code>Transform</code> for this <code>Graphics2D</code>.
 * Transforming a point p by the updated <code>Transform</code> Cx' is
 * equivalent to first transforming p by Tx and then transforming
 * the result by the original <code>Transform</code> Cx.  In other
 * words, Cx'(p) = Cx(Tx(p)).  A copy of the Tx is made, if necessary,
 * so further modifications to Tx do not affect rendering.
 * @param Tx the <code>AffineTransform</code> object to be composed with
 * the current <code>Transform</code>
 * @see #setTransform
 * @see AffineTransform
 */
public void transform(AffineTransform Tx){
  transform.concatenate(Tx);
  transformStack.add(TransformStackElement.createGeneralTransformElement(Tx));
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Composes an <code>AffineTransform</code> object with the
 * <code>Transform</code> in this <code>Graphics2D</code> according
 * to the rule last-specified-first-applied.  If the current
 * <code>Transform</code> is Cx, the result of composition
 * with Tx is a new <code>Transform</code> Cx'.  Cx' becomes the
 * current <code>Transform</code> for this <code>Graphics2D</code>.
 * Transforming a point p by the updated <code>Transform</code> Cx' is
 * equivalent to first transforming p by Tx and then transforming
 * the result by the original <code>Transform</code> Cx.  In other
 * words, Cx'(p) = Cx(Tx(p)).  A copy of the Tx is made, if necessary,
 * so further modifications to Tx do not affect rendering.
 * @param Tx the <code>AffineTransform</code> object to be composed with
 * the current <code>Transform</code>
 * @see #setTransform
 * @see AffineTransform
 */
public void transform(AffineTransform Tx){
  transform.concatenate(Tx);
  transformStack.add(TransformStackElement.createGeneralTransformElement(Tx));
}
origin: apache/batik

/**
 * @param defaultDeviceTransform Default affine transform applied to map the user space to the
 *                               user space.
 */
public GraphicContext(AffineTransform defaultDeviceTransform) {
  this();
  defaultTransform = new AffineTransform(defaultDeviceTransform);
  transform = new AffineTransform(defaultTransform);
  if (!defaultTransform.isIdentity())
    transformStack.add(TransformStackElement.createGeneralTransformElement(defaultTransform));
}
origin: org.apache.xmlgraphics/batik-awt-util

/**
 * @param defaultDeviceTransform Default affine transform applied to map the user space to the
 *                               user space.
 */
public GraphicContext(AffineTransform defaultDeviceTransform) {
  this();
  defaultTransform = new AffineTransform(defaultDeviceTransform);
  transform = new AffineTransform(defaultTransform);
  if (!defaultTransform.isIdentity())
    transformStack.add(TransformStackElement.createGeneralTransformElement(defaultTransform));
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * @param defaultDeviceTransform Default affine transform applied to map the user space to the
 *                               user space.
 */
public GraphicContext(AffineTransform defaultDeviceTransform) {
  this();
  defaultTransform = new AffineTransform(defaultDeviceTransform);
  transform = new AffineTransform(defaultTransform);
  if (!defaultTransform.isIdentity())
    transformStack.add(TransformStackElement.createGeneralTransformElement(defaultTransform));
}
origin: org.apache.xmlgraphics/batik-awt-util

/**
 * Sets the <code>Transform</code> in the <code>Graphics2D</code>
 * context.
 * @param Tx the <code>AffineTransform</code> object to be used in the
 * rendering process
 * @see #transform
 * @see AffineTransform
 */
public void setTransform(AffineTransform Tx){
  transform = new AffineTransform(Tx);
  invalidateTransformStack();
  if(!Tx.isIdentity())
    transformStack.add(TransformStackElement.createGeneralTransformElement(Tx));
}
origin: apache/batik

/**
 * Sets the <code>Transform</code> in the <code>Graphics2D</code>
 * context.
 * @param Tx the <code>AffineTransform</code> object to be used in the
 * rendering process
 * @see #transform
 * @see AffineTransform
 */
public void setTransform(AffineTransform Tx){
  transform = new AffineTransform(Tx);
  invalidateTransformStack();
  if(!Tx.isIdentity())
    transformStack.add(TransformStackElement.createGeneralTransformElement(Tx));
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Sets the <code>Transform</code> in the <code>Graphics2D</code>
 * context.
 * @param Tx the <code>AffineTransform</code> object to be used in the
 * rendering process
 * @see #transform
 * @see AffineTransform
 */
public void setTransform(AffineTransform Tx){
  transform = new AffineTransform(Tx);
  invalidateTransformStack();
  if(!Tx.isIdentity())
    transformStack.add(TransformStackElement.createGeneralTransformElement(Tx));
}
org.apache.batik.ext.awt.g2dTransformStackElementcreateGeneralTransformElement

Popular methods of TransformStackElement

  • clone
  • isIdentity
  • concatenate
  • createRotateElement
  • createScaleElement
  • createShearElement
  • createTranslateElement
  • getTransformParameters
  • getType
  • matrixMultiply
    Multiplies two 2x3 matrices of double precision values

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now