Utility for handling Excel's complex coordinate and measurement conversions. Excel uses EMU (English Metric Units) for drawings. 1 inch = 914400 EMUs. At 96 DPI (Standard), 1 pixel = 9525 EMUs.
More...
#include <XLEMUConverter.hpp>
|
| static constexpr int32_t | pixelsToEmu (int32_t pixels) noexcept |
| |
| static constexpr int32_t | emuToPixels (int32_t emus) noexcept |
| |
Utility for handling Excel's complex coordinate and measurement conversions. Excel uses EMU (English Metric Units) for drawings. 1 inch = 914400 EMUs. At 96 DPI (Standard), 1 pixel = 9525 EMUs.
◆ emuToPixels()
| static constexpr int32_t OpenXLSX::XLEMUConverter::emuToPixels |
( |
int32_t |
emus | ) |
|
|
inlinestaticconstexprnoexcept |
◆ pixelsToEmu()
| static constexpr int32_t OpenXLSX::XLEMUConverter::pixelsToEmu |
( |
int32_t |
pixels | ) |
|
|
inlinestaticconstexprnoexcept |
◆ PIXELS_TO_EMU_FACTOR
| constexpr int32_t OpenXLSX::XLEMUConverter::PIXELS_TO_EMU_FACTOR = 9525 |
|
staticconstexpr |
The documentation for this class was generated from the following file: