1 /* GStreamer Editing Services
2 * Copyright (C) 2009 Brandon Lewis <brandon.lewis@collabora.co.uk>
3 * 2009 Nokia Corporation
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
23 #include <glib-object.h>
24 #include <ges/ges-types.h>
25 #include <ges/ges-overlay-clip.h>
26 #include <ges/ges-track.h>
29 #define GES_TYPE_OVERLAY_TEXT_CLIP ges_text_overlay_clip_get_type()
30 GES_DECLARE_TYPE(TextOverlayClip, text_overlay_clip, OVERLAY_TEXT_CLIP);
36 struct _GESTextOverlayClip
38 GESOverlayClip parent;
41 GESTextOverlayClipPrivate *priv;
43 /* Padding for API extension */
44 gpointer _ges_reserved[GES_PADDING];
48 * GESTextOverlayClipClass:
51 struct _GESTextOverlayClipClass
55 GESOverlayClipClass parent_class;
57 /* Padding for API extension */
58 gpointer _ges_reserved[GES_PADDING];
62 ges_text_overlay_clip_set_text (GESTextOverlayClip * self,
66 ges_text_overlay_clip_set_font_desc (GESTextOverlayClip * self,
67 const gchar * font_desc);
70 ges_text_overlay_clip_set_valign (GESTextOverlayClip * self,
71 GESTextVAlign valign);
74 ges_text_overlay_clip_set_halign (GESTextOverlayClip * self,
75 GESTextHAlign halign);
78 ges_text_overlay_clip_set_color (GESTextOverlayClip * self,
82 ges_text_overlay_clip_set_xpos (GESTextOverlayClip * self,
86 ges_text_overlay_clip_set_ypos (GESTextOverlayClip * self,
90 const gchar *ges_text_overlay_clip_get_text (GESTextOverlayClip * self);
93 const gchar *ges_text_overlay_clip_get_font_desc (GESTextOverlayClip *
97 ges_text_overlay_clip_get_valignment (GESTextOverlayClip * self);
100 ges_text_overlay_clip_get_color (GESTextOverlayClip * self);
102 GES_API const gdouble
103 ges_text_overlay_clip_get_xpos (GESTextOverlayClip * self);
105 GES_API const gdouble
106 ges_text_overlay_clip_get_ypos (GESTextOverlayClip * self);
108 GES_API GESTextHAlign
109 ges_text_overlay_clip_get_halignment (GESTextOverlayClip * self);
112 GESTextOverlayClip *ges_text_overlay_clip_new (void);