KiCad PCB EDA Suite
Loading...
Searching...
No Matches
zone_preview_canvas.cpp File Reference
#include "zone_preview_canvas.h"
#include <wx/gdicmn.h>
#include <wx/string.h>
#include <base_screen.h>
#include <base_units.h>
#include <class_draw_panel_gal.h>
#include <dialogs/dialog_configure_paths.h>
#include <eda_draw_frame.h>
#include <gal/graphics_abstraction_layer.h>
#include <id.h>
#include <kiface_base.h>
#include <tool/actions.h>
#include <tool/common_tools.h>
#include <tool/tool_manager.h>
#include <view/view.h>
#include <view/view_controls.h>
#include <board.h>
#include <pcb_track.h>
#include <pcb_marker.h>
#include <pcb_painter.h>
#include <zone_manager/board_edges_bounding_item.h>
#include <kiplatform/ui.h>

Go to the source code of this file.

Classes

class  ZONE_PAINTER
 

Enumerations

enum  DRAW_ORDER { DRAW_ORDER_BOARD_BOUNDING , DRAW_ORDER_ZONE }
 

Functions

wxColour getCanvasBackgroundColor ()
 
wxColour getBoundBoundingFillColor ()
 

Enumeration Type Documentation

◆ DRAW_ORDER

enum DRAW_ORDER
Enumerator
DRAW_ORDER_BOARD_BOUNDING 
DRAW_ORDER_ZONE 

Definition at line 50 of file zone_preview_canvas.cpp.

Function Documentation

◆ getBoundBoundingFillColor()

wxColour getBoundBoundingFillColor ( )

Definition at line 67 of file zone_preview_canvas.cpp.

References KIPLATFORM::UI::IsDarkTheme().

Referenced by ZONE_PAINTER::Draw().

◆ getCanvasBackgroundColor()

wxColour getCanvasBackgroundColor ( )