MCPcopy Index your code
hub / github.com/endbasic/endbasic / set_size_pixels

Method set_size_pixels

std/src/testutils.rs:206–208  ·  view source on GitHub ↗

Sets the size of the mock graphical console.

(&mut self, size: SizeInPixels)

Source from the content-addressed store, hash-verified

204
205 /// Sets the size of the mock graphical console.
206 pub fn set_size_pixels(&mut self, size: SizeInPixels) {
207 self.size_pixels = Some(size);
208 }
209
210 /// Sets the size of a glyph in the mock graphical console.
211 pub fn set_glyph_size(&mut self, size: SizeInPixels) {

Callers 2

test_gfx_heightFunction · 0.80
test_gfx_widthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected