Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

void GMapArea::get_coords ( GList< int > &  CoordList  )  const [virtual, inherited]

Virtual function generating a list of defining coordinates (default are the opposite corners of the enclosing rectangle)

Virtual function generating a list of defining coordinates (default are the opposite corners of the enclosing rectangle)

Reimplemented in GMapPoly.

Definition at line 380 of file GMapAreas.cpp.

References GListTemplate< TYPE, TYPE >::append(), GMapArea::get_xmax(), GMapArea::get_xmin(), GMapArea::get_ymax(), and GMapArea::get_ymin().

{
  CoordList.append( get_xmin() );
  CoordList.append( get_ymin() );
  CoordList.append( get_xmax() );
  CoordList.append( get_ymax() );
}


Generated by  Doxygen 1.6.0   Back to index