KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_pcb_render.cpp File Reference
#include <jobs/job_registry.h>
#include <jobs/job_pcb_render.h>
#include <i18n_utility.h>

Go to the source code of this file.

Classes

struct  nlohmann::adl_serializer< VECTOR3D >
 

Namespaces

namespace  nlohmann
 

Functions

 NLOHMANN_JSON_SERIALIZE_ENUM (JOB_PCB_RENDER::FORMAT, { { JOB_PCB_RENDER::FORMAT::JPEG, "jpeg" }, { JOB_PCB_RENDER::FORMAT::PNG, "png" } }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_PCB_RENDER
 
 NLOHMANN_JSON_SERIALIZE_ENUM (JOB_PCB_RENDER::SIDE, { { JOB_PCB_RENDER::SIDE::BACK, "back" }, { JOB_PCB_RENDER::SIDE::BOTTOM, "bottom" }, { JOB_PCB_RENDER::SIDE::FRONT, "front" }, { JOB_PCB_RENDER::SIDE::LEFT, "left" }, { JOB_PCB_RENDER::SIDE::RIGHT, "right" }, { JOB_PCB_RENDER::SIDE::TOP, "top" } }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_PCB_RENDER
 
 REGISTER_JOB (pcb_render, _HKI("PCB: Render"), KIWAY::FACE_PCB, JOB_PCB_RENDER)
 

Variables

std::map< JOB_PCB_RENDER::FORMAT, wxString > outputFormatNameMap
 

Function Documentation

◆ NLOHMANN_JSON_SERIALIZE_ENUM() [1/2]

NLOHMANN_JSON_SERIALIZE_ENUM ( JOB_PCB_RENDER::FORMAT  ,
{ { JOB_PCB_RENDER::FORMAT::JPEG, "jpeg" }, { JOB_PCB_RENDER::FORMAT::PNG, "png" } }   
)

Definition at line 53 of file job_pcb_render.cpp.

References JOB_PCB_RENDER::JPEG, and JOB_PCB_RENDER::PNG.

◆ NLOHMANN_JSON_SERIALIZE_ENUM() [2/2]

◆ REGISTER_JOB()

REGISTER_JOB ( pcb_render  ,
_HKI("PCB: Render")  ,
KIWAY::FACE_PCB  ,
JOB_PCB_RENDER   
)

Variable Documentation

◆ outputFormatNameMap

std::map<JOB_PCB_RENDER::FORMAT, wxString> outputFormatNameMap
Initial value:

Definition at line 47 of file job_pcb_render.cpp.

Referenced by JOB_PCB_RENDER::GetFormatNameMap().