|
KiCad PCB EDA Suite
|
#include <sch_io/ole_image.h>#include <algorithm>#include <cmath>#include <limits>#include <memory>#include <string_view>#include <boost/endian/conversion.hpp>#include <emf2svg.h>#include <fontconfig/fontconfig.h>#include <nanosvg.h>#include <nanosvgrast.h>#include <paths.h>#include <wx/filename.h>#include <wx/image.h>#include <wx/log.h>Go to the source code of this file.
Functions | |
| bool | OleRenderEmf (const std::vector< uint8_t > &aEmf, int aMaxWidth, int aMaxHeight, wxImage &aImage, double aTargetAspect) |
| bool OleRenderEmf | ( | const std::vector< uint8_t > & | aEmf, |
| int | aMaxWidth, | ||
| int | aMaxHeight, | ||
| wxImage & | aImage, | ||
| double | aTargetAspect ) |
Definition at line 122 of file ole_emf.cpp.
References fonts, image, KiROUND(), OleWmfRenderSize(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and OleRenderMetafilePreview().