Rename viewport to clip_bounds
This commit is contained in:
parent
43a7cc2222
commit
b526ce4958
11 changed files with 53 additions and 50 deletions
|
|
@ -64,7 +64,7 @@ impl text::Renderer for Null {
|
|||
_paragraph: &Self::Paragraph,
|
||||
_position: Point,
|
||||
_color: Color,
|
||||
_viewport: Rectangle,
|
||||
_clip_bounds: Rectangle,
|
||||
) {
|
||||
}
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ impl text::Renderer for Null {
|
|||
_editor: &Self::Editor,
|
||||
_position: Point,
|
||||
_color: Color,
|
||||
_viewport: Rectangle,
|
||||
_clip_bounds: Rectangle,
|
||||
) {
|
||||
}
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ impl text::Renderer for Null {
|
|||
_paragraph: Text<'_, Self::Font>,
|
||||
_position: Point,
|
||||
_color: Color,
|
||||
_viewport: Rectangle,
|
||||
_clip_bounds: Rectangle,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ pub trait Renderer: crate::Renderer {
|
|||
text: &Self::Paragraph,
|
||||
position: Point,
|
||||
color: Color,
|
||||
viewport: Rectangle,
|
||||
clip_bounds: Rectangle,
|
||||
);
|
||||
|
||||
/// Draws the given [`Editor`] at the given position and with the given
|
||||
|
|
@ -212,7 +212,7 @@ pub trait Renderer: crate::Renderer {
|
|||
editor: &Self::Editor,
|
||||
position: Point,
|
||||
color: Color,
|
||||
viewport: Rectangle,
|
||||
clip_bounds: Rectangle,
|
||||
);
|
||||
|
||||
/// Draws the given [`Text`] at the given position and with the given
|
||||
|
|
@ -222,6 +222,6 @@ pub trait Renderer: crate::Renderer {
|
|||
text: Text<'_, Self::Font>,
|
||||
position: Point,
|
||||
color: Color,
|
||||
viewport: Rectangle,
|
||||
clip_bounds: Rectangle,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue