ClutterGstAspectratio

ClutterGstAspectratio — A ClutterContent for displaying video frames with respect to their aspect ratio.

Synopsis

struct              ClutterGstAspectratio;
struct              ClutterGstAspectratioClass;
ClutterContent *    clutter_gst_aspectratio_new         (void);

Object Hierarchy

  GObject
   +----ClutterGstContent
         +----ClutterGstAspectratio

Implemented Interfaces

ClutterGstAspectratio implements ClutterContent.

Properties

  "fill-allocation"          gboolean              : Read / Write
  "paint-borders"            gboolean              : Read / Write

Description

ClutterGstContent implements the ClutterContent interface.

Details

struct ClutterGstAspectratio

struct ClutterGstAspectratio;

Implementation of ClutterGstContent that displays video streams with respects to their aspect ratio.

The ClutterGstAspectratio structure contains only private data and should not be accessed directly.


struct ClutterGstAspectratioClass

struct ClutterGstAspectratioClass {
};

Base class for ClutterGstAspectratio.


clutter_gst_aspectratio_new ()

ClutterContent *    clutter_gst_aspectratio_new         (void);

Returns :

a new ClutterGstAspectratio instance. [transfer full]

Property Details

The "fill-allocation" property

  "fill-allocation"          gboolean              : Read / Write

Whether the content should fill its allocation with video rather than adding borders.

Default value: FALSE

Since 3.0


The "paint-borders" property

  "paint-borders"            gboolean              : Read / Write

Whether or not paint borders on the sides of the video

Default value: FALSE

Since 3.0