true
])Sets
on_free_store
to b. This is used in the template functioncreate_new()
. See Path Reference; Constructors and Setting Functions.
Sets
fill_draw_value
to s, which should be one ofShape::DRAW
,Shape::FILL
,Shape::FILLDRAW
,Shape::UNDRAW
,Shape::UNFILL
, orShape::UNFILLDRAW
.
Sets
draw_color
(a pointer to aconst Color
) to &c or c, depending on whether the version with a reference argument or the version with a pointer argument is used.
set_draw_color()
is used in theSolid
drawing and filling functions, becausePath::draw_color
isprotected
, and theSolid
cannot access it directly. See Solid Reference; Drawing and Filling.
Sets
fill_color
(a pointer to aconst Color
) to &c or c, depending on whether the version with a reference argument or the version with a pointer argument is used.
set_fill_color()
is used in theSolid
drawing and filling functions, becausePath::fill_color
isprotected
, and theSolid
cannot access it directly. See Solid Reference; Drawing and Filling.
Clears
connectors
and then pushes s onto it, making s the only connector. Additional connectors can be added by usingPath::operator+=(const string)
. See Path Reference; Operators.I plan to add a version of this function taking a vector of
strings
as its argument, to make it possible to set several connectors at one time.