gifdecod.h

Clase wxGIFDecoder

Descodificador de animaciones compatible con archivos GIF animados.

Jerarquía:

wxGIFDecoder

Funciones miembro

wxGIFDecoder()

wxGIFDecoder::wxGIFDecoder()

Constructor.

~wxGIFDecoder()

wxGIFDecoder::~wxGIFDecoder()

Destructor.

Clone()

virtual wxAnimationDecoder* wxGIFDecoder::Clone() const

Crea una copia de este decodificador.

Implementado de (wxAnimationDecoder.

ConvertToImage()

virtual bool wxGIFDecoder::ConvertToImage( unsigned int frame, wxImage * image ) const

Convierte un fotograma a wxImage.

Implementado de (wxAnimationDecoder.

DoCanRead()

virtual bool wxGIFDecoder::DoCanRead(wxInputStream & stream) const

Comprueba la firma de los datos en el flujo dado y devuelve true si parece ser un formato de animación válido reconocido por el decodificador de animación; esta función debería modificar la posición actual del flujo sin ocuparse de restaurarla ya que CanRead() lo hará.

Implementado de (wxAnimationDecoder.

GetDelay()

virtual long wxGIFDecoder::GetDelay(unsigned int frame) const

Devuelve el número de milisegundos que debe mostrarse este fotograma.

Si se devuelve -1 entonces el fotograma debe mostrarse para siempre.

Implementado de (wxAnimationDecoder.

GetDisposalMethod()

virtual wxAnimationDisposal wxGIFDecoder::GetDisposalMethod(unsigned int frame) const

¿Qué hay que hacer después de visualizar este fotograma?

Implementado de (wxAnimationDecoder.

GetFramePosition()

virtual wxPoint wxGIFDecoder::GetFramePosition(unsigned int frame) const

Devuelve la posición del fotograma.

Implementado de (wxAnimationDecoder.

GetFrameSize()

virtual wxSize wxGIFDecoder::GetFrameSize(unsigned int frame) const

Obtiene el tamaño de un fotograma.

Implementado de (wxAnimationDecoder.

GetTransparentColour()

virtual wxColour wxGIFDecoder::GetTransparentColour(unsigned int frame) const

El color transparente para este marco, si existe, o wxNullColour.

Implementado de (wxAnimationDecoder.

GetType()

virtual wxAnimationType wxGIFDecoder::GetType() const

Devuelve el tipo de animación que implementa este decodificador.

Implementado de (wxAnimationDecoder.

Load()

virtual bool wxGIFDecoder::Load(wxInputStream & stream)

Carga los fotogramas de la imagen de animación desde el flujo dado.

Implementado de (wxAnimationDecoder.

Métodos y datos heredados

Esta clase hereda los métodos y datos miembro públicos y protegidos de wxAnimationDecoder.