Vital
Loading...
Searching...
No Matches
Paths Class Reference

A utility class providing static functions to generate various SVG-based or programmatic paths. More...

#include <paths.h>

Public Member Functions

 Paths ()=delete
 Deleted constructor to prevent instantiation.
 

Static Public Member Functions

static Path fromSvgData (const void *data, size_t data_size)
 Creates a JUCE Path from embedded SVG data.
 
static Path vitalRing ()
 Creates the Vital ring logo path.
 
static Path vitalV ()
 Creates the Vital 'V' logo path.
 
static Path vitalWord ()
 Creates the Vital wordmark path.
 
static Path vitalWordRing ()
 Creates the Vital wordmark with ring path.
 
static Path chorus ()
 Creates a chorus icon path from embedded SVG data.
 
static Path compressor ()
 Creates a compressor icon path from embedded SVG data.
 
static Path delay ()
 Creates a delay effect icon path from embedded SVG data.
 
static Path distortion ()
 Creates a distortion effect icon path.
 
static Path equalizer ()
 Creates an equalizer icon path.
 
static Path effectsFilter ()
 Creates an effects filter icon path.
 
static Path flanger ()
 Creates a flanger effect icon path.
 
static Path folder ()
 Creates a folder icon path.
 
static Path phaser ()
 Creates a phaser effect icon path.
 
static Path reverb ()
 Creates a reverb effect icon path.
 
static Path prev ()
 Creates a 'previous' arrow icon path.
 
static Path next ()
 Creates a 'next' arrow icon path.
 
static Path clock ()
 Creates a clock icon path.
 
static Path dragDropArrows ()
 Creates a drag-and-drop arrows icon path.
 
static Path note ()
 Creates a musical note icon path.
 
static Path tripletNotes ()
 Creates a triplet notes icon path.
 
static Path menu ()
 Creates a menu icon path (three horizontal lines).
 
static Path menu (int width)
 Overloaded menu path with custom width.
 
static Path plus (int width)
 
static Path plusOutline ()
 
static Path save (int width)
 
static Path downTriangle ()
 
static Path upTriangle ()
 
static Path exitX ()
 
static Path thickX ()
 
static Path star ()
 
static Path keyboard ()
 
static Path keyboardBordered ()
 
static Path fullKeyboard ()
 
static Path gear ()
 
static Path magnifyingGlass ()
 
static Path save ()
 
static Path loop ()
 
static Path bounce ()
 
static Path bipolar ()
 
static Path shuffle ()
 
static Path pencil ()
 
static Path halfSinCurve ()
 
static Path ellipses ()
 
static Path paintBrush ()
 
static Path createFilterStroke (const Path &outline, float line_thickness=0.1f)
 
static Path lowPass (float line_thickness=0.1f)
 
static Path highPass ()
 
static Path bandPass ()
 
static Path leftArrow ()
 
static Path rightArrow ()
 
static Path phaser1 ()
 
static Path phaser3 ()
 
static Path notch ()
 
static Path narrowBand ()
 
static Path wideBand ()
 

Static Public Attributes

static constexpr int kLogoWidth = 1701
 Width reference used for scaling Vital's logo paths.
 

Detailed Description

A utility class providing static functions to generate various SVG-based or programmatic paths.

This class is not instantiable and contains only static methods. It creates JUCE Path objects either from embedded SVG data or by constructing them programmatically. These paths are used for icons, shapes, and other vector graphics throughout the UI.

Constructor & Destructor Documentation

◆ Paths()

Paths::Paths ( )
delete

Deleted constructor to prevent instantiation.

Member Function Documentation

◆ bandPass()

static Path Paths::bandPass ( )
inlinestatic

◆ bipolar()

static Path Paths::bipolar ( )
inlinestatic

◆ bounce()

static Path Paths::bounce ( )
inlinestatic

◆ chorus()

static Path Paths::chorus ( )
inlinestatic

Creates a chorus icon path from embedded SVG data.

Returns
A Path representing a chorus icon.

◆ clock()

static Path Paths::clock ( )
inlinestatic

Creates a clock icon path.

Returns
A Path representing a clock icon.

◆ compressor()

static Path Paths::compressor ( )
inlinestatic

Creates a compressor icon path from embedded SVG data.

Returns
A Path representing a compressor icon.

◆ createFilterStroke()

static Path Paths::createFilterStroke ( const Path & outline,
float line_thickness = 0.1f )
inlinestatic

◆ delay()

static Path Paths::delay ( )
inlinestatic

Creates a delay effect icon path from embedded SVG data.

Returns
A Path representing a delay icon.

◆ distortion()

static Path Paths::distortion ( )
inlinestatic

Creates a distortion effect icon path.

Returns
A Path representing a distortion icon.

◆ downTriangle()

static Path Paths::downTriangle ( )
inlinestatic

◆ dragDropArrows()

static Path Paths::dragDropArrows ( )
inlinestatic

Creates a drag-and-drop arrows icon path.

Returns
A Path representing drag-and-drop arrows.

◆ effectsFilter()

static Path Paths::effectsFilter ( )
inlinestatic

Creates an effects filter icon path.

Returns
A Path representing an effects filter icon.

◆ ellipses()

static Path Paths::ellipses ( )
inlinestatic

◆ equalizer()

static Path Paths::equalizer ( )
inlinestatic

Creates an equalizer icon path.

Returns
A Path representing an equalizer icon.

◆ exitX()

static Path Paths::exitX ( )
inlinestatic

◆ flanger()

static Path Paths::flanger ( )
inlinestatic

Creates a flanger effect icon path.

Returns
A Path representing a flanger icon.

◆ folder()

static Path Paths::folder ( )
inlinestatic

Creates a folder icon path.

Returns
A Path representing a folder icon.

◆ fromSvgData()

static Path Paths::fromSvgData ( const void * data,
size_t data_size )
inlinestatic

Creates a JUCE Path from embedded SVG data.

Parameters
dataPointer to the raw SVG data.
data_sizeThe size of the SVG data in bytes.
Returns
A Path constructed from the SVG image data.

◆ fullKeyboard()

static Path Paths::fullKeyboard ( )
inlinestatic

◆ gear()

static Path Paths::gear ( )
inlinestatic

◆ halfSinCurve()

static Path Paths::halfSinCurve ( )
inlinestatic

◆ highPass()

static Path Paths::highPass ( )
inlinestatic

◆ keyboard()

static Path Paths::keyboard ( )
inlinestatic

◆ keyboardBordered()

static Path Paths::keyboardBordered ( )
inlinestatic

◆ leftArrow()

static Path Paths::leftArrow ( )
inlinestatic

◆ loop()

static Path Paths::loop ( )
inlinestatic

◆ lowPass()

static Path Paths::lowPass ( float line_thickness = 0.1f)
inlinestatic

◆ magnifyingGlass()

static Path Paths::magnifyingGlass ( )
inlinestatic

◆ menu() [1/2]

static Path Paths::menu ( )
inlinestatic

Creates a menu icon path (three horizontal lines).

Returns
A Path representing a menu (hamburger) icon.

◆ menu() [2/2]

static Path Paths::menu ( int width)
inlinestatic

Overloaded menu path with custom width.

Parameters
widthThe width to scale the menu icon to.
Returns
A Path representing a menu icon scaled to the given width.

◆ narrowBand()

static Path Paths::narrowBand ( )
inlinestatic

◆ next()

static Path Paths::next ( )
inlinestatic

Creates a 'next' arrow icon path.

Returns
A Path representing a 'next' arrow icon.

◆ notch()

static Path Paths::notch ( )
inlinestatic

◆ note()

static Path Paths::note ( )
inlinestatic

Creates a musical note icon path.

Returns
A Path representing a musical note.

◆ paintBrush()

static Path Paths::paintBrush ( )
inlinestatic

◆ pencil()

static Path Paths::pencil ( )
inlinestatic

◆ phaser()

static Path Paths::phaser ( )
inlinestatic

Creates a phaser effect icon path.

Returns
A Path representing a phaser icon.

◆ phaser1()

static Path Paths::phaser1 ( )
inlinestatic

◆ phaser3()

static Path Paths::phaser3 ( )
inlinestatic

◆ plus()

static Path Paths::plus ( int width)
inlinestatic

◆ plusOutline()

static Path Paths::plusOutline ( )
inlinestatic

◆ prev()

static Path Paths::prev ( )
inlinestatic

Creates a 'previous' arrow icon path.

Returns
A Path representing a 'previous' arrow icon.

◆ reverb()

static Path Paths::reverb ( )
inlinestatic

Creates a reverb effect icon path.

Returns
A Path representing a reverb icon.

◆ rightArrow()

static Path Paths::rightArrow ( )
inlinestatic

◆ save() [1/2]

static Path Paths::save ( )
inlinestatic

◆ save() [2/2]

static Path Paths::save ( int width)
inlinestatic

◆ shuffle()

static Path Paths::shuffle ( )
inlinestatic

◆ star()

static Path Paths::star ( )
inlinestatic

◆ thickX()

static Path Paths::thickX ( )
inlinestatic

◆ tripletNotes()

static Path Paths::tripletNotes ( )
inlinestatic

Creates a triplet notes icon path.

Returns
A Path representing three notes (triplet).

◆ upTriangle()

static Path Paths::upTriangle ( )
inlinestatic

◆ vitalRing()

static Path Paths::vitalRing ( )
inlinestatic

Creates the Vital ring logo path.

Returns
A Path representing the Vital ring logo.

◆ vitalV()

static Path Paths::vitalV ( )
inlinestatic

Creates the Vital 'V' logo path.

Returns
A Path representing the Vital 'V' portion of the logo.

◆ vitalWord()

static Path Paths::vitalWord ( )
inlinestatic

Creates the Vital wordmark path.

Returns
A Path representing the Vital word logo.

◆ vitalWordRing()

static Path Paths::vitalWordRing ( )
inlinestatic

Creates the Vital wordmark with ring path.

Returns
A Path representing the Vital word + ring logo combination.

◆ wideBand()

static Path Paths::wideBand ( )
inlinestatic

Member Data Documentation

◆ kLogoWidth

int Paths::kLogoWidth = 1701
staticconstexpr

Width reference used for scaling Vital's logo paths.


The documentation for this class was generated from the following file: