MCPcopy Index your code
hub / github.com/processing/processing / FontOutline

Method FontOutline

core/src/processing/opengl/PJOGL.java:724–730  ·  view source on GitHub ↗
(char ch, Font font)

Source from the content-addressed store, hash-verified

722 PathIterator iter;
723
724 public FontOutline(char ch, Font font) {
725 char textArray[] = new char[] { ch };
726 FontRenderContext frc = getFontRenderContext(font);
727 GlyphVector gv = font.createGlyphVector(frc, textArray);
728 Shape shp = gv.getOutline();
729 iter = shp.getPathIterator(null);
730 }
731
732 public boolean isDone() {
733 return iter.isDone();

Callers

nothing calls this directly

Calls 2

getFontRenderContextMethod · 0.80
getPathIteratorMethod · 0.80

Tested by

no test coverage detected