diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-23 11:09:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-23 11:09:30 +0000 |
commit | 77ffa889f48c11847a76d36601dd346e549e13b0 (patch) | |
tree | 7c6daf75a8cf26ac013131cadf014a35aef54f2c /docs | |
parent | Releasing debian version 0.10.0-1. (diff) | |
download | pydyf-77ffa889f48c11847a76d36601dd346e549e13b0.tar.xz pydyf-77ffa889f48c11847a76d36601dd346e549e13b0.zip |
Merging upstream version 0.11.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/changelog.rst | 39 | ||||
-rw-r--r-- | docs/common_use_cases.rst | 10 |
2 files changed, 43 insertions, 6 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst index 7afce9d..76b58e7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,8 +2,45 @@ Changelog ========= +Version 0.11.0 +-------------- + +Released on + +New features: + +* Remove deprecated version and identifier parameters +* Change some function names for consistency +* Allow extra operands for special colors + +Contributors: + +* Guillaume Ayoub +* Lucie Anglade + +Backers and sponsors: + +* Spacinov +* Kobalt +* Grip Angebotssoftware +* Manuel Barkhau +* SimonSoft +* Menutech +* KontextWork +* Simon Sapin +* René Fritz +* TrainingSparkle +* Healthchecks.io +* Hammerbacher +* Docraptor +* Advance Insight +* Yanal-Yvez Fargialla +* Morntag +* Xavid + + Version 0.10.0 -------------- +-------------- Released on 2024-04-29. diff --git a/docs/common_use_cases.rst b/docs/common_use_cases.rst index d8343b3..3aceb4f 100644 --- a/docs/common_use_cases.rst +++ b/docs/common_use_cases.rst @@ -34,7 +34,7 @@ Draw rectangles and lines draw.rectangle(50, 50, 20, 40) draw.set_dash([], 0) draw.set_line_width(10) - draw.transform(1, 0, 0, 1, 80, 80) + draw.set_matrix(1, 0, 0, 1, 80, 80) draw.fill() # Add the stream with the two rectangles into the document @@ -73,7 +73,7 @@ Add some color draw.rectangle(50, 50, 20, 40) draw.set_dash([], 0) draw.set_line_width(10) - draw.transform(1, 0, 0, 1, 80, 80) + draw.set_matrix(1, 0, 0, 1, 80, 80) draw.fill() document.add_object(draw) @@ -113,7 +113,7 @@ Display image image = pydyf.Stream() image.push_state() - image.transform(100, 0, 0, 100, 100, 100) + image.set_matrix(100, 0, 0, 100, 100, 100) image.draw_x_object('Im1') image.pop_state() document.add_object(image) @@ -159,7 +159,7 @@ Display text text = pydyf.Stream() text.begin_text() text.set_font_size('F1', 20) - text.text_matrix(1, 0, 0, 1, 10, 90) + text.set_text_matrix(1, 0, 0, 1, 10, 90) text.show_text(pydyf.String('Bœuf grillé & café'.encode('macroman'))) text.end_text() @@ -234,7 +234,7 @@ Display inline QR-code image stream.push_state() x = 0 y = 0 - stream.transform(width, 0, 0, height, x, y) + stream.set_matrix(width, 0, 0, height, x, y) # Add the 1-bit grayscale image inline in the PDF stream.inline_image(width, height, 'Gray', 1, raw_data) stream.pop_state() |