Tabnine Logo
Scale.invScaled
Code IndexAdd Tabnine to your IDE (free)

How to use
invScaled
method
in
playn.core.gl.Scale

Best Java code snippets using playn.core.gl.Scale.invScaled (Showing top 14 results out of 315)

origin: com.googlecode.playn/playn-android

@Override
public float width() {
 return scale.invScaled(bitmap.getWidth());
}
origin: threerings/playn

@Override
public float width() {
 return scale.invScaled(bitmap.getWidth());
}
origin: threerings/playn

@Override
public float height() {
 return scale.invScaled(img.getHeight());
}
origin: com.googlecode.playn/playn-android

@Override
public float height() {
 return scale.invScaled(bitmap.getHeight());
}
origin: threerings/playn

@Override
public float height() {
 return scale.invScaled(bitmap.getHeight());
}
origin: com.googlecode.playn/playn-java

@Override
public float width() {
 return scale.invScaled(img.getWidth());
}
origin: threerings/playn

@Override
public float width() {
 return scale.invScaled(img.getWidth());
}
origin: com.googlecode.playn/playn-java

@Override
public float height() {
 return scale.invScaled(img.getHeight());
}
origin: threerings/playn

/** Returns the supplied length inverse scaled by our scale factor and rounded down. */
public int invScaledFloor(float length) {
 return MathUtil.ifloor(invScaled(length));
}
origin: threerings/playn

@Override
public float width() {
 return scale.invScaled(image.getWidth());
}
origin: threerings/playn

@Override
public float height() {
 return img == null ? 0 : scale.invScaled(img.getHeight());
}
origin: threerings/playn

@Override
public float width() {
 return img == null ? 0 : scale.invScaled(img.getWidth());
}
origin: threerings/playn

@Override
public float height() {
 return scale.invScaled(image.getHeight());
}
origin: threerings/playn

/** Returns the supplied length inverse scaled by our scale factor and rounded up. */
public int invScaledCeil(float length) {
 return MathUtil.iceil(invScaled(length));
}
playn.core.glScaleinvScaled

Javadoc

Returns the supplied length inverse scaled by our scale factor.

Popular methods of Scale

  • scaledCeil
  • <init>
  • getScaledResources
  • invScaledFloor
  • scaled
    Returns the supplied length scaled by our scale factor.
  • computePath
  • scaledFloor

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Path (java.nio.file)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JCheckBox (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now