const
function: void label ([const string pos = "top", [const bool dot = false
, [Picture& picture = current_picture
]]])Labels the
Points
onpoints
, using lowercase letters. pos is used to position all of the labels. It is currently not possible to have different positions for the labels.Ellipse e(origin, 6, 4); e.draw(); e.label();
![]()
Fig. 161.