[lasem] mathml: document lsm_mathml_element_update.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] mathml: document lsm_mathml_element_update.
- Date: Wed, 26 Sep 2012 12:06:40 +0000 (UTC)
commit 5bf26d9f701f1ef8db83471c1a0275a57b17cfa0
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Wed Sep 26 14:06:05 2012 +0200
mathml: document lsm_mathml_element_update.
src/lsmmathmlelement.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmmathmlelement.c b/src/lsmmathmlelement.c
index 703279a..bad1eb6 100644
--- a/src/lsmmathmlelement.c
+++ b/src/lsmmathmlelement.c
@@ -106,6 +106,16 @@ _update_children (LsmMathmlElement *self, LsmMathmlStyle *style)
return need_measure;
}
+/**
+ * lsm_mathml_element_update:
+ * @self: a #LsmMathmlElement
+ * @parent_style: self parent style
+ *
+ * Update the actual property of an element and it's children. This function parses the element attributes and also make elements inherit style from their parents.
+ *
+ * Returns: TRUE if the size of the element has changed and needs to be recalculated.
+ */
+
gboolean
lsm_mathml_element_update (LsmMathmlElement *self, const LsmMathmlStyle *parent_style)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]