layout = (lglTemplateLayout *)p->data;
- lgl_template_add_layout (frame, lgl_template_layout_dup (layout));
+ lgl_template_frame_add_layout (frame, lgl_template_layout_dup (layout));
}
for ( p=orig_frame->all.markups; p != NULL; p=p->next ) {
markup = (lglTemplateMarkup *)p->data;
- lgl_template_add_markup (frame, lgl_template_markup_dup (markup));
+ lgl_template_frame_add_markup (frame, lgl_template_markup_dup (markup));
}
return frame;
0.0);
lgl_template_add_frame (template, frame);
- lgl_template_add_layout (frame, lgl_template_layout_new (1, 1, 0., 0., 0., 0.));
+ lgl_template_frame_add_layout (frame, lgl_template_layout_new (1, 1, 0., 0., 0., 0.));
- lgl_template_add_markup (frame, lgl_template_markup_margin_new (9.0));
+ lgl_template_frame_add_markup (frame, lgl_template_markup_margin_new (9.0));
g_free (name);
name = NULL;
dx = lgl_xml_get_prop_length (layout_node, "dx", 0);
dy = lgl_xml_get_prop_length (layout_node, "dy", 0);
- lgl_template_add_layout (frame, lgl_template_layout_new (nx, ny, x0, y0, dx, dy));
+ lgl_template_frame_add_layout (frame, lgl_template_layout_new (nx, ny, x0, y0, dx, dy));
for (node = layout_node->xmlChildrenNode; node != NULL;
node = node->next) {
size = lgl_xml_get_prop_length (markup_node, "size", 0);
- lgl_template_add_markup (frame, lgl_template_markup_margin_new (size));
+ lgl_template_frame_add_markup (frame, lgl_template_markup_margin_new (size));
for (node = markup_node->xmlChildrenNode; node != NULL;
node = node->next) {
x2 = lgl_xml_get_prop_length (markup_node, "x2", 0);
y2 = lgl_xml_get_prop_length (markup_node, "y2", 0);
- lgl_template_add_markup (frame, lgl_template_markup_line_new (x1, y1, x2, y2));
+ lgl_template_frame_add_markup (frame, lgl_template_markup_line_new (x1, y1, x2, y2));
for (node = markup_node->xmlChildrenNode; node != NULL;
node = node->next) {
y0 = lgl_xml_get_prop_length (markup_node, "y0", 0);
r = lgl_xml_get_prop_length (markup_node, "radius", 0);
- lgl_template_add_markup (frame, lgl_template_markup_circle_new (x0, y0, r));
+ lgl_template_frame_add_markup (frame, lgl_template_markup_circle_new (x0, y0, r));
for (node = markup_node->xmlChildrenNode; node != NULL;
node = node->next) {
h = lgl_xml_get_prop_length (markup_node, "h", 0);
r = lgl_xml_get_prop_length (markup_node, "r", 0);
- lgl_template_add_markup (frame, lgl_template_markup_rect_new (x1, y1, w, h, r));
+ lgl_template_frame_add_markup (frame, lgl_template_markup_rect_new (x1, y1, w, h, r));
for (node = markup_node->xmlChildrenNode; node != NULL;
node = node->next) {
}
lgl_template_add_frame (template, frame);
- lgl_template_add_markup (frame,
- lgl_template_markup_margin_new (margin/upp));
-
- lgl_template_add_layout (frame,
- lgl_template_layout_new (nx_1, ny_1,
- x0_1/upp,
- y0_1/upp,
- dx_1/upp,
- dy_1/upp));
+ lgl_template_frame_add_markup (frame,
+ lgl_template_markup_margin_new (margin/upp));
+
+ lgl_template_frame_add_layout (frame,
+ lgl_template_layout_new (nx_1, ny_1,
+ x0_1/upp,
+ y0_1/upp,
+ dx_1/upp,
+ dy_1/upp));
if (nlayouts > 1) {
- lgl_template_add_layout (frame,
- lgl_template_layout_new (nx_2, ny_2,
- x0_2/upp,
- y0_2/upp,
- dx_2/upp,
- dy_2/upp));
+ lgl_template_frame_add_layout (frame,
+ lgl_template_layout_new (nx_2, ny_2,
+ x0_2/upp,
+ y0_2/upp,
+ dx_2/upp,
+ dy_2/upp));
}
g_free (brand);