Parameters to adding image from file. More...
#include <MRPdf.h>
Public Attributes | |
Vector2f | size |
std::string | caption |
caption if not empty - add caption under marks (if exist) or image. | |
bool | uniformScaleFromWidth = false |
set height to keep same scale as width scale | |
Parameters to adding image from file.
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)
bool MR::Pdf::ImageParams::uniformScaleFromWidth = false |
set height to keep same scale as width scale