MCPcopy Create free account
hub / github.com/benfry/processing4 / textCharModelImpl

Method textCharModelImpl

core/src/processing/core/PGraphics.java:5147–5176  ·  view source on GitHub ↗
(PImage glyph,
                                   float x1, float y1, //float z1,
                                   float x2, float y2, //float z2,
                                   int u2, int v2)

Source from the content-addressed store, hash-verified

5145
5146
5147 protected void textCharModelImpl(PImage glyph,
5148 float x1, float y1, //float z1,
5149 float x2, float y2, //float z2,
5150 int u2, int v2) {
5151 boolean savedTint = tint;
5152 int savedTintColor = tintColor;
5153 float savedTintR = tintR;
5154 float savedTintG = tintG;
5155 float savedTintB = tintB;
5156 float savedTintA = tintA;
5157 boolean savedTintAlpha = tintAlpha;
5158
5159 tint = true;
5160 tintColor = fillColor;
5161 tintR = fillR;
5162 tintG = fillG;
5163 tintB = fillB;
5164 tintA = fillA;
5165 tintAlpha = fillAlpha;
5166
5167 imageImpl(glyph, x1, y1, x2, y2, 0, 0, u2, v2);
5168
5169 tint = savedTint;
5170 tintColor = savedTintColor;
5171 tintR = savedTintR;
5172 tintG = savedTintG;
5173 tintB = savedTintB;
5174 tintA = savedTintA;
5175 tintAlpha = savedTintAlpha;
5176 }
5177
5178
5179 /*

Callers 1

textCharImplMethod · 0.95

Calls 1

imageImplMethod · 0.95

Tested by

no test coverage detected