Details
Description
We are ultimately rendering to Java2D with ICEpdf, so it would be nice if the page dimensions it returned could be an instance of the standard Dimension2D class.
I'm not too keen on using toDimension() as it returns a Dimension which has only int values, whereas if we could use it as a Dimension2D directly we would get the best of both worlds (compatibility with the rest of the Java2D API, plus keeping the dimensions stored as float internally.)
At the moment our workaround for this is to wrap it in our own delegate class which extends Dimension2D.
I'm not too keen on using toDimension() as it returns a Dimension which has only int values, whereas if we could use it as a Dimension2D directly we would get the best of both worlds (compatibility with the rest of the Java2D API, plus keeping the dimensions stored as float internally.)
At the moment our workaround for this is to wrap it in our own delegate class which extends Dimension2D.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Affects Version/s | 3.1 [ 10181 ] | |
Affects Version/s | 3.0 [ 10180 ] |
Salesforce Case | [] | |
Fix Version/s | 3.1 [ 10181 ] | |
Affects Version/s | 3.0 [ 10180 ] | |
Affects Version/s | 3.1 [ 10181 ] |
Fix Version/s | 3.2 [ 10212 ] | |
Fix Version/s | 3.1 [ 10181 ] |
Fix Version/s | 4.0 - Beta [ 10212 ] |
Fix Version/s | 5.2 [ 10970 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |