KiCad PCB EDA Suite
Loading...
Searching...
No Matches
api_utils.h File Reference
#include <optional>
#include <google/protobuf/any.pb.h>
#include <core/typeinfo.h>
#include <lib_id.h>
#include <api/common/types/base_types.pb.h>
#include <layer_ids.h>
#include <geometry/shape_line_chain.h>
#include <math/vector2d.h>
#include <math/vector3.h>

Go to the source code of this file.

Namespaces

namespace  kiapi
 
namespace  kiapi::common
 

Functions

KICOMMON_API std::optional< KICAD_Tkiapi::common::TypeNameFromAny (const google::protobuf::Any &aMessage)
 
KICOMMON_API LIB_ID kiapi::common::LibIdFromProto (const types::LibraryIdentifier &aId)
 
KICOMMON_API types::LibraryIdentifier kiapi::common::LibIdToProto (const LIB_ID &aId)
 
KICOMMON_API void kiapi::common::PackVector2 (types::Vector2 &aOutput, const VECTOR2I &aInput)
 
KICOMMON_API VECTOR2I kiapi::common::UnpackVector2 (const types::Vector2 &aInput)
 
KICOMMON_API void kiapi::common::PackVector3D (types::Vector3D &aOutput, const VECTOR3D &aInput)
 
KICOMMON_API VECTOR3D kiapi::common::UnpackVector3D (const types::Vector3D &aInput)
 
KICOMMON_API void kiapi::common::PackBox2 (types::Box2 &aOutput, const BOX2I &aInput)
 
KICOMMON_API BOX2I kiapi::common::UnpackBox2 (const types::Box2 &aInput)
 
KICOMMON_API void kiapi::common::PackPolyLine (types::PolyLine &aOutput, const SHAPE_LINE_CHAIN &aSlc)
 
KICOMMON_API SHAPE_LINE_CHAIN kiapi::common::UnpackPolyLine (const types::PolyLine &aInput)
 
KICOMMON_API void kiapi::common::PackPolySet (types::PolySet &aOutput, const SHAPE_POLY_SET &aInput)
 
KICOMMON_API SHAPE_POLY_SET kiapi::common::UnpackPolySet (const types::PolySet &aInput)
 

Variables

const KICOMMON_API wxChar *const traceApi
 Flag to enable debug output related to the IPC API and its plugin system.