RygelVisualItem 3 LIBRYGEL-SERVER Library
RygelVisualItem An interface that visual (video and image) items must implement.

## Synopsis

    gint                rygel_visual_item_get_width         (RygelVisualItem *self);
    void                rygel_visual_item_set_width         (RygelVisualItem *self,
                                                             gint value);
    gint                rygel_visual_item_get_height        (RygelVisualItem *self);
    void                rygel_visual_item_set_height        (RygelVisualItem *self,
                                                             gint value);
    gint                rygel_visual_item_get_pixel_width   (RygelVisualItem *self);
    void                rygel_visual_item_set_pixel_width   (RygelVisualItem *self,
                                                             gint value);
    gint                rygel_visual_item_get_pixel_height  (RygelVisualItem *self);
    void                rygel_visual_item_set_pixel_height  (RygelVisualItem *self,
                                                             gint value);
    gint                rygel_visual_item_get_color_depth   (RygelVisualItem *self);
    void                rygel_visual_item_set_color_depth   (RygelVisualItem *self,
                                                             gint value);
    GeeArrayList *      rygel_visual_item_get_thumbnails    (RygelVisualItem *self);
    void                rygel_visual_item_set_thumbnails    (RygelVisualItem *self,
                                                             GeeArrayList *value);
                        RygelVisualItem;
    struct              RygelVisualItemIface;

## Object Hierarchy

      GInterface
       +----RygelVisualItem

## Prerequisites

RygelVisualItem requires RygelMediaItem.

## Known Implementations

RygelVisualItem is implemented by RygelImageItem, RygelPhotoItem and RygelVideoItem.

## Properties

      "color-depth"              gint                  : Read / Write
      "height"                   gint                  : Read / Write
      "pixel-height"             gint                  : Read / Write
      "pixel-width"              gint                  : Read / Write
      "thumbnails"               GeeArrayList*         : Read / Write
      "width"                    gint                  : Read / Write

## Description

## Details

### rygel_visual_item_get_width ()

    gint                rygel_visual_item_get_width         (RygelVisualItem *self);

Get and return the current value of the "width" property.

self :

  the RygelVisualItem instance to query

Returns :

  the value of the "width" property

rygel_visual_item_get_width

### rygel_visual_item_set_width ()

    void                rygel_visual_item_set_width         (RygelVisualItem *self,
                                                             gint value);

Set the value of the "width" property to value.

self :

  the RygelVisualItem instance to modify

value :

  the new value of the "width" property

rygel_visual_item_set_width

### rygel_visual_item_get_height ()

    gint                rygel_visual_item_get_height        (RygelVisualItem *self);

Get and return the current value of the "height" property.

self :

  the RygelVisualItem instance to query

Returns :

  the value of the "height" property

rygel_visual_item_get_height

### rygel_visual_item_set_height ()

    void                rygel_visual_item_set_height        (RygelVisualItem *self,
                                                             gint value);

Set the value of the "height" property to value.

self :

  the RygelVisualItem instance to modify

value :

  the new value of the "height" property

rygel_visual_item_set_height

### rygel_visual_item_get_pixel_width ()

    gint                rygel_visual_item_get_pixel_width   (RygelVisualItem *self);

Get and return the current value of the "pixel-width" property.

self :

  the RygelVisualItem instance to query

Returns :

  the value of the "pixel-width" property

rygel_visual_item_get_pixel_width

### rygel_visual_item_set_pixel_width ()

    void                rygel_visual_item_set_pixel_width   (RygelVisualItem *self,
                                                             gint value);

Set the value of the "pixel-width" property to value.

self :

  the RygelVisualItem instance to modify

value :

  the new value of the "pixel-width" property

rygel_visual_item_set_pixel_width

### rygel_visual_item_get_pixel_height ()

    gint                rygel_visual_item_get_pixel_height  (RygelVisualItem *self);

Get and return the current value of the "pixel-height" property.

self :

  the RygelVisualItem instance to query

Returns :

  the value of the "pixel-height" property

rygel_visual_item_get_pixel_height

### rygel_visual_item_set_pixel_height ()

    void                rygel_visual_item_set_pixel_height  (RygelVisualItem *self,
                                                             gint value);

Set the value of the "pixel-height" property to value.

self :

  the RygelVisualItem instance to modify

value :

  the new value of the "pixel-height" property

rygel_visual_item_set_pixel_height

### rygel_visual_item_get_color_depth ()

    gint                rygel_visual_item_get_color_depth   (RygelVisualItem *self);

Get and return the current value of the "color-depth" property.

self :

  the RygelVisualItem instance to query

Returns :

  the value of the "color-depth" property

rygel_visual_item_get_color_depth

### rygel_visual_item_set_color_depth ()

    void                rygel_visual_item_set_color_depth   (RygelVisualItem *self,
                                                             gint value);

Set the value of the "color-depth" property to value.

self :

  the RygelVisualItem instance to modify

value :

  the new value of the "color-depth" property

rygel_visual_item_set_color_depth

### rygel_visual_item_get_thumbnails ()

    GeeArrayList *      rygel_visual_item_get_thumbnails    (RygelVisualItem *self);

Get and return the current value of the "thumbnails" property.

self :

  the RygelVisualItem instance to query

Returns :

  the value of the "thumbnails" property

rygel_visual_item_get_thumbnails

### rygel_visual_item_set_thumbnails ()

    void                rygel_visual_item_set_thumbnails    (RygelVisualItem *self,
                                                             GeeArrayList *value);

Set the value of the "thumbnails" property to value.

self :

  the RygelVisualItem instance to modify

value :

  the new value of the "thumbnails" property

rygel_visual_item_set_thumbnails

### RygelVisualItem

    typedef struct _RygelVisualItem RygelVisualItem;

An interface that visual (video and image) items must implement.

RygelVisualItem

### struct RygelVisualItemIface

    struct RygelVisualItemIface {
    	GTypeInterface parent_iface;
    	gint (*get_width) (RygelVisualItem* self);
    	void (*set_width) (RygelVisualItem* self, gint value);
    	gint (*get_height) (RygelVisualItem* self);
    	void (*set_height) (RygelVisualItem* self, gint value);
    	gint (*get_pixel_width) (RygelVisualItem* self);
    	void (*set_pixel_width) (RygelVisualItem* self, gint value);
    	gint (*get_pixel_height) (RygelVisualItem* self);
    	void (*set_pixel_height) (RygelVisualItem* self, gint value);
    	gint (*get_color_depth) (RygelVisualItem* self);
    	void (*set_color_depth) (RygelVisualItem* self, gint value);
    	GeeArrayList* (*get_thumbnails) (RygelVisualItem* self);
    	void (*set_thumbnails) (RygelVisualItem* self, GeeArrayList* value);
    };

Interface for creating RygelVisualItem implementations.

GTypeInterface parent_iface;

  the parent interface structure

get_width ()

  getter method for the abstract property "width"

set_width ()

  setter method for the abstract property "width"

get_height ()

  getter method for the abstract property "height"

set_height ()

  setter method for the abstract property "height"

get_pixel_width ()

  getter method for the abstract property "pixel-width"

set_pixel_width ()

  setter method for the abstract property "pixel-width"

get_pixel_height ()

  getter method for the abstract property "pixel-height"

set_pixel_height ()

  setter method for the abstract property "pixel-height"

get_color_depth ()

  getter method for the abstract property "color-depth"

set_color_depth ()

  setter method for the abstract property "color-depth"

get_thumbnails ()

  getter method for the abstract property "thumbnails"

set_thumbnails ()

  setter method for the abstract property "thumbnails"

RygelVisualItemIface

## Property Details

### The `"color-depth"` property

      "color-depth"              gint                  : Read / Write

The number of bits per pixel used to represent the video or image resource. A value of -1 means that the color depth is unknown and will not, or did not, appear in DIDL-Lite XML.

Default value: 0

RygelVisualItem:color-depth

### The `"height"` property

      "height"                   gint                  : Read / Write

The height of the item in pixels. A value of -1 means that the height is unknown and will not, or did not, appear in DIDL-Lite XML.

Default value: 0

RygelVisualItem:height

### The `"pixel-height"` property

      "pixel-height"             gint                  : Read / Write

pixel-height.

Default value: 0

RygelVisualItem:pixel-height

### The `"pixel-width"` property

      "pixel-width"              gint                  : Read / Write

pixel-width.

Default value: 0

RygelVisualItem:pixel-width

### The `"thumbnails"` property

      "thumbnails"               GeeArrayList*         : Read / Write

thumbnails.

RygelVisualItem:thumbnails

### The `"width"` property

      "width"                    gint                  : Read / Write

The width of the item in pixels. A value of -1 means that the width is unknown and will not, or did not, appear in DIDL-Lite XML.

Default value: 0

RygelVisualItem:width