#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DragCanvas.hpp>
◆ DragShape()
| Slic3r::GUI::DragShape::DragShape |
( |
const wxBitmap & | bitmap, |
|
|
int | index ) |
243 ,
m_pos(wxPoint(0,0))
245{
246}
wxPoint m_pos
Definition DragCanvas.hpp:40
wxBitmap m_bitmap
Definition DragCanvas.hpp:41
int m_index
Definition DragCanvas.hpp:42
References DragShape(), m_bitmap, m_index, and m_pos.
Referenced by DragShape().
◆ ~DragShape()
| Slic3r::GUI::DragShape::~DragShape |
( |
| ) |
|
|
inline |
◆ get_index()
| int Slic3r::GUI::DragShape::get_index |
( |
| ) |
|
|
inline |
◆ GetBitmap()
| const wxBitmap & Slic3r::GUI::DragShape::GetBitmap |
( |
| ) |
const |
|
inline |
◆ GetPosition()
| wxPoint Slic3r::GUI::DragShape::GetPosition |
( |
| ) |
const |
|
inline |
◆ hit_test()
| bool Slic3r::GUI::DragShape::hit_test |
( |
const wxPoint & | pt | ) |
const |
249{
251 return rect.Contains(pt.x, pt.y);
252}
References m_bitmap, and m_pos.
◆ paint()
| void Slic3r::GUI::DragShape::paint |
( |
wxDC & | dc, |
|
|
bool | highlight = false ) |
255{
258 {
259 dc.SetPen(*wxWHITE_PEN);
260 dc.SetBrush(*wxTRANSPARENT_BRUSH);
262 }
263}
static void highlight(wxString &str)
Definition EditGCodeDialog.cpp:470
References Slic3r::GUI::highlight(), m_bitmap, and m_pos.
◆ SetBitmap()
| void Slic3r::GUI::DragShape::SetBitmap |
( |
const wxBitmap & | bitmap | ) |
|
|
inline |
◆ SetPosition()
| void Slic3r::GUI::DragShape::SetPosition |
( |
const wxPoint & | pos | ) |
|
|
inline |
Vec3d pos(const Pt &p)
Definition ReprojectPointsOnMesh.hpp:16
References m_pos.
◆ m_bitmap
| wxBitmap Slic3r::GUI::DragShape::m_bitmap |
|
protected |
◆ m_index
| int Slic3r::GUI::DragShape::m_index |
|
protected |
◆ m_pos
| wxPoint Slic3r::GUI::DragShape::m_pos |
|
protected |
The documentation for this class was generated from the following files: