Lines Matching defs:painter

103      * Fetch the currently installed glyph painter.
104 * If a painter has not yet been installed, and
108 return painter;
112 * Sets the painter to use for rendering glyphs.
115 painter = p;
248 * Check to see that a glyph painter exists. If a painter
249 * doesn't exist, a default glyph painter will be installed.
252 if (painter == null) {
269 throw new StateInvariantError("GlyphView: Can't load glyph painter: "
305 float width = painter.getSpan(this, p0, p1, expander, x);
330 float width = painter.getSpan(this, p0, p1, expander, x);
491 painter.paint(this, g, a, p0, p1);
512 x0 += (int) painter.getSpan(this, p, p0, getTabExpander(), x0);
514 int x1 = x0 + (int) painter.getSpan(this, p0, p1, getTabExpander(), x0);
517 int y = alloc.y + alloc.height - (int) painter.getDescent(this);
524 int yTmp = y - (int) (painter.getAscent(this) * 0.3f);
592 return painter.getSpan(this, p0, p1, expander, this.x);
594 float h = painter.getHeight(this);
622 float h = painter.getHeight(this);
623 float d = painter.getDescent(this);
624 float a = painter.getAscent(this);
653 return painter.modelToView(this, pos, b, a);
672 return painter.viewToModel(this, x, y, a, biasReturn);
722 int p1 = painter.getBoundedPosition(this, p0, pos, len);
754 int p1 = painter.getBoundedPosition(this, p0, pos, len);
871 v.painter = painter.getPainter(v, p0, p1);
899 return painter.getNextVisualPositionFrom(this, pos, b, a, direction, biasRet);
1109 GlyphPainter painter;
1112 * The prototype painter used by default.
1211 * Create a painter to use for the given GlyphView. If
1212 * the painter carries state it can create another painter
1214 * the painter doesn't hold any significant state, it can
1216 * @param v the <code>GlyphView</code> to provide a painter for