Lines Matching refs:depth
119 int bpp = visual->depth;
317 wxCHECK_MSG( (bpp == -1) || (bpp == visual->depth) || (bpp == 32), false,
318 wxT("invalid bitmap depth") );
320 m_bpp = visual->depth;
358 wxBitmap::wxBitmap( int width, int height, int depth )
360 Create( width, height, depth );
373 bool wxBitmap::Create( int width, int height, int depth )
383 return M_BMPDATA->Create(width, height, depth);
408 M_BMPDATA->m_bpp = visual->depth; // Can we get a different depth from create_from_xpm_d() ?
446 bpp = visual->depth;
594 bool wxBitmap::CreateFromImage(const wxImage& image, int depth)
599 wxCHECK_MSG( depth == -1 || depth == 1, false, wxT("invalid bitmap depth") );
606 if (depth == 1)
733 int bpp = visual->depth;
1024 bpp = visual->depth;
1114 wxBitmap::wxBitmap( const char bits[], int width, int height, int WXUNUSED(depth))
1282 M_BMPDATA->m_bpp = visual->depth;
1323 void wxBitmap::SetDepth( int depth )
1326 M_BMPDATA->m_bpp = depth;