- finished updating DPI setting feature for PNG export in Film Tool
This commit is contained in:
@@ -9,7 +9,8 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
7.10.2020
|
7.10.2020
|
||||||
|
|
||||||
- working on adding DPI setting for PNG export - update
|
- working on adding DPI setting for PNG export in Film Tool - update
|
||||||
|
- finished updating DPI setting feature for PNG export in Film Tool
|
||||||
|
|
||||||
5.10.2020
|
5.10.2020
|
||||||
|
|
||||||
|
|||||||
@@ -456,6 +456,7 @@ class Film(AppTool):
|
|||||||
if dpi_rate != 1 and ftype == 'png':
|
if dpi_rate != 1 and ftype == 'png':
|
||||||
scale_factor_x += dpi_rate
|
scale_factor_x += dpi_rate
|
||||||
scale_factor_y += dpi_rate
|
scale_factor_y += dpi_rate
|
||||||
|
scale_reference = (bounds[0], bounds[1])
|
||||||
|
|
||||||
if box.kind.lower() == 'geometry':
|
if box.kind.lower() == 'geometry':
|
||||||
flat_geo = []
|
flat_geo = []
|
||||||
@@ -712,6 +713,7 @@ class Film(AppTool):
|
|||||||
if dpi_rate != 1 and ftype == 'png':
|
if dpi_rate != 1 and ftype == 'png':
|
||||||
scale_factor_x += dpi_rate
|
scale_factor_x += dpi_rate
|
||||||
scale_factor_y += dpi_rate
|
scale_factor_y += dpi_rate
|
||||||
|
scale_reference = (bounds[0], bounds[1])
|
||||||
|
|
||||||
if box.kind.lower() == 'geometry':
|
if box.kind.lower() == 'geometry':
|
||||||
flat_geo = []
|
flat_geo = []
|
||||||
|
|||||||
Reference in New Issue
Block a user