https://bugs.kde.org/show_bug.cgi?id=405075

Ralf Habacker <ralf.habac...@freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/kdi |https://commits.kde.org/kdi
                   |agram/347e5dda7b684f49afbfd |agram/17b914e037c03626c8085
                   |63177f28e4754891eb7         |169bd2d2113cada353c

--- Comment #9 from Ralf Habacker <ralf.habac...@freenet.de> ---
Git commit 17b914e037c03626c8085169bd2d2113cada353c by Ralf Habacker.
Committed on 13/10/2019 at 12:42.
Pushed by habacker into branch '2.6'.

Reimplement Chart::paint() to fix printing issues

The previous implementation did not take the headers and footers
into account when resizing the diagram.

The implementation has been taken from AbstractArea::paintIntoRectArea().

This patch adds the method PrintingParameters::scaleFactor(), because
in branch 2.6 the class member PrintingParameters::scaleFactor was made
private.
FIXED-IN:2.6.2

Test Plan: tested on linux
Reviewed By: danders
Differential Revision: https://phabricator.kde.org/D19541
(cherry picked from commit 347e5dda7b684f49afbfd63177f28e4754891eb7)

M  +14   -45   src/KChart/KChartChart.cpp
M  +2    -2    src/KChart/KChartChart.h
M  +11   -6    src/KChart/KChartPrintingParameters.cpp
M  +2    -1    src/KChart/KChartPrintingParameters.h

https://commits.kde.org/kdiagram/17b914e037c03626c8085169bd2d2113cada353c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to