Tabnine Logo
CharstringType2
Code IndexAdd Tabnine to your IDE (free)

How to use
CharstringType2
in
jogamp.graph.font.typecast.ot.table

Best Java code snippets using jogamp.graph.font.typecast.ot.table.CharstringType2 (Showing top 8 results out of 315)

origin: ch.unibas.cs.gravis/scalismo-native-stub

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder();
    resetIP();
    while (moreBytes()) {
      disassemble(sb);
      sb.append("\n");
    }
    return sb.toString();
  }
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

private void disassemble(final StringBuilder sb) {
  Number operand = null;
  while (isOperandAtIndex()) {
    operand = nextOperand();
    sb.append(operand).append(" ");
  }
  int operator = nextByte();
  String mnemonic;
  if (operator == 12) {
    operator = nextByte();
    // Check we're not exceeding the upper limit of our mnemonics
    if (operator > 38) {
      operator = 38;
    }
    mnemonic = _twoByteOperators[operator];
  } else {
    mnemonic = _oneByteOperators[operator];
  }
  sb.append(mnemonic);
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

public Point[] execute(final CharstringType2 cs) {
  _points = new ArrayList<Point>();
  cs.resetIP();
  while (cs.moreBytes()) {
    while (cs.isOperandAtIndex()) {
      pushArg(cs.nextOperand());
    int operator = cs.nextByte();
    if (operator == 12) {
      operator = cs.nextByte();
origin: ch.unibas.cs.gravis/scalismo-native-stub

final int offset = _charStringsIndexArray[i].getOffset(j) - 1;
final int len = _charStringsIndexArray[i].getOffset(j + 1) - offset - 1;
_charstringsArray[i][j] = new CharstringType2(
    i,
    _stringIndex.getString(_charsets[i].getSID(j)),
origin: org.jogamp.jogl/jogl-all-noawt

public Point[] execute(final CharstringType2 cs) {
  _points = new ArrayList<Point>();
  cs.resetIP();
  while (cs.moreBytes()) {
    while (cs.isOperandAtIndex()) {
      pushArg(cs.nextOperand());
    int operator = cs.nextByte();
    if (operator == 12) {
      operator = cs.nextByte();
origin: org.jogamp.jogl/jogl-all-noawt

final int offset = _charStringsIndexArray[i].getOffset(j) - 1;
final int len = _charStringsIndexArray[i].getOffset(j + 1) - offset - 1;
_charstringsArray[i][j] = new CharstringType2(
    i,
    _stringIndex.getString(_charsets[i].getSID(j)),
origin: org.jogamp.jogl/jogl-all-noawt

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder();
    resetIP();
    while (moreBytes()) {
      disassemble(sb);
      sb.append("\n");
    }
    return sb.toString();
  }
}
origin: org.jogamp.jogl/jogl-all-noawt

private void disassemble(final StringBuilder sb) {
  Number operand = null;
  while (isOperandAtIndex()) {
    operand = nextOperand();
    sb.append(operand).append(" ");
  }
  int operator = nextByte();
  String mnemonic;
  if (operator == 12) {
    operator = nextByte();
    // Check we're not exceeding the upper limit of our mnemonics
    if (operator > 38) {
      operator = 38;
    }
    mnemonic = _twoByteOperators[operator];
  } else {
    mnemonic = _oneByteOperators[operator];
  }
  sb.append(mnemonic);
}
jogamp.graph.font.typecast.ot.tableCharstringType2

Javadoc

CFF Type 2 Charstring

Most used methods

  • <init>
    Creates a new instance of CharstringType2
  • disassemble
  • isOperandAtIndex
  • moreBytes
  • nextByte
  • nextOperand
  • resetIP

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • getExternalFilesDir (Context)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JFrame (javax.swing)
  • Best IntelliJ plugins
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