Lines Matching defs:format
483 // this string should uniquely identify our format, but is otherwise
526 // our custom format is supported by both GetData() and SetData()
530 // but the bitmap format(s) are only supported for output
551 // don't assume that m_dobjBitmap has only 1 format
558 virtual size_t GetDataSize(const wxDataFormat& format) const
560 if ( format == m_formatShape )
565 else if ( m_dobjMetaFile.IsSupported(format) )
570 return m_dobjMetaFile.GetDataSize(format);
575 wxASSERT_MSG( m_dobjBitmap.IsSupported(format),
576 wxT("unexpected format") );
585 virtual bool GetDataHere(const wxDataFormat& format, void *pBuf) const
587 if ( format == m_formatShape )
594 else if ( m_dobjMetaFile.IsSupported(format) )
599 return m_dobjMetaFile.GetDataHere(format, pBuf);
604 wxASSERT_MSG( m_dobjBitmap.IsSupported(format),
605 wxT("unexpected format") );
614 virtual bool SetData(const wxDataFormat& format,
617 wxCHECK_MSG( format == m_formatShape, false,
618 wxT( "unsupported format") );
640 wxDataFormat m_formatShape; // our custom format