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

Method writeBitmap

core/src/processing/core/PFont.java:1050–1057  ·  view source on GitHub ↗
(DataOutputStream os)

Source from the content-addressed store, hash-verified

1048
1049
1050 protected void writeBitmap(DataOutputStream os) throws IOException {
1051 int[] pixels = image.pixels;
1052 for (int y = 0; y < height; y++) {
1053 for (int x = 0; x < width; x++) {
1054 os.write(pixels[y * width + x] & 0xff);
1055 }
1056 }
1057 }
1058
1059
1060 protected Glyph(char c) {

Callers 1

saveMethod · 0.80

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected