1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-14 17:34:06 +00:00
Commit Graph

235 Commits

Author SHA1 Message Date
matthew16550
2b712e44c0 Infer lengthAdjust instead of storing it in ImageBuilder. 2021-04-07 19:11:44 +10:00
matthew16550
5c8b1dc46a Infer handwritten instead of storing it in ImageBuilder. 2021-04-07 18:50:19 +10:00
matthew16550
c4fe9f4349 Infer dpi instead of storing it in ImageBuilder. 2021-04-07 18:46:12 +10:00
matthew16550
81abee58fa Refactor duplicate scaleFactor calculations. 2021-04-07 18:38:29 +10:00
matthew16550
9c865ab58b Infer svgCharSizeHack instead of storing it in ImageBuilder. 2021-04-07 18:27:57 +10:00
matthew16550
f0e978de36 Move all ImageBuilder border related code into maybeDrawBorder() method. 2021-04-07 13:01:15 +10:00
arnaudroques
ee0503cbe5
Merge pull request #521 from matthew16550/createImageBuilder
Add AbstractPSystem.createImageBuilder().  Remove styledImageBuilder()
2021-04-05 23:05:24 +02:00
Arnaud Roques
af012b24fb Fix minor regression when exporting Cmap data in PNG image.
DPI is no more relevant, scaleFactor must be used instead.
2021-04-05 22:57:59 +02:00
matthew16550
935c52109b Add AbstractPSystem.createImageBuilder(). Remove styledImageBuilder() 2021-04-04 23:45:56 +10:00
arnaudroques
b659ee4d3b
Merge pull request #520 from matthew16550/skinparam
Simplify default & boolean values in SkinParam
2021-04-04 13:33:26 +02:00
matthew16550
75f80fa2df Simplify default & boolean values in SkinParam. Change "sameClassWidth" param to case insensitive. Rename a few SkinParam tests for consistency. 2021-04-04 21:25:02 +10:00
arnaudroques
49c9fba2ec
Merge pull request #519 from matthew16550/drawable
Add ImageBuilder.imageBuilder() & ImageBuilder.drawable().  Move ImageBuilder creation to CucaDiagram & SequenceDiagram classes.
2021-04-04 12:33:48 +02:00
Arnaud Roques
feba01473c Import version 1.2021.4 2021-04-04 12:31:53 +02:00
matthew16550
af3dbd1cdb Add ImageBuilder.imageBuilder() & ImageBuilder.drawable(). Move ImageBuilder creation to CucaDiagram & SequenceDiagram classes. 2021-04-03 11:49:34 +11:00
arnaudroques
33ba37318c
Merge pull request #518 from nicerloop/gantt-scale-compress
Add compress parameter to print scale command in gantt diagram
2021-04-02 19:28:28 +02:00
arnaudroques
3a9ef9671c
Merge pull request #517 from nicerloop/gantt-scale-yearly-quarterly
Add quarterly and yearly print scale to gantt diagram
2021-04-02 19:28:13 +02:00
Arnaud Roques
9f224e46f3 Minor correction 2021-04-02 19:26:59 +02:00
Loïc PÉRON
638bd2e9ea Add compress parameter to print scale command in gantt diagram 2021-04-02 16:34:14 +02:00
Loïc PÉRON
be69806a96 Add quarterly and yearly print scale to gantt diagram 2021-04-02 16:12:41 +02:00
matthew16550
15c85b7190 Extract FileFormat.getDefaultStringBounder() method 2021-04-02 22:02:44 +11:00
matthew16550
5c58b61278 Fix preserveAspectRatio regression caused in #511 - ensure that "plain" diagrams use a default value of "none". 2021-04-02 17:09:04 +11:00
Arnaud Roques
0e98cae2d0 Minor fixes 2021-03-30 23:19:28 +02:00
arnaudroques
16c3c672df
Merge pull request #513 from matthew16550/getAsInt
Extract SkinParam.getAsInt() method
2021-03-29 09:22:22 +02:00
matthew16550
d5780e48f6 Extract SkinParam.getAsInt() method 2021-03-29 15:50:53 +11:00
matthew16550
75f26baab7 Remove redundant FileFormatOption.affineTransform field (it was always null and could not be set to another value) 2021-03-29 12:00:19 +11:00
matthew16550
13a62c3884 Move preserveAspectRatio & svgLinkTarget calculation to ImageBuilder class. 2021-03-29 01:33:48 +11:00
arnaudroques
8496f821ca
Merge pull request #510 from matthew16550/imagedatacomplex
Undelete ImageDataComplex constructor that was accidentally removed from net.sourceforge.plantuml.api
2021-03-28 12:31:05 +02:00
arnaudroques
4ac177c458
Merge pull request #509 from matthew16550/hoverpathcolor
Move hoverpathcolor calculation to ImageBuilder class.
2021-03-28 12:30:39 +02:00
Arnaud Roques
cb0bcb6952 Minor fixes 2021-03-28 12:30:15 +02:00
matthew16550
d43fe93e2b Undelete ImageDataComplex constructor that was accidentally removed from net.sourceforge.plantuml.api in commit a746d98 2021-03-28 12:36:41 +11:00
matthew16550
1c70b9ea34 Move hoverpathcolor calculation to ImageBuilder class. 2021-03-28 12:05:48 +11:00
Arnaud Roques
986393d90d Improve URL management 2021-03-25 18:46:44 +01:00
matthew16550
880441b1cf Replace UGraphicUtils with ImageBuilder. 2021-03-25 21:49:53 +11:00
matthew16550
d7127326ad Minor simplifications in ImageBuilder 2021-03-25 13:26:11 +11:00
matthew16550
a746d98e3d ImageBuilder simplifications 2021-03-24 14:53:58 +11:00
Arnaud Roques
b982cc4caf Update file header 2021-03-23 23:10:34 +01:00
Arnaud Roques
d579f6899f Add few non regression tests 2021-03-23 18:14:35 +01:00
matthew16550
bc2cc49550 Merge ImageParameter into ImageBuilder 2021-03-24 01:11:20 +11:00
matthew16550
68be6ae4a0 Simplify passing around of seed value. 2021-03-24 00:06:33 +11:00
arnaudroques
3cbe042f8e
Merge pull request #504 from matthew16550/builders-2
Add plainImageBuilder() plainPngBuilder() styledImageBuilder() and PlainDiagram / PlainStringsDiagram classes
2021-03-23 11:13:07 +01:00
Arnaud Roques
c2eadfd3e4 Add minor correction and some test test 2021-03-23 11:11:32 +01:00
matthew16550
ac1fa530cf Extract common functionality to new ImageBuilder methods plainImageBuilder() plainPngBuilder() styledImageBuilder() and to PlainDiagram / PlainStringsDiagram classes. 2021-03-23 20:40:50 +11:00
Arnaud Roques
efab37d3ce Import version 1.2021.3 2021-03-22 19:00:32 +01:00
Arnaud Roques
2efa343e38 Decouple StringBounderDebug from any OS 2021-03-22 14:20:24 +01:00
Arnaud Roques
aad084e5a1 Try to turn around some rounding issues 2021-03-22 10:54:54 +01:00
Arnaud Roques
0d6a17a27e Fix SimpleSequenceDiagramTest by using the appropriate StringBounderDebug 2021-03-22 09:45:48 +01:00
Arnaud Roques
bdc0eb9709 Add a first test using Debug format output 2021-03-21 13:52:20 +01:00
matthew16550
720d9f5203 Tweak Smetana Y offset to avoid clipping at top 2021-03-21 19:07:28 +11:00
matthew16550
9f576036df Fix top & left margin problems with CucaDiagrams (#497) 2021-03-21 00:37:59 +11:00
Arnaud Roques
ad2e9d5fb3 Remove unused files 2021-03-19 18:27:32 +01:00