VisuGlExtPaths

VisuGlExtPaths — Defines methods to draw paths.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ToolDbgObj
        ╰── VisuGlExt
            ╰── VisuGlExtPaths

Description

Create a VisuGlExt object to handle VisuPaths drawing.

Functions

visu_gl_ext_paths_new ()

VisuGlExtPaths *
visu_gl_ext_paths_new (const gchar *name);

Creates a new VisuGlExt to draw paths.

Parameters

name

the name to give to the extension (default is VISU_GL_EXT_PATHS_ID).

[allow-none]

Returns

a pointer to the VisuGlExt it created or NULL otherwise.

[transfer full]

Since: 3.7


visu_gl_ext_paths_set ()

gboolean
visu_gl_ext_paths_set (VisuGlExtPaths *paths,
                       VisuPaths *obj);

Set the VisuPaths to be drawn.

Parameters

paths

the VisuGlExtPaths object to modify.

 

obj

a VisuPaths object.

[allow-none][transfer none]

Returns

TRUE if the model was actually changed.

Since: 3.7


visu_gl_ext_paths_setWidth ()

gboolean
visu_gl_ext_paths_setWidth (VisuGlExtPaths *paths,
                            float value);

Change the rendering width of the paths .

Parameters

paths

a VisuGlExtPaths object.

 

value

a positive float lower than 10.

 

Returns

TRUE if the width has changed.

Since: 3.8


visu_gl_ext_paths_getWidth ()

float
visu_gl_ext_paths_getWidth (VisuGlExtPaths *paths);

Inquire the width used to render the paths .

Parameters

paths

a VisuGlExtPaths object.

 

Returns

the width used to render the path.

Since: 3.8

Types and Values

VISU_GL_EXT_PATHS_ID

#define VISU_GL_EXT_PATHS_ID "Paths"

The id used to identify this extension, see visu_gl_ext_rebuild() for instance.