PDF plotting: support bitmaps with transparency.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5979
This commit is contained in:
Alex Shvartzkop
2023-07-07 23:29:46 +05:00
parent 30c2049977
commit 2689037bde
3 changed files with 261 additions and 84 deletions
+3
View File
@@ -493,6 +493,7 @@ protected:
int m_pageTreeHandle; ///< Handle to the root of the page tree object
int m_fontResDictHandle; ///< Font resource dictionary
int m_imgResDictHandle; ///< Image resource dictionary
int m_jsNamesHandle; ///< Handle for Names dictionary with JS
std::vector<int> m_pageHandles; ///< Handles to the page objects
int m_pageStreamHandle; ///< Handle of the page content object
@@ -515,6 +516,8 @@ protected:
std::map<wxString, std::vector<std::pair<BOX2I, wxString>>> m_bookmarksInPage;
std::map<int, wxImage> m_imageHandles;
std::unique_ptr<OUTLINE_NODE> m_outlineRoot; ///< Root outline node
int m_totalOutlineNodes; ///< Total number of outline nodes
};