![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The GeomView manages and renders a collection of Geometric objects. More...
Public Member Functions | |
| GeomView () | |
| The constructor. More... | |
| void | AddObject (GeomObj obj) |
| Add a new geometric object to the view. More... | |
| void | RenderText (Graphics g, string str, float fX, float fY, Brush br=null) |
| Render text at a location. More... | |
| void | RenderSteps (Graphics g, int nSteps, int nMax) |
| Renders the Gym step information. More... | |
| void | Render (Graphics g) |
| Renders the view. More... | |
The GeomView manages and renders a collection of Geometric objects.
Definition at line 475 of file Geometry.cs.
| MyCaffe.gym.GeomView.GeomView | ( | ) |
The constructor.
Definition at line 482 of file Geometry.cs.
| void MyCaffe.gym.GeomView.AddObject | ( | GeomObj | obj | ) |
Add a new geometric object to the view.
| obj | Specifies the object to add. |
Definition at line 490 of file Geometry.cs.
| void MyCaffe.gym.GeomView.Render | ( | Graphics | g | ) |
Renders the view.
| g | Specifies the Graphics used to draw. |
Definition at line 570 of file Geometry.cs.
| void MyCaffe.gym.GeomView.RenderSteps | ( | Graphics | g, |
| int | nSteps, | ||
| int | nMax | ||
| ) |
Renders the Gym step information.
| g | Specifies the Graphics used to draw. |
| nSteps | Specifies the current steps. |
| nMax | Specifies the maximum number of steps. |
Definition at line 519 of file Geometry.cs.
| void MyCaffe.gym.GeomView.RenderText | ( | Graphics | g, |
| string | str, | ||
| float | fX, | ||
| float | fY, | ||
| Brush | br = null |
||
| ) |
Render text at a location.
| g | Specifies the Graphics used to draw. |
| str | Specifies the text to draw. |
| fX | Specifies the left most x-coordinate where the text is drawn. |
| fY | Specifies the top most y-coordinate where the text is drawn. |
| br | Optionally, specifies the brush to use (default = Black) |
Definition at line 503 of file Geometry.cs.