Describe the bug
The two draw functions face() and facev() do not support a transparent mode with the style #, where only their border is drawn.
To Reproduce
Steps to reproduce the behavior:
Execute draw face(0,0, 5,0, "#")
A rectangular face, which is not tranparent, is created
Expected behavior
The face should be transparent with only the border visible.
Screenshots
Desktop (please complete the following information):
OS: 10x64
Version v1.1.4.2203
Additional context
Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
If the style string contains "#" then we only draw the boundary using strict lines made out if mglGraph::Line(). If the style string contains "@", then we'll draw both the boundary and the face itself using the first colour for the face and the second for the boundary (like in draw circle(0,0,5, "@rg")).
Implementation to be found in void Plot::create2dDrawing(vector<string>& vDrawVector) and void Plot::create3dDrawing(vector<string>& vDrawVector)
DESCRIPTION
Describe the bug The two
draw
functionsface()
andfacev()
do not support a transparent mode with the style#
, where only their border is drawn.To Reproduce Steps to reproduce the behavior:
draw face(0,0, 5,0, "#")
Expected behavior The face should be transparent with only the border visible.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
If the style string contains
"#"
then we only draw the boundary using strict lines made out ifmglGraph::Line()
. If the style string contains"@"
, then we'll draw both the boundary and the face itself using the first colour for the face and the second for the boundary (like indraw circle(0,0,5, "@rg")
).Implementation to be found in
void Plot::create2dDrawing(vector<string>& vDrawVector)
andvoid Plot::create3dDrawing(vector<string>& vDrawVector)
IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST