Logo Search packages:      
Sourcecode: djvulibre version File versions

DjVuTXT::Zone * DjVuTXT::Zone::append_child (  ) 

Appends another subzone inside this zone. The new zone is initialized with an empty rectangle, empty text, and has the same type as this zone.

Definition at line 106 of file DjVuText.cpp.

References children, text_length, text_start, zone_parent, and ztype.

{
  Zone empty;
  empty.ztype = ztype;
  empty.text_start = 0;
  empty.text_length = 0;
  empty.zone_parent=this;
  children.append(empty);
  return & children[children.lastpos()];
}


Generated by  Doxygen 1.6.0   Back to index