Add border radius support for image
This commit is contained in:
parent
c896cd8d31
commit
44e68aa4b6
15 changed files with 256 additions and 188 deletions
|
|
@ -241,9 +241,9 @@ impl From<u8> for Radius {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<u16> for Radius {
|
||||
fn from(w: u16) -> Self {
|
||||
Self::from(f32::from(w))
|
||||
impl From<u32> for Radius {
|
||||
fn from(w: u32) -> Self {
|
||||
Self::from(w as f32)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue