KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PDF_plotter.cpp File Reference

KiCad: specialized plotter for PDF files format. More...

#include <algorithm>
#include <cstdio>
#include <wx/filename.h>
#include <wx/mstream.h>
#include <wx/zstream.h>
#include <wx/wfstream.h>
#include <wx/datstrm.h>
#include <wx/tokenzr.h>
#include <advanced_config.h>
#include <common.h>
#include <eda_text.h>
#include <font/font.h>
#include <core/ignore.h>
#include <macros.h>
#include <trigo.h>
#include <string_utils.h>
#include <plotters/plotters_pslike.h>

Go to the source code of this file.

Functions

void WriteImageStream (const wxImage &aImage, wxDataOutputStream &aOut, wxColor bg, bool colorMode)
 
void WriteImageSMaskStream (const wxImage &aImage, wxDataOutputStream &aOut)
 

Detailed Description

KiCad: specialized plotter for PDF files format.

Definition in file PDF_plotter.cpp.

Function Documentation

◆ WriteImageSMaskStream()

void WriteImageSMaskStream ( const wxImage &  aImage,
wxDataOutputStream &  aOut 
)

Definition at line 728 of file PDF_plotter.cpp.

Referenced by PDF_PLOTTER::EndPlot().

◆ WriteImageStream()

void WriteImageStream ( const wxImage &  aImage,
wxDataOutputStream &  aOut,
wxColor  bg,
bool  colorMode 
)

Definition at line 686 of file PDF_plotter.cpp.

References KiROUND().

Referenced by PDF_PLOTTER::EndPlot().