cmdfx 0.2.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
path.hpp
Go to the documentation of this file.
1
11#pragma once
12
13extern "C" {
14 #include "cmdfx/ui/path.h"
15}
16
17#include <string>
18
19namespace CmdFX {
20
21 namespace Canvas {
33 inline void path(const std::string path, char ch) {
34 Canvas_path(path.c_str(), ch);
35 }
36
37 }
38
39}
C++ wrapper for the CmdFX canvas.
Definition canvas.hpp:23
void path(const std::string path, char ch)
Draws a path on the canvas using the specified path string.
Definition path.hpp:33
Primary namespace for CmdFX.
Definition cmdfx.hpp:22
Draw on Canvas using SVG-like path commands.
int Canvas_path(const char *path, char ch)
Draws a path on the canvas using the specified path string.