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

Method textCharModelImpl

core/src/processing/core/PGraphics.java:5076–5105  ·  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

5074
5075
5076 protected void textCharModelImpl(PImage glyph,
5077 float x1, float y1, //float z1,
5078 float x2, float y2, //float z2,
5079 int u2, int v2) {
5080 boolean savedTint = tint;
5081 int savedTintColor = tintColor;
5082 float savedTintR = tintR;
5083 float savedTintG = tintG;
5084 float savedTintB = tintB;
5085 float savedTintA = tintA;
5086 boolean savedTintAlpha = tintAlpha;
5087
5088 tint = true;
5089 tintColor = fillColor;
5090 tintR = fillR;
5091 tintG = fillG;
5092 tintB = fillB;
5093 tintA = fillA;
5094 tintAlpha = fillAlpha;
5095
5096 imageImpl(glyph, x1, y1, x2, y2, 0, 0, u2, v2);
5097
5098 tint = savedTint;
5099 tintColor = savedTintColor;
5100 tintR = savedTintR;
5101 tintG = savedTintG;
5102 tintB = savedTintB;
5103 tintA = savedTintA;
5104 tintAlpha = savedTintAlpha;
5105 }
5106
5107
5108 /*

Callers 2

textCharImplMethod · 0.95
textCharImplMethod · 0.45

Calls 1

imageImplMethod · 0.95

Tested by

no test coverage detected