|
osgEarth 2.1.1
|
Inheritance diagram for KML_Style:
Collaboration diagram for KML_Style:Public Member Functions | |
| virtual void | scan (const Config &conf, KMLContext &cx) |
| void KML_Style::scan | ( | const Config & | conf, |
| KMLContext & | cx | ||
| ) | [virtual] |
Reimplemented from KML_Object.
Definition at line 26 of file KML_Style.cpp.
{
Style style( conf.value("id") );
KML_IconStyle icon;
icon.scan( conf.child("iconstyle"), style );
KML_LabelStyle label;
label.scan( conf.child("labelstyle"), style );
KML_LineStyle line;
line.scan( conf.child("linestyle"), style );
KML_PolyStyle poly;
poly.scan( conf.child("polystyle"), style );
cx._sheet->addStyle( style );
cx._activeStyle = style;
}
Here is the call graph for this function:
Here is the caller graph for this function:
1.7.3