Lines Matching refs:depth
73 GWorldPtr wxMacCreateGWorld( int width , int height , int depth )
79 if ( depth < 0 )
81 depth = wxDisplayDepth() ;
84 err = NewGWorld( &port , depth , &rect , NULL , NULL , 0 ) ;
100 OSErr SetupCIconHandlePixMap( CIconHandle icon , short depth , Rect *bounds , CTabHandle colors )
112 bytesPerRow = ((depth * (bounds->right - bounds->left) + 31) / 32) * 4;
115 if (depth <= 8)
143 (**icon).iconPMap.pixelSize = depth; /* Set # bits/pixel */
146 if (depth <= 8)
151 (**icon).iconPMap.cmpSize = depth; /* Component size=depth */
159 if (depth == 16)
507 wxBitmap::wxBitmap(void *data, wxBitmapType type, int width, int height, int depth)
509 (void) Create(data, type, width, height, depth);
710 bool wxBitmap::Create(void *data, wxBitmapType type, int width, int height, int depth)
724 return handler->Create(this, data, type, width, height, depth);
727 wxBitmap::wxBitmap(const wxImage& image, int depth)
730 wxCHECK_RET( depth == -1, wxT("invalid bitmap depth") );
1263 bool wxBitmapHandler::Create(wxBitmap *bitmap, void *data, long type, int width, int height, int depth)
1317 M_BITMAPHANDLERDATA->m_depth = theInfo.depth ;