igumnoff / shiva

Shiva library: Implementation in Rust of a parser and generator for documents of any type
https://docs.rs/shiva
Apache License 2.0
285 stars 15 forks source link

Add image support into PDF generator #17

Closed evgenyigumnov closed 6 months ago

evgenyigumnov commented 6 months ago
  1. Implement "Add image support into PDF generator"
  2. Add properties like "width" and "height"
  3. Position of image relative. Add property "vertical_position" and "horizontal_position" by defaul it have 0 value. If you need move image on 20 mm to right you just change vertical_position = 20.0
  4. Units test requered for this new feature