// all IMapObjects are destroyed in the destructor
~ImageMap();
ImageMap& operator=( const ImageMap& rImageMap );
// comparison (everything is checked for equality) booloperator==( const ImageMap& rImageMap ); booloperator!=( const ImageMap& rImageMap );
// a new IMap object is inserted at the end of the Map void InsertIMapObject( const IMapObject& rIMapObject ); void InsertIMapObject( std::unique_ptr<IMapObject> rIMapObject );
// access to the single ImapObjects; the objects may // not be destroyed from outside
IMapObject* GetIMapObject( size_t nPos ) const
{ return ( nPos < maList.size() ) ? maList[ nPos ].get() : nullptr;
}
// returns the object which was hit first or NULL; // size and position values are in 1/100mm; // rTotalSize is the original size of the image // rDisplaySize is the current size; // rRelPoint relates to the display size and the upper left // corner of the image
IMapObject* GetHitIMapObject( const Size& rOriginalSize, const Size& rDisplaySize, const Point& rRelHitPoint,
sal_uLong nFlags = 0 ) const;
// returns the total amount of IMap objects
size_t GetIMapObjectCount() const { return maList.size(); }
// deletes all internal objects void ClearImageMap();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.