Gjsify LogoGjsify Logo

Index

Functions

  • Logs an error or debugging message.

    This is a convenience function to forward the #RetroCore::log signal of #RetroCore to g_log(), see it for more information.

    Parameters

    • sender: Retro.Core

      a #RetroCore

    • logDomain: string

      the log domain, usually #G_LOG_DOMAIN, or %NULL

    • logLevel: LogLevelFlags

      the log level, either from #GLogLevelFlags or a user-defined level

    • message: string

      the message to log

    Returns void

  • pixbufGetAspectRatio(pixbuf: Pixbuf): number
  • Gets the aspect ratio of pixbuf by reading the 'aspect-ratio' pixbuf option.

    Parameters

    Returns number

  • pixbufSetAspectRatio(pixbuf: Pixbuf, aspectRatio: number): void
  • Sets the aspect ratio of pixbuf by setting the 'aspect-ratio' pixbuf option. Use retro_pixbuf_get_aspect_ratio() to retrieve it.

    Parameters

    • pixbuf: Pixbuf

      a #GdkPixbuf

    • aspectRatio: number

      the aspect ratio value

    Returns void

  • Gets a #RetroVideoFilter from it's name. It defaults to RETRO_VIDEO_FILTER_SMOOTH in case of error.

    Parameters

    • filter: string

      a filter name

    Returns Retro.VideoFilter

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method