B:BD[
3.1153] → [
3.1153:1188]
B:BD[
3.1188] → [
2.2543:2621]
∅:D[
5.78] → [
3.1266:1277]
∅:D[
2.2621] → [
3.1266:1277]
B:BD[
3.1266] → [
3.1266:1277]
vec![(
buffer,
BufferMapper::new(self.convert_world_to_glyphon_world(loc), 1.0),
)]
let mut buffer2 = Buffer::new(&mut self.fonts, metrics);
{
let mut buffer2 = buffer2.borrow_with(&mut self.fonts);
buffer2.set_size(250.0, 25.0);
let attrs = Attrs::new()
.family(glyphon::Family::Name("Poiret One"))
.color(glyphon::Color::rgb(255, 255, 255));
buffer2.set_text("Hello, bloom! 🦀\n", attrs, Shaping::Advanced);
buffer2.shape_until_scroll();
}
let loc2 = glam::Vec2::new(32.0, 64.0);
vec![
(
buffer,
BufferMapper::new(self.convert_world_to_glyphon_world(loc), 1.0),
),
(
buffer2,
BufferMapper::new(self.convert_world_to_glyphon_world(loc2), 1.0),
),
]