all: implement output transforms
This commit is contained in:
parent
79df8d69f4
commit
b7d2964e19
20 changed files with 254 additions and 71 deletions
|
|
@ -55,7 +55,7 @@ pub struct Renderer<'a> {
|
|||
pub state: &'a State,
|
||||
pub result: Option<&'a mut RenderResult>,
|
||||
pub logical_extents: Rect,
|
||||
pub physical_extents: Rect,
|
||||
pub pixel_extents: Rect,
|
||||
}
|
||||
|
||||
impl Renderer<'_> {
|
||||
|
|
@ -63,8 +63,8 @@ impl Renderer<'_> {
|
|||
self.base.scale
|
||||
}
|
||||
|
||||
pub fn physical_extents(&self) -> Rect {
|
||||
self.physical_extents
|
||||
pub fn pixel_extents(&self) -> Rect {
|
||||
self.pixel_extents
|
||||
}
|
||||
|
||||
pub fn logical_extents(&self) -> Rect {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue