mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Change footprint to always be in physical instead of logical space (#4280)
* Fix footprint scale * Footprint in physical pixels * Move scale conversion to `create_context` * Remove scale from render cache * Review
This commit is contained in:
@@ -213,8 +213,6 @@ pub enum RenderOutputType {
|
||||
pub struct RenderParams {
|
||||
pub render_mode: RenderMode,
|
||||
pub footprint: Footprint,
|
||||
/// Ratio of physical pixels to logical pixels. `scale := physical_pixels / logical_pixels`
|
||||
/// Ignored when rendering to SVG.
|
||||
#[cache_hash(skip)]
|
||||
pub scale: f64,
|
||||
pub render_output_type: RenderOutputType,
|
||||
|
||||
Reference in New Issue
Block a user