KiCad PCB EDA Suite
Loading...
Searching...
No Matches
orcad_ole.h
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*/
11
12
#ifndef ORCAD_OLE_H_
13
#define ORCAD_OLE_H_
14
15
#include <cstdint>
16
#include <vector>
17
18
class
wxImage;
19
20
enum class
ORCAD_OLE_PREVIEW_TYPE
21
{
22
NONE
,
23
BMP
,
24
DIB
,
25
WMF
26
};
27
28
struct
ORCAD_OLE_PREVIEW
29
{
30
ORCAD_OLE_PREVIEW_TYPE
type
=
ORCAD_OLE_PREVIEW_TYPE::NONE
;
31
std::vector<uint8_t>
data
;
32
};
33
34
ORCAD_OLE_PREVIEW
OrcadExtractOlePreview
(
const
std::vector<uint8_t>& aPayload );
35
36
bool
OrcadRenderWmf
(
const
std::vector<uint8_t>& aWmf,
int
aMaxWidth,
int
aMaxHeight, wxImage& aImage );
37
38
#endif
NONE
@ NONE
Definition
eda_shape.h:72
ORCAD_OLE_PREVIEW_TYPE
ORCAD_OLE_PREVIEW_TYPE
Definition
orcad_ole.h:21
ORCAD_OLE_PREVIEW_TYPE::WMF
@ WMF
Definition
orcad_ole.h:25
ORCAD_OLE_PREVIEW_TYPE::BMP
@ BMP
Definition
orcad_ole.h:23
ORCAD_OLE_PREVIEW_TYPE::DIB
@ DIB
Definition
orcad_ole.h:24
ORCAD_OLE_PREVIEW_TYPE::NONE
@ NONE
Definition
orcad_ole.h:22
OrcadExtractOlePreview
ORCAD_OLE_PREVIEW OrcadExtractOlePreview(const std::vector< uint8_t > &aPayload)
Definition
orcad_ole.cpp:78
OrcadRenderWmf
bool OrcadRenderWmf(const std::vector< uint8_t > &aWmf, int aMaxWidth, int aMaxHeight, wxImage &aImage)
Definition
orcad_ole.cpp:146
ORCAD_OLE_PREVIEW
Definition
orcad_ole.h:29
ORCAD_OLE_PREVIEW::data
std::vector< uint8_t > data
Definition
orcad_ole.h:31
ORCAD_OLE_PREVIEW::type
ORCAD_OLE_PREVIEW_TYPE type
Definition
orcad_ole.h:30
src
eeschema
sch_io
orcad
orcad_ole.h
Generated on Sat Jul 25 2026 00:05:55 for KiCad PCB EDA Suite by
1.13.2