Function

Rsvg-2.0Rsvgpixbuf_from_file_at_zoomDeprecated

  • Loads a new GdkPixbuf.Pixbuf from filename and returns it. This pixbuf is scaled from the size indicated by the file by a factor of x_zoom and y_zoom. The caller must assume the reference to the returned pixbuf. If an error occurred, error is set and NULL is returned.

    Parameters

    • Deprecatedfilename: string

      A file name

    • Deprecatedx_zoom: number

      The horizontal zoom factor

    • Deprecatedy_zoom: number

      The vertical zoom factor

    Returns GdkPixbuf.Pixbuf

    A pixbuf, or null on error.