This is the main "debug" renderer for Scenic applications.
It replaces the nanovg backend with just an absurd amount of printfs.
This is currently just gross code, don't be surprised to find sharp edges.
If available in Hex, the package can be installed
by adding scenic_driver_debug to your list of dependencies in mix.exs:
def deps do
[
{:scenic_driver_debug, "~> 0.11.0"}
]
endHonestly, you'll probably need to manually load this from a local checkout until its up on hex.
Example:
[
module: Scenic.Driver.Debug,
window: [title: "Local Window", resizeable: true]
]There are quite a few new options as well. It uses NimbleOptions to confirm them, so look at the Scenic.Driver.Local module for details.
This driver requires Scenic v0.11 or up.
The easiest way to install on MacOS is to use Homebrew. Just run the following in a terminal:
brew update
brew install pkg-configOnce these components have been installed, you should be able to build the scenic_driver_debug driver.
The easiest way to install on Ubuntu is to use apt-get. Just run the following:
apt-get update
apt-get install pkgconfOnce these components have been installed, you should be able to build the scenic_driver_debug driver.
The easiest way to install on Ubuntu is to use apt-get. Just run the following:
apt-get update
apt-get install pkgconf Once these components have been installed, you should be able to build the scenic_driver_debug driver.
First, make sure to have installed Visual Studio with its "Desktop development with C++" package.
Once these components have been installed, you should be able to build the scenic_driver_debug driver.
Not there yet.