Kore 3
Loading...
Searching...
No Matches
pen.h File Reference

Provides pen-support. More...

#include <kore3/global.h>

Go to the source code of this file.

Functions

KORE_FUNC void kore_pen_set_press_callback (void(*value)(int, int, int, float))
 Sets the pen-press-callback which is called when the pen is touching the drawing-surface.
KORE_FUNC void kore_pen_set_move_callback (void(*value)(int, int, int, float))
 Sets the pen-move-callback which is called when the pen is moved.
KORE_FUNC void kore_pen_set_release_callback (void(*value)(int, int, int, float))
 Sets the pen-release-callback which is called when the pen is moved away from the drawing-surface.
KORE_FUNC void kore_eraser_set_press_callback (void(*value)(int, int, int, float))
 Sets the eraser-press-callback which is called when the pen is touching the drawing-surface in eraser-mode.
KORE_FUNC void kore_eraser_set_move_callback (void(*value)(int, int, int, float))
 Sets the eraser-move-callback which is called when the pen is moved while in eraser-mode.
KORE_FUNC void kore_eraser_set_release_callback (void(*value)(int, int, int, float))
 Sets the eraser-release-callback which is called when the pen is moved away from the drawing-surface when in eraser-mode.

Detailed Description

Provides pen-support.

Function Documentation

◆ kore_eraser_set_move_callback()

KORE_FUNC void kore_eraser_set_move_callback ( void(* value )(int, int, int, float))

Sets the eraser-move-callback which is called when the pen is moved while in eraser-mode.

Parameters
valueThe callback

◆ kore_eraser_set_press_callback()

KORE_FUNC void kore_eraser_set_press_callback ( void(* value )(int, int, int, float))

Sets the eraser-press-callback which is called when the pen is touching the drawing-surface in eraser-mode.

Parameters
valueThe callback

◆ kore_eraser_set_release_callback()

KORE_FUNC void kore_eraser_set_release_callback ( void(* value )(int, int, int, float))

Sets the eraser-release-callback which is called when the pen is moved away from the drawing-surface when in eraser-mode.

Parameters
valueThe callback

◆ kore_pen_set_move_callback()

KORE_FUNC void kore_pen_set_move_callback ( void(* value )(int, int, int, float))

Sets the pen-move-callback which is called when the pen is moved.

Parameters
valueThe callback

◆ kore_pen_set_press_callback()

KORE_FUNC void kore_pen_set_press_callback ( void(* value )(int, int, int, float))

Sets the pen-press-callback which is called when the pen is touching the drawing-surface.

Parameters
valueThe callback

◆ kore_pen_set_release_callback()

KORE_FUNC void kore_pen_set_release_callback ( void(* value )(int, int, int, float))

Sets the pen-release-callback which is called when the pen is moved away from the drawing-surface.

Parameters
valueThe callback