Zend Framework

Zend_Pdf - Drawing rounded corners rectangle

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.1.5
  • Fix Version/s: 1.10.0
  • Component/s: Zend_Pdf
  • Labels:
    None

Description

New function to draw rouded corners rectangle (one, two, .. or all corners) like FPDF lib (can I post the link? http://www.fpdf.org/en/script/script35.php).
Thanks

Activity

Hide
Willie Alberty added a comment -

I'll try to roll this into the layout classes I've been working on. There are some new geometry classes (such as Zend_Pdf_Rect) that should make such a feature easier to implement.

Show
Willie Alberty added a comment - I'll try to roll this into the layout classes I've been working on. There are some new geometry classes (such as Zend_Pdf_Rect) that should make such a feature easier to implement.
Hide
Marco Barberis added a comment -

Hi Willie,
with this new features can we will use "tag-formatted" text and circular text??
Do you implements bookmarks and protection functions?
Thanks

Show
Marco Barberis added a comment - Hi Willie, with this new features can we will use "tag-formatted" text and circular text?? Do you implements bookmarks and protection functions? Thanks
Hide
Willie Alberty added a comment -

The first revisions will not support tagged text. The API works by assigning attributes to character ranges. However, some type of tagging support (perhaps a subset of HTML) is on my long-term list.

I'm not sure what you mean by circular text. Can you give an example?

Bookmark support is currently missing, and I realized that there was no issue for it. You can track the progress of bookmark support now in ZF-314. For encryption (protection) functions, refer to ZF-13.

Show
Willie Alberty added a comment - The first revisions will not support tagged text. The API works by assigning attributes to character ranges. However, some type of tagging support (perhaps a subset of HTML) is on my long-term list. I'm not sure what you mean by circular text. Can you give an example? Bookmark support is currently missing, and I realized that there was no issue for it. You can track the progress of bookmark support now in ZF-314. For encryption (protection) functions, refer to ZF-13.
Hide
Marco Barberis added a comment -

Here a circular text example (http://www.fpdf.org/en/script/script82.php). But.. with an image (like in the Zend_Pdf demo) the result is better. What do you think?

I'm watching bookmarks and encryption issues now!

Show
Marco Barberis added a comment - Here a circular text example (http://www.fpdf.org/en/script/script82.php). But.. with an image (like in the Zend_Pdf demo) the result is better. What do you think? I'm watching bookmarks and encryption issues now!
Hide
Bill Karwin added a comment -

Changing fix version to unknown.

Show
Bill Karwin added a comment - Changing fix version to unknown.
Hide
Bill Karwin added a comment -

Changing fix version to 0.6.0.

Show
Bill Karwin added a comment - Changing fix version to 0.6.0.
Hide
Alexander Veremyev added a comment -

Assignee is changed to postpone issue to post-1.0 period

Show
Alexander Veremyev added a comment - Assignee is changed to postpone issue to post-1.0 period
Hide
Alexander Veremyev added a comment -

Postponed to post-1.0 period

Show
Alexander Veremyev added a comment - Postponed to post-1.0 period
Hide
Wil Sinclair added a comment -

Resetting 'fix version priority' and 'fix version' to be re-evaluated for next release.

Show
Wil Sinclair added a comment - Resetting 'fix version priority' and 'fix version' to be re-evaluated for next release.
Hide
Willie Alberty added a comment -

Unassigning Zend_Pdf issues currently assigned to me pending decision on ZF 2.0 release timeframe and potential contribution of comprehensive changeset.

Show
Willie Alberty added a comment - Unassigning Zend_Pdf issues currently assigned to me pending decision on ZF 2.0 release timeframe and potential contribution of comprehensive changeset.
Hide
Wil Sinclair added a comment -

Alex, please evaluate and decide how to move forward on this. If it won't be addressed within the 1.8 time frame, please leave a comment and changed it to 'postponed' status.

Show
Wil Sinclair added a comment - Alex, please evaluate and decide how to move forward on this. If it won't be addressed within the 1.8 time frame, please leave a comment and changed it to 'postponed' status.
Hide
Christopher Thomas added a comment -

Attached is a patch that includes the code, documentation, and modified unit tests for rectangles with rounded corners. It is implemented differently than fpdf, but provides the same functionality. In the unit tests, I also made the regular rectangle and line bigger to accommodate the new rounded rectangle.

Show
Christopher Thomas added a comment - Attached is a patch that includes the code, documentation, and modified unit tests for rectangles with rounded corners. It is implemented differently than fpdf, but provides the same functionality. In the unit tests, I also made the regular rectangle and line bigger to accommodate the new rounded rectangle.
Hide
Alexander Veremyev added a comment -

Patch is applied

Show
Alexander Veremyev added a comment - Patch is applied

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
1d
Original Estimate - 1 day
Remaining:
1d
Remaining Estimate - 1 day
Logged:
Not Specified
Time Spent - Not Specified