Parameters to adding image from file. More...
#include <MRPdf.h>
Public Types | |
| enum class | UniformScale { None , FromWidth , FromHeight , Auto } |
| set height to keep same scale as width scale More... | |
| enum class | AlignmentVertical { Top , Center , Bottom } |
Public Attributes | |
| Vector2f | size |
| std::string | caption |
| caption if not empty - add caption under marks (if exist) or image. | |
| enum MR::Pdf::ImageParams::UniformScale | uniformScale = UniformScale::None |
| enum MR::Pdf::ImageParams::AlignmentVertical | alignmentVertical = AlignmentVertical::Top |
| AlignmentHorizontal | alignmentHorizontal = AlignmentHorizontal::Left |
Parameters to adding image from file.
|
strong |
|
strong |
| AlignmentHorizontal MR::Pdf::ImageParams::alignmentHorizontal = AlignmentHorizontal::Left |
| enum MR::Pdf::ImageParams::AlignmentVertical MR::Pdf::ImageParams::alignmentVertical = AlignmentVertical::Top |
| std::string MR::Pdf::ImageParams::caption |
caption if not empty - add caption under marks (if exist) or image.
| Vector2f MR::Pdf::ImageParams::size |
image size in page space if == {0, 0} - use image size if .x or .y < 0 use the available page size from the current cursor position (caption size is also accounted for)
| enum MR::Pdf::ImageParams::UniformScale MR::Pdf::ImageParams::uniformScale = UniformScale::None |