../dox/Attributes.dox
Hilite_attribute
Hide_attribute
Pick_attribute
Linetyp_attributes
Analysieren: see DL_GetAtt // Jede Aenderung der Graf. Attribute wird erst nach dem Neuzeichnen // der gesamten Displayliste sichtbar: DL_Redraw ();
________________________________________________________________________________
// hilite einzelnes Objekt (not ApplicationObjects) GL_HiliObj ((long)DispListIndex); // unhilite einzelnes Objekt GL_UnHiliObj ((long)DispListIndex); // unhilite alle Objekte GL_UnHiliObj (-1L); // hilite /unhilite ApplicationObjects; ON=0 OFF=1 GL_HiliAppObj (dli, ON); DL_disp_set // modify hilite
______________________________________________________________________________
=============== Attr_Display ================================== // einzelnes Objekt ausblenden DL_disp_set ((long)DispListIndex, OFF);
______________________________________________________________________________
=============== Attr_Pick =====================================
Set to not pickable:
DL_pick_set ((long)DispListIndex, ON);
Abfragen ob pickable:
i1 = DL_GetPick((long)DispListIndex); // OFF = ja, ON = Nein.
______________________________________________________________________________
Defaultwerte siehe Hauptdoku "Farben, Linientypen, Strichstärken". // Modify or create new line-Attribute: DL_InitAttRec ((int)AttributIndex,(int)color,(int)linetyp,(int)thick); // color: 2=red, 3=green, 4=blue // linetyp: 0=____, 1=_._, 2=__ __ 3=-- // thick: 1-6 // Defaults see File <tempDir>/ltyp.rc // Example: Attribut 20 = blue, long dash, thickness 3: DL_InitAttRec (20, 4, 2, 3); // use this att for line: Line ln1={{0., 0., 0.},{10., 5., 0.}}; GR_Disp_ln (&ln1, 20); // restore defaultRecords from file <tempDir>/ltyp.rc DL_InitAttTab ();
1.6.3