コード例 #1
0
ファイル: aadldata.c プロジェクト: mpuels/dia
static DiaObject *aadldata_load(ObjectNode obj_node, int version, DiaContext *ctx)
{
  DiaObject *obj;
  Point startpoint = {0.0,0.0};
  Handle *handle1,*handle2;
  
  obj = aadldata_create(&startpoint,&aadldata_specific, &handle1,&handle2);
  aadlbox_load(obj_node, version, ctx, (Aadlbox *) obj);
  
  return obj;
}
コード例 #2
0
ファイル: aadldata.c プロジェクト: krattai/monoflow
static DiaObject *aadldata_load(ObjectNode obj_node, int version, const char *filename)
{
  DiaObject *obj;
  Point startpoint = {0.0,0.0};
  Handle *handle1,*handle2;
  
  obj = aadldata_create(&startpoint,&aadldata_specific, &handle1,&handle2);
  aadlbox_load(obj_node, version, filename, (Aadlbox *) obj);
  
  return obj;
}