all: add support for hy3 like tiling
This commit is contained in:
parent
a41dbae899
commit
cea4187fc0
21 changed files with 1237 additions and 48 deletions
|
|
@ -259,6 +259,20 @@ impl RendererBase<'_> {
|
|||
render_intent: RenderIntent,
|
||||
corner_radius: CornerRadius,
|
||||
border_width: f32,
|
||||
) {
|
||||
self.fill_rounded_rect_z(rect, color, alpha, cd, render_intent, corner_radius, border_width, 0)
|
||||
}
|
||||
|
||||
pub fn fill_rounded_rect_z(
|
||||
&mut self,
|
||||
rect: Rect,
|
||||
color: &Color,
|
||||
alpha: Option<f32>,
|
||||
cd: &Rc<LinearColorDescription>,
|
||||
render_intent: RenderIntent,
|
||||
corner_radius: CornerRadius,
|
||||
border_width: f32,
|
||||
z_order: u32,
|
||||
) {
|
||||
if *color == Color::TRANSPARENT {
|
||||
return;
|
||||
|
|
@ -288,6 +302,7 @@ impl RendererBase<'_> {
|
|||
corner_radius: cr,
|
||||
border_width,
|
||||
scale,
|
||||
z_order,
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue