Rename Renderer::Primitive to Renderer::Output
This commit is contained in:
parent
650d020fde
commit
8846a239cf
25 changed files with 48 additions and 48 deletions
|
|
@ -67,7 +67,7 @@ impl text::Renderer for Renderer {
|
|||
})
|
||||
}
|
||||
|
||||
fn draw(&mut self, text: &Text, layout: Layout<'_>) -> Self::Primitive {
|
||||
fn draw(&mut self, text: &Text, layout: Layout<'_>) -> Self::Output {
|
||||
Primitive::Text {
|
||||
content: text.content.clone(),
|
||||
size: f32::from(text.size.unwrap_or(20)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue