- finished updating DPI setting feature for PNG export in Film Tool

This commit is contained in:
Marius Stanciu 2020-10-07 00:26:12 +03:00
parent efdcc6d6ee
commit aa073a2b40
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,8 @@ CHANGELOG for FlatCAM beta
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

View File

@ -456,6 +456,7 @@ class Film(AppTool):
if dpi_rate != 1 and ftype == 'png':
scale_factor_x += dpi_rate
scale_factor_y += dpi_rate
scale_reference = (bounds[0], bounds[1])
if box.kind.lower() == 'geometry':
flat_geo = []
@ -712,6 +713,7 @@ class Film(AppTool):
if dpi_rate != 1 and ftype == 'png':
scale_factor_x += dpi_rate
scale_factor_y += dpi_rate
scale_reference = (bounds[0], bounds[1])
if box.kind.lower() == 'geometry':
flat_geo = []