KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_pdf_circle_plot.cpp File Reference
#include <algorithm>
#include <cctype>
#include <sstream>
#include <string>
#include <vector>
#include <boost/test/unit_test.hpp>
#include <wx/string.h>
#include <plotters/plotters_pslike.h>
#include <render_settings.h>
#include <qa_utils/file_utils.h>
#include <qa_utils/pdf_test_utils.h>
#include <qa_utils/wx_utils/unit_test_utils.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (StrokeNarrowerThanDiameterIsStroked)
 
 BOOST_AUTO_TEST_CASE (FilledCircleWithOutlineIsFilledAndStroked)
 
 BOOST_AUTO_TEST_CASE (StrokeWiderThanDiameterIsFilledOnly)
 
 BOOST_AUTO_TEST_CASE (StrokeWiderThanDiameterUsesDeviceUnits)
 
 BOOST_AUTO_TEST_CASE (DefaultPenWidthIsResolvedBeforeSizingTheDisk)
 
 BOOST_AUTO_TEST_CASE (FilledCircleWithoutOutlineIsFilledOnly)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( DefaultPenWidthIsResolvedBeforeSizingTheDisk )

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( FilledCircleWithOutlineIsFilledAndStroked )

Definition at line 160 of file test_pdf_circle_plot.cpp.

References BOOST_CHECK_EQUAL(), FILLED_SHAPE, and path.

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( FilledCircleWithoutOutlineIsFilledOnly )

Definition at line 197 of file test_pdf_circle_plot.cpp.

References BOOST_CHECK_EQUAL(), FILLED_SHAPE, and path.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( StrokeNarrowerThanDiameterIsStroked )

Definition at line 151 of file test_pdf_circle_plot.cpp.

References BOOST_CHECK_EQUAL(), NO_FILL, and path.

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( StrokeWiderThanDiameterIsFilledOnly )

Definition at line 169 of file test_pdf_circle_plot.cpp.

References BOOST_CHECK_EQUAL(), NO_FILL, and path.

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( StrokeWiderThanDiameterUsesDeviceUnits )

Definition at line 178 of file test_pdf_circle_plot.cpp.

References BOOST_CHECK_EQUAL(), NO_FILL, and path.