1 /* GStreamer Editing Services
2 * Copyright (C) 2010 Brandon Lewis <brandon.lewis@collabora.co.uk>
3 * 2010 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-title-source.h>
26 #include <ges/ges-operation.h>
29 #define GES_TYPE_TEXT_OVERLAY ges_text_overlay_get_type()
30 GES_DECLARE_TYPE(TextOverlay, text_overlay, TEXT_OVERLAY);
35 struct _GESTextOverlay
40 GESTextOverlayPrivate *priv;
42 /* Padding for API extension */
43 gpointer _ges_reserved[GES_PADDING];
46 struct _GESTextOverlayClass
48 GESOperationClass parent_class;
52 /* Padding for API extension */
53 gpointer _ges_reserved[GES_PADDING];
57 void ges_text_overlay_set_text (GESTextOverlay * self,
60 void ges_text_overlay_set_font_desc (GESTextOverlay * self,
61 const gchar * font_desc);
64 void ges_text_overlay_set_halignment (GESTextOverlay * self,
65 GESTextHAlign halign);
68 void ges_text_overlay_set_valignment (GESTextOverlay * self,
69 GESTextVAlign valign);
71 void ges_text_overlay_set_color (GESTextOverlay * self,
74 void ges_text_overlay_set_xpos (GESTextOverlay * self,
77 void ges_text_overlay_set_ypos (GESTextOverlay * self,
81 GESTextOverlay *ges_text_overlay_new (void);
84 const gchar *ges_text_overlay_get_text (GESTextOverlay * self);
86 const char *ges_text_overlay_get_font_desc (GESTextOverlay * self);
88 GESTextHAlign ges_text_overlay_get_halignment (GESTextOverlay *
91 GESTextVAlign ges_text_overlay_get_valignment (GESTextOverlay *
94 const guint32 ges_text_overlay_get_color (GESTextOverlay * self);
96 const gdouble ges_text_overlay_get_xpos (GESTextOverlay * self);
98 const gdouble ges_text_overlay_get_ypos (GESTextOverlay * self);