Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/kas-core/src/draw/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl<'a, DS: DrawSharedImpl> DrawIface<'a, DS> {
/// Text is drawn from `pos` and clipped to `bounding_box`.
///
/// The `text` display must be prepared prior to calling this method.
/// Typically this is done using a [`crate::theme::Text`] object.
/// Typically this is done using a [`crate::text::Text`] object.
pub fn text_with_color(
&mut self,
pos: Vec2,
Expand Down Expand Up @@ -263,7 +263,7 @@ pub trait Draw {
/// Text is drawn from `pos` and clipped to `bounding_box`.
///
/// The `text` display must be prepared prior to calling this method.
/// Typically this is done using a [`crate::theme::Text`] object.
/// Typically this is done using a [`crate::text::Text`] object.
fn text(
&mut self,
pos: Vec2,
Expand All @@ -280,7 +280,7 @@ pub trait Draw {
/// Draw text decorations (e.g. underlines)
///
/// The `text` display must be prepared prior to calling this method.
/// Typically this is done using a [`crate::theme::Text`] object.
/// Typically this is done using a [`crate::text::Text`] object.
fn decorate_text(
&mut self,
pos: Vec2,
Expand Down
4 changes: 2 additions & 2 deletions crates/kas-core/src/draw/draw_shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ pub trait DrawSharedImpl: Any {
/// Text is drawn from `pos` and clipped to `bounding_box`.
///
/// The `text` display must be prepared prior to calling this method.
/// Typically this is done using a [`crate::theme::Text`] object.
/// Typically this is done using a [`crate::text::Text`] object.
fn draw_text(
&mut self,
draw: &mut Self::Draw,
Expand All @@ -208,7 +208,7 @@ pub trait DrawSharedImpl: Any {
/// Draw text decorations (e.g. underlines)
///
/// The `text` display must be prepared prior to calling this method.
/// Typically this is done using a [`crate::theme::Text`] object.
/// Typically this is done using a [`crate::text::Text`] object.
fn decorate_text(
&mut self,
draw: &mut Self::Draw,
Expand Down
Loading