anidecod.h

Clase wxANIDecoder

Descodificador de animaciones compatible con archivos GIF animados.

Jerarquía:

Jerarquía de la clase wxANIDecoder

Funciones miembro

wxANIDecoder()

wxANIDecoder::wxANIDecoder()

Constructor.

~wxANIDecoder()

wxANIDecoder::~wxANIDecoder()

Destructor.

Clone()

virtual wxAnimationDecoder* wxANIDecoder::Clone() const

Crea una copia de este decodificador.

Implementado de (wxAnimationDecoder.

ConvertToImage()

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

Convierte un fotograma a wxImage.

Implementado de (wxAnimationDecoder.

DoCanRead()

virtual bool wxANIDecoder::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 wxANIDecoder::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 wxANIDecoder::GetDisposalMethod(unsigned int frame) const

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

Implementado de (wxAnimationDecoder.

GetFramePosition()

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

Devuelve la posición del fotograma.

Implementado de (wxAnimationDecoder.

GetFrameSize()

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

Obtiene el tamaño de un fotograma.

Implementado de (wxAnimationDecoder.

GetTransparentColour()

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

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

Implementado de (wxAnimationDecoder.

GetType()

virtual wxAnimationType wxANIDecoder::GetType() const

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

Implementado de (wxAnimationDecoder.

Load()

virtual bool wxANIDecoder::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.