Menu

Drawable

Nicolas Hainaux

Objects that can be drawn are Drawable.
This is basically the case of geometric objects like Points, Lines, Circles etc.

Fields Methods (provided) Methods (must be reimplemented)
eps_filename get_eps_filename() into_euk()
euk_filename get_euk_filename()
set_name()
into_pic()

set_name() is rewritten to forbid the renaming of Drawable objects
into_pic() will create the picture (thanks to data stored in the euk file)
into_euk() will create the euk file ; it must be implemented by each Drawable

Check Drawable's complete doc

Back


Related

Doc for dev: Core Objects

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.