MCPcopy Index your code
hub / github.com/benfry/processing4 / writeBitmap

Method writeBitmap

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

Source from the content-addressed store, hash-verified

1035
1036
1037 protected void writeBitmap(DataOutputStream os) throws IOException {
1038 int[] pixels = image.pixels;
1039 for (int y = 0; y < height; y++) {
1040 for (int x = 0; x < width; x++) {
1041 os.write(pixels[y * width + x] & 0xff);
1042 }
1043 }
1044 }
1045
1046
1047 protected Glyph(char c) {

Callers 1

saveMethod · 0.80

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected