return 0;
}
+int ses_layout_draw()
+{
+ cairo_surface_t *surface;
+ cairo_t *cr;
+
+ surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 1280, 720);
+ cr = cairo_create (surface);
+
+ cairo_set_line_width (cr, 4);
+ cairo_set_source_rgb (cr, 1, 1, 1);
+ cairo_rectangle (cr, 0, 0, 1280, 720);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb (cr, 1, 0, 0);
+ cairo_rectangle (cr, 100, 100, 720, 360);
+ cairo_stroke (cr);
+
+ cairo_surface_write_to_png(surface, "./a.png");
+
+ cairo_destroy(cr);
+ cairo_surface_destroy(surface);
+ return 0;
+}
+
int ses_layout_board(ScfEboard* b, int x, int y, int w, int h)
{
ScfEcomponent* c;
ses_lines_same_components(f);
}
+ ses_layout_draw();
+
return 0;
}