view examples/svg2code_ex/main.c @ 81:13fdf205047b

Hide shapes and groups
author Thinker K.F. Li <thinker@branda.to>
date Thu, 21 Aug 2008 13:52:23 +0800
parents 5bcb329a5157
children ea758bb3bbe2
line wrap: on
line source

#include <stdio.h>
#include <mb_types.h>
#include <X_supp.h>
#include "svg2code_ex.h"

int main(int argc, char * const argv[]) {
    X_MB_runtime_t rt;
    svg2code_ex_t *svg2code;
    int r;

    r = X_MB_init(":0.0", 800, 600, &rt);

    svg2code = svg2code_ex_new(rt.rdman);
    X_MB_handle_connection(rt.display, rt.rdman, rt.tman);

    X_MB_destroy(&rt);

    return 0;
}