OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::BitmapDC Struct Reference

Public Member Functions

 BitmapDC (const wxSize &size)

Public Attributes

wxBitmap bitmap
wxMemoryDC dc

Detailed Description

Constructor & Destructor Documentation

◆ BitmapDC()

Slic3r::GUI::BitmapDC::BitmapDC ( const wxSize & size)
inline
208 : bitmap(size){
209#ifdef __WXOSX__
210 bitmap.UseAlpha();
211#endif
212 dc.SelectObject(bitmap);
213 // Don't set white background - let the color patterns fill the entire area
214 dc.SetPen(*wxTRANSPARENT_PEN);
215 }
wxBitmap bitmap
Definition FilamentBitmapUtils.cpp:205
wxMemoryDC dc
Definition FilamentBitmapUtils.cpp:206

References bitmap, and dc.

Member Data Documentation

◆ bitmap

◆ dc


The documentation for this struct was generated from the following file: