MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::Pdf::ImageParams Struct Reference

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
 

Detailed Description

Parameters to adding image from file.

Member Data Documentation

◆ caption

std::string MR::Pdf::ImageParams::caption

caption if not empty - add caption under marks (if exist) or image.

◆ size

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)

◆ uniformScaleFromWidth

bool MR::Pdf::ImageParams::uniformScaleFromWidth = false

set height to keep same scale as width scale


The documentation for this struct was generated from the following file: