Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
|
#include <stage.h>
Public Types | |
enum | ToolMode { MODE_NONE , MODE_SELECT , MODE_NODE , MODE_STROKE , MODE_FILL , MODE_EYEDROP , MODE_ZOOM , MODE_MOVE_STAGE , MODE_DRAW_RECT , MODE_DRAW_TEXT , MODE_DRAW_POLY , MODE_DRAW_OVAL , MODE_DRAW_LINE , MODE_DRAW_PENCIL , MODE_NONE , MODE_SELECT , MODE_NODE , MODE_STROKE , MODE_FILL , MODE_EYEDROP , MODE_ZOOM , MODE_MOVE_STAGE , MODE_DRAW_RECT , MODE_DRAW_TEXT , MODE_DRAW_POLY , MODE_DRAW_OVAL , MODE_DRAW_LINE , MODE_DRAW_PENCIL } |
enum | ToolMode { MODE_NONE , MODE_SELECT , MODE_NODE , MODE_STROKE , MODE_FILL , MODE_EYEDROP , MODE_ZOOM , MODE_MOVE_STAGE , MODE_DRAW_RECT , MODE_DRAW_TEXT , MODE_DRAW_POLY , MODE_DRAW_OVAL , MODE_DRAW_LINE , MODE_DRAW_PENCIL , MODE_NONE , MODE_SELECT , MODE_NODE , MODE_STROKE , MODE_FILL , MODE_EYEDROP , MODE_ZOOM , MODE_MOVE_STAGE , MODE_DRAW_RECT , MODE_DRAW_TEXT , MODE_DRAW_POLY , MODE_DRAW_OVAL , MODE_DRAW_LINE , MODE_DRAW_PENCIL } |
Public Member Functions | |
KageStage (Kage *p_win) | |
virtual | ~KageStage () |
void | printVectors () |
void | cleanSlate () |
void | invalidateToRender () |
void | setStageBG (Gdk::Color p_Color) |
Gdk::Color | getStageBG () |
void | setFill (Gdk::Color p_Color) |
Gdk::Color | getFill () |
void | setStroke (Gdk::Color p_Color) |
Gdk::Color | getStroke () |
void | clearScreen (Cairo::RefPtr< Cairo::Context > p_context) |
for use with zoom; default value is stageWidth; can be changed as preferred | |
void | renderFrame (Cairo::RefPtr< Cairo::Context > p_context, bool p_force=false) |
void | renderOnionFrame (Cairo::RefPtr< Cairo::Context > p_context, vector< VectorData > p_vectorData, double p_alpha) |
void | renderFrame (Cairo::RefPtr< Cairo::Context > p_context, vector< VectorData > p_vectorData, double p_alpha=1.0) |
void | renderFrameOffset (Cairo::RefPtr< Cairo::Context > p_context, bool p_force=false, double p_offsetX=0.0, double p_offsetY=0.0) |
void | renderFrameOffset (Cairo::RefPtr< Cairo::Context > p_context, vector< VectorData > p_vectorData, double p_alpha=1.0, double p_offsetX=0.0, double p_offsetY=0.0) |
void | initNodeTool () |
void | handleShapes () |
void | handleShapes_modifyingShapeRotate () |
void | handleShapes_modifyingShape () |
void | handleShapes_scaleNorth () |
void | handleShapes_scaleEast () |
void | handleShapes_scaleWest () |
void | handleShapes_scaleSouth () |
void | handleShapes_moveShape (double p_diffX, double p_diffY) |
void | handleShapes_updateAnchors (double p_x, double p_y) |
void | handleShapesMouseDown () |
void | handleShapesMouseUp () |
void | handleNodes () |
void | handleNodes_selection () |
void | handleNodes_relocation () |
void | handleNodes_rendering () |
void | handleNodesMouseDown () |
void | handleNodesMouseUp () |
bool | handleNodes_getNearestShape (double p_x, double p_y, unsigned int p_index, vector< VectorData > p_v) |
void | handleDrawOvalMouseUp () |
void | handleDrawRectMouseUp () |
void | handleDrawPolyMouseUp () |
void | handleDrawPencilMouseDown (PointData p_point) |
void | handleDrawPencilMouseMove (PointData p_point) |
void | handleDrawPencilMouseUp () |
void | handleOval () |
void | handleRect () |
void | handlePoly () |
void | handlePencil () |
void | handleStroke () |
void | handleStrokeMouseMove () |
void | handleStrokeMouseUp () |
void | handleFill () |
void | handleFillMouseUp () |
void | handleEyedrop () |
void | handleEyedropMouseMove () |
void | handleEyedropMouseUp () |
bool | selectAllShapes () |
bool | deselectSelectedShapes () |
bool | deselectSelectedNodes () |
bool | cancelDrawingPoly () |
bool | cutSelectedShapes () |
bool | copySelectedShapes () |
bool | pasteSelectedShapes () |
bool | deleteSelectedShapes () |
bool | deleteSelectedNodes () |
bool | toggleLineSelectedNodes () |
void | updateNodeXY () |
bool | isSelectedNode (unsigned int p_index) |
void | addSelectedNode (unsigned int p_index) |
bool | isSelectedShape (unsigned int p_index) |
void | addSelectedShape (unsigned int p_index) |
void | trySingleSelectShape () |
void | tryMultiSelectShapes () |
void | tryMultiSelectShapes_populateShapes () |
unsigned int | getShape (unsigned int p_index, vector< VectorData > p_v) |
void | updateShapeColor (bool p_doFill=true, bool p_doStroke=true) |
void | updateShapeX (double p_value, bool p_stackDo=true) |
void | updateShapeY (double p_value, bool p_stackDo=true) |
void | updateShapeWidth (double p_value) |
void | updateShapeHeight (double p_value) |
void | updateNodeX (double p_value, bool p_stackDo=true) |
void | updateNodeY (double p_value, bool p_stackDo=true) |
bool | renderToPNG (string p_path, bool p_transparent) |
bool | renderToPNGOffset (string p_path, bool p_transparent, double p_offsetX=0.0, double p_offsetY=0.0) |
void | renderFrameToPNG (Cairo::RefPtr< Cairo::Context > p_context) |
void | renderFrameToPNGOffset (Cairo::RefPtr< Cairo::Context > p_context, double p_offsetX=0.0, double p_offsetY=0.0) |
PointData | applyZoomRatio (PointData p_value) |
void | applyZoom () |
vector< VectorData > | applyZoom (vector< VectorData > p_v) |
void | setSelectedShapes (vector< unsigned int > p_selectedShapes) |
vector< unsigned int > | getSelectedShapes () |
void | unpressKeys () |
KageStage (Kage *p_kage) | |
virtual | ~KageStage () |
void | printVectors () |
void | cleanSlate () |
void | invalidateToRender () |
void | setFill (Gdk::Color p_Color) |
Gdk::Color | getFill () |
void | setStroke (Gdk::Color p_Color) |
Gdk::Color | getStroke () |
void | clearScreen (Cairo::RefPtr< Cairo::Context > p_context) |
for use with zoom; default value is _kage->_document.Project._width; can be changed as preferred | |
void | renderFrame (Cairo::RefPtr< Cairo::Context > p_context, bool p_force=false) |
void | renderOnionFrame (Cairo::RefPtr< Cairo::Context > p_context, vector< VectorData > p_vectorData, double p_alpha) |
void | renderFrame (Cairo::RefPtr< Cairo::Context > p_context, vector< VectorData > p_vectorData, double p_alpha=1.0) |
void | renderFrameOffset (Cairo::RefPtr< Cairo::Context > p_context, bool p_force=false, double p_offsetX=0.0, double p_offsetY=0.0) |
void | renderFrameOffset (Cairo::RefPtr< Cairo::Context > p_context, vector< VectorData > p_vectorData, double p_alpha=1.0, double p_offsetX=0.0, double p_offsetY=0.0) |
unsigned int | addImage (unsigned int p_ID) |
This will return an Cairo::ImageSurface array-index to be used as ID for rendering on Stage or Library. | |
void | initNodeTool () |
void | handleShapes () |
void | handleShapes_modifyingShapeRotate () |
void | handleShapes_modifyingShape () |
void | handleShapes_scaleNorth () |
void | handleShapes_scaleEast () |
void | handleShapes_scaleWest () |
void | handleShapes_scaleSouth () |
void | handleShapes_moveShape (double p_diffX, double p_diffY) |
void | handleShapes_updateAnchors (double p_x, double p_y) |
void | handleShapesMouseDown () |
void | handleShapesMouseUp () |
void | handleNodes () |
void | handleNodes_selection () |
void | handleNodes_relocation () |
void | handleNodes_rendering () |
void | handleNodesMouseDown () |
void | handleNodesMouseUp () |
bool | handleNodes_getNearestShape (double p_x, double p_y, unsigned int p_index, vector< VectorData > p_v) |
void | handleDrawOvalMouseUp () |
void | handleDrawRectMouseUp () |
void | handleDrawPolyMouseUp () |
void | handleDrawPencilMouseDown (PointData p_point) |
void | handleDrawPencilMouseMove (PointData p_point) |
void | handleDrawPencilMouseUp () |
void | handleOval () |
void | handleRect () |
void | handlePoly () |
void | handlePencil () |
void | handleStroke () |
void | handleStrokeMouseMove () |
void | handleStrokeMouseUp () |
void | handleFill () |
void | handleFillMouseUp () |
void | handleEyedrop () |
void | handleEyedropMouseMove () |
void | handleEyedropMouseUp () |
bool | selectAllShapes () |
bool | deselectSelectedShapes () |
bool | deselectSelectedNodes () |
bool | cancelDrawingPoly () |
bool | cutSelectedShapes () |
bool | copySelectedShapes () |
bool | pasteSelectedShapes () |
bool | deleteSelectedShapes () |
bool | deleteSelectedNodes () |
bool | toggleLineSelectedNodes () |
void | updateNodeXY () |
bool | isSelectedNode (unsigned int p_index) |
void | addSelectedNode (unsigned int p_index) |
bool | isSelectedShape (unsigned int p_index) |
void | addSelectedShape (unsigned int p_index) |
void | trySingleSelectShape () |
void | tryMultiSelectShapes () |
void | tryMultiSelectShapes_populateShapes () |
unsigned int | getShape (unsigned int p_index, vector< VectorData > p_v) |
void | updateShapeColor (bool p_doFill=true, bool p_doStroke=true) |
void | updateShapeX (double p_value, bool p_stackDo=true) |
void | updateShapeY (double p_value, bool p_stackDo=true) |
void | updateShapeWidth (double p_value) |
void | updateShapeHeight (double p_value) |
void | updateNodeX (double p_value, bool p_stackDo=true) |
void | updateNodeY (double p_value, bool p_stackDo=true) |
bool | renderToPNG (string p_path, bool p_transparent) |
bool | renderToPNGOffset (string p_path, bool p_transparent, double p_offsetX=0.0, double p_offsetY=0.0) |
void | renderFrameToPNG (Cairo::RefPtr< Cairo::Context > p_context) |
void | renderFrameToPNGOffset (Cairo::RefPtr< Cairo::Context > p_context, double p_offsetX=0.0, double p_offsetY=0.0) |
PointData | applyZoomRatio (PointData p_value) |
void | applyZoom () |
vector< VectorData > | applyZoom (vector< VectorData > p_v) |
void | setSelectedShapes (vector< unsigned int > p_selectedShapes) |
vector< unsigned int > | getSelectedShapes () |
void | unpressKeys () |
Data Fields | |
const unsigned int | _NO_SELECTION = -1 |
unsigned int | fps |
double | fpsElapse |
double | propX = 0 |
int | propXindex1 |
int | propXindex2 |
double | propY = 0 |
int | propYindex1 |
int | propYindex2 |
double | propWidth = 0 |
double | propHeight = 0 |
double | nodeX = 0 |
double | nodeY = 0 |
unsigned int | nodeIndexX = 0 |
unsigned int | nodeIndexY = 0 |
double | stageWidth |
double | stageHeight |
double | currentScale |
Glib::RefPtr< Gdk::Pixbuf > | _bg |
Cairo::RefPtr< Cairo::Surface > | _bgcr |
bool | _stackDo = false |
vector< VectorData > | _vectorDataCopyBuffer |
vector< VectorData > | _vectorDataZOrderBufferA |
vector< VectorData > | _vectorDataZOrderBufferB |
vector< VectorData > | _vectorDataZOrderBufferC |
Cairo::RefPtr< Cairo::Context > | cr |
PointData | origin |
bool | _isModifyingShape |
double | _zoomRatio |
double | _zoomValue |
PointData | _zoomReference |
PointData | __origin |
PointData | __stageArea |
PointData | _rotateReference |
bool | _rotateMode |
bool | _rotateApply |
bool | _invalidated |
vector< Cairo::RefPtr< Cairo::ImageSurface > > | cairoPNG |
Static Public Attributes | |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_000 |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_045 |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_090 |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_135 |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_MOVE |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_NE |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_NW |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_SW |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_SE |
static Glib::RefPtr< Gdk::Pixbuf > | imageSHAPE_ROTATE |
static ColorData | stageBG |
static ColorData | fillColor |
direct use for get only | |
static StrokeColorData | stroke |
direct use for get only | |
static ToolMode | toolMode = MODE_NONE |
direct use for get only | |
static GdkPoint | moveStageXY |
static ColorData | pencilFillColor |
direct use for get only | |
static StrokeColorData | pencilStroke |
direct use for get only | |
static Cairo::RefPtr< Cairo::ImageSurface > | cairoImageSurface |
Protected Member Functions | |
virtual bool | on_expose_event (GdkEventExpose *e) |
virtual bool | on_key_press_event (GdkEventKey *e) override |
virtual bool | on_key_release_event (GdkEventKey *e) override |
virtual bool | on_event (GdkEvent *e) override |
bool | on_draw (const Cairo::RefPtr< Cairo::Context > &cr) override |
bool | on_timeout () |
void | renderNode (double p_x, double p_y, unsigned int p_state=5) |
void | renderNodeControl (double p_x, double p_y, bool p_selected) |
bool | isMouseOnNode (double p_x, double p_y, unsigned int p_buffer=5) |
bool | isSelectionBoxNormalized () |
void | normalizeSelectionBox () |
bool | isNodeOnSelectionBox (double p_nodeX, double p_nodeY) |
void | drawSelectionArea () |
bool | deleteSelectedNode (unsigned int p_index) |
unsigned int | getSelectedShapeViaNode (unsigned int p_index, vector< VectorData > p_v) |
void | updateShapeXY () |
virtual bool | on_expose_event (GdkEventExpose *e) |
virtual bool | on_key_press_event (GdkEventKey *e) override |
virtual bool | on_key_release_event (GdkEventKey *e) override |
virtual bool | on_event (GdkEvent *e) override |
bool | on_draw (const Cairo::RefPtr< Cairo::Context > &cr) override |
bool | on_timeout () |
void | renderNode (double p_x, double p_y, unsigned int p_state=5) |
void | renderNodeControl (double p_x, double p_y, bool p_selected) |
bool | isMouseOnNode (double p_x, double p_y, unsigned int p_buffer=5) |
bool | isSelectionBoxNormalized () |
void | normalizeSelectionBox () |
bool | isNodeOnSelectionBox (double p_nodeX, double p_nodeY) |
void | drawSelectionArea () |
bool | deleteSelectedNode (unsigned int p_index) |
unsigned int | getSelectedShapeViaNode (unsigned int p_index, vector< VectorData > p_v) |
void | updateShapeXY () |
enum KageStage::ToolMode |
enum KageStage::ToolMode |
KageStage::KageStage | ( | Kage * | p_win | ) |
|
virtual |
KageStage::KageStage | ( | Kage * | p_kage | ) |
|
virtual |
unsigned int KageStage::addImage | ( | unsigned int | p_ID | ) |
This will return an Cairo::ImageSurface array-index to be used as ID for rendering on Stage or Library.
p_ID | reference ID from Assets |
void KageStage::addSelectedNode | ( | unsigned int | p_index | ) |
void KageStage::addSelectedNode | ( | unsigned int | p_index | ) |
void KageStage::addSelectedShape | ( | unsigned int | p_index | ) |
void KageStage::addSelectedShape | ( | unsigned int | p_index | ) |
void KageStage::applyZoom | ( | ) |
zoom++ : TODO: to become obsolete; new zoom implementation makes this useless
void KageStage::applyZoom | ( | ) |
vector< VectorData > KageStage::applyZoom | ( | vector< VectorData > | p_v | ) |
vector< VectorData > KageStage::applyZoom | ( | vector< VectorData > | p_v | ) |
bool KageStage::cancelDrawingPoly | ( | ) |
bool KageStage::cancelDrawingPoly | ( | ) |
void KageStage::cleanSlate | ( | ) |
void KageStage::cleanSlate | ( | ) |
void KageStage::clearScreen | ( | Cairo::RefPtr< Cairo::Context > | p_context | ) |
for use with zoom; default value is stageWidth; can be changed as preferred
void KageStage::clearScreen | ( | Cairo::RefPtr< Cairo::Context > | p_context | ) |
for use with zoom; default value is _kage->_document.Project._width; can be changed as preferred
bool KageStage::copySelectedShapes | ( | ) |
bool KageStage::copySelectedShapes | ( | ) |
bool KageStage::cutSelectedShapes | ( | ) |
bool KageStage::cutSelectedShapes | ( | ) |
|
protected |
|
protected |
bool KageStage::deleteSelectedNodes | ( | ) |
bool KageStage::deleteSelectedNodes | ( | ) |
bool KageStage::deleteSelectedShapes | ( | ) |
bool KageStage::deleteSelectedShapes | ( | ) |
bool KageStage::deselectSelectedNodes | ( | ) |
bool KageStage::deselectSelectedNodes | ( | ) |
bool KageStage::deselectSelectedShapes | ( | ) |
bool KageStage::deselectSelectedShapes | ( | ) |
|
protected |
|
protected |
Gdk::Color KageStage::getFill | ( | ) |
Gdk::Color KageStage::getFill | ( | ) |
vector< unsigned int > KageStage::getSelectedShapes | ( | ) |
vector< unsigned int > KageStage::getSelectedShapes | ( | ) |
|
protected |
|
protected |
unsigned int KageStage::getShape | ( | unsigned int | p_index, |
vector< VectorData > | p_v | ||
) |
unsigned int KageStage::getShape | ( | unsigned int | p_index, |
vector< VectorData > | p_v | ||
) |
Gdk::Color KageStage::getStageBG | ( | ) |
Gdk::Color KageStage::getStroke | ( | ) |
Gdk::Color KageStage::getStroke | ( | ) |
void KageStage::handleDrawOvalMouseUp | ( | ) |
void KageStage::handleDrawOvalMouseUp | ( | ) |
void KageStage::handleDrawPencilMouseDown | ( | PointData | p_point | ) |
void KageStage::handleDrawPencilMouseDown | ( | PointData | p_point | ) |
void KageStage::handleDrawPencilMouseMove | ( | PointData | p_point | ) |
void KageStage::handleDrawPencilMouseMove | ( | PointData | p_point | ) |
void KageStage::handleDrawPencilMouseUp | ( | ) |
void KageStage::handleDrawPencilMouseUp | ( | ) |
void KageStage::handleDrawPolyMouseUp | ( | ) |
void KageStage::handleDrawPolyMouseUp | ( | ) |
void KageStage::handleDrawRectMouseUp | ( | ) |
void KageStage::handleDrawRectMouseUp | ( | ) |
void KageStage::handleEyedrop | ( | ) |
void KageStage::handleEyedrop | ( | ) |
void KageStage::handleEyedropMouseMove | ( | ) |
void KageStage::handleEyedropMouseMove | ( | ) |
void KageStage::handleEyedropMouseUp | ( | ) |
void KageStage::handleEyedropMouseUp | ( | ) |
void KageStage::handleFill | ( | ) |
void KageStage::handleFill | ( | ) |
void KageStage::handleFillMouseUp | ( | ) |
void KageStage::handleFillMouseUp | ( | ) |
void KageStage::handleNodes | ( | ) |
void KageStage::handleNodes | ( | ) |
bool KageStage::handleNodes_getNearestShape | ( | double | p_x, |
double | p_y, | ||
unsigned int | p_index, | ||
vector< VectorData > | p_v | ||
) |
bool KageStage::handleNodes_getNearestShape | ( | double | p_x, |
double | p_y, | ||
unsigned int | p_index, | ||
vector< VectorData > | p_v | ||
) |
void KageStage::handleNodes_relocation | ( | ) |
make sure last point before end fill is in-sync with MOVE(shape's start point)
get index of MOVE of selectedNode
register i for later use in ENDFILL
register i for later use in ENDFILL <– note from newer handling of Poly
get index of MOVE of selectedNode
void KageStage::handleNodes_relocation | ( | ) |
void KageStage::handleNodes_rendering | ( | ) |
void KageStage::handleNodes_rendering | ( | ) |
void KageStage::handleNodes_selection | ( | ) |
void KageStage::handleNodes_selection | ( | ) |
void KageStage::handleNodesMouseDown | ( | ) |
void KageStage::handleNodesMouseDown | ( | ) |
void KageStage::handleNodesMouseUp | ( | ) |
void KageStage::handleNodesMouseUp | ( | ) |
void KageStage::handleOval | ( | ) |
void KageStage::handleOval | ( | ) |
void KageStage::handlePencil | ( | ) |
void KageStage::handlePencil | ( | ) |
void KageStage::handlePoly | ( | ) |
void KageStage::handlePoly | ( | ) |
void KageStage::handleRect | ( | ) |
void KageStage::handleRect | ( | ) |
void KageStage::handleShapes | ( | ) |
void KageStage::handleShapes | ( | ) |
void KageStage::handleShapes_modifyingShape | ( | ) |
NOTE: don't use ELSE-IF to apply changes ASAP
void KageStage::handleShapes_modifyingShape | ( | ) |
void KageStage::handleShapes_modifyingShapeRotate | ( | ) |
void KageStage::handleShapes_modifyingShapeRotate | ( | ) |
void KageStage::handleShapes_moveShape | ( | double | p_diffX, |
double | p_diffY | ||
) |
register i for later use in ENDFILL
void KageStage::handleShapes_moveShape | ( | double | p_diffX, |
double | p_diffY | ||
) |
void KageStage::handleShapes_scaleEast | ( | ) |
register i for later use in ENDFILL
void KageStage::handleShapes_scaleEast | ( | ) |
void KageStage::handleShapes_scaleNorth | ( | ) |
register i for later use in ENDFILL
void KageStage::handleShapes_scaleNorth | ( | ) |
void KageStage::handleShapes_scaleSouth | ( | ) |
register i for later use in ENDFILL
void KageStage::handleShapes_scaleSouth | ( | ) |
void KageStage::handleShapes_scaleWest | ( | ) |
register i for later use in ENDFILL
void KageStage::handleShapes_scaleWest | ( | ) |
void KageStage::handleShapes_updateAnchors | ( | double | p_x, |
double | p_y | ||
) |
void KageStage::handleShapes_updateAnchors | ( | double | p_x, |
double | p_y | ||
) |
void KageStage::handleShapesMouseDown | ( | ) |
void KageStage::handleShapesMouseDown | ( | ) |
void KageStage::handleShapesMouseUp | ( | ) |
check if still be used; as of 2019 Nov 24, nothing is calling it
void KageStage::handleShapesMouseUp | ( | ) |
void KageStage::handleStroke | ( | ) |
void KageStage::handleStroke | ( | ) |
void KageStage::handleStrokeMouseMove | ( | ) |
void KageStage::handleStrokeMouseMove | ( | ) |
void KageStage::handleStrokeMouseUp | ( | ) |
void KageStage::handleStrokeMouseUp | ( | ) |
void KageStage::initNodeTool | ( | ) |
void KageStage::initNodeTool | ( | ) |
void KageStage::invalidateToRender | ( | ) |
void KageStage::invalidateToRender | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
bool KageStage::isSelectedNode | ( | unsigned int | p_index | ) |
bool KageStage::isSelectedNode | ( | unsigned int | p_index | ) |
bool KageStage::isSelectedShape | ( | unsigned int | p_index | ) |
bool KageStage::isSelectedShape | ( | unsigned int | p_index | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
overrideprotected |
why can't it be loaded when after ‘window = get_window()’?
|
overrideprotected |
|
overrideprotectedvirtual |
struct _GdkEventConfigure { GdkEventType type; GdkWindow *window; gint8 send_event; gint16 x, y; gint16 width; gint16 height; };
|
overrideprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
|
protected |
bool KageStage::pasteSelectedShapes | ( | ) |
bool KageStage::pasteSelectedShapes | ( | ) |
void KageStage::printVectors | ( | ) |
void KageStage::printVectors | ( | ) |
void KageStage::renderFrame | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
bool | p_force = false |
||
) |
void KageStage::renderFrame | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
bool | p_force = false |
||
) |
void KageStage::renderFrame | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
vector< VectorData > | p_vectorData, | ||
double | p_alpha = 1.0 |
||
) |
void KageStage::renderFrame | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
vector< VectorData > | p_vectorData, | ||
double | p_alpha = 1.0 |
||
) |
void KageStage::renderFrameOffset | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
bool | p_force = false , |
||
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
void KageStage::renderFrameOffset | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
bool | p_force = false , |
||
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
void KageStage::renderFrameOffset | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
vector< VectorData > | p_vectorData, | ||
double | p_alpha = 1.0 , |
||
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
void KageStage::renderFrameOffset | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
vector< VectorData > | p_vectorData, | ||
double | p_alpha = 1.0 , |
||
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
void KageStage::renderFrameToPNG | ( | Cairo::RefPtr< Cairo::Context > | p_context | ) |
void KageStage::renderFrameToPNG | ( | Cairo::RefPtr< Cairo::Context > | p_context | ) |
void KageStage::renderFrameToPNGOffset | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
void KageStage::renderFrameToPNGOffset | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
|
protected |
|
protected |
|
protected |
|
protected |
void KageStage::renderOnionFrame | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
vector< VectorData > | p_vectorData, | ||
double | p_alpha | ||
) |
For use by Kage, when Onion Skin is toggled
void KageStage::renderOnionFrame | ( | Cairo::RefPtr< Cairo::Context > | p_context, |
vector< VectorData > | p_vectorData, | ||
double | p_alpha | ||
) |
bool KageStage::renderToPNG | ( | string | p_path, |
bool | p_transparent | ||
) |
bool KageStage::renderToPNG | ( | string | p_path, |
bool | p_transparent | ||
) |
bool KageStage::renderToPNGOffset | ( | string | p_path, |
bool | p_transparent, | ||
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
bool KageStage::renderToPNGOffset | ( | string | p_path, |
bool | p_transparent, | ||
double | p_offsetX = 0.0 , |
||
double | p_offsetY = 0.0 |
||
) |
bool KageStage::selectAllShapes | ( | ) |
bool KageStage::selectAllShapes | ( | ) |
void KageStage::setFill | ( | Gdk::Color | p_Color | ) |
void KageStage::setFill | ( | Gdk::Color | p_Color | ) |
void KageStage::setSelectedShapes | ( | vector< unsigned int > | p_selectedShapes | ) |
void KageStage::setSelectedShapes | ( | vector< unsigned int > | p_selectedShapes | ) |
void KageStage::setStageBG | ( | Gdk::Color | p_Color | ) |
void KageStage::setStroke | ( | Gdk::Color | p_Color | ) |
void KageStage::setStroke | ( | Gdk::Color | p_Color | ) |
bool KageStage::toggleLineSelectedNodes | ( | ) |
bool KageStage::toggleLineSelectedNodes | ( | ) |
void KageStage::tryMultiSelectShapes | ( | ) |
void KageStage::tryMultiSelectShapes | ( | ) |
void KageStage::tryMultiSelectShapes_populateShapes | ( | ) |
void KageStage::tryMultiSelectShapes_populateShapes | ( | ) |
void KageStage::trySingleSelectShape | ( | ) |
void KageStage::trySingleSelectShape | ( | ) |
void KageStage::unpressKeys | ( | ) |
void KageStage::unpressKeys | ( | ) |
void KageStage::updateNodeX | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
void KageStage::updateNodeX | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
void KageStage::updateNodeXY | ( | ) |
void KageStage::updateNodeXY | ( | ) |
void KageStage::updateNodeY | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
void KageStage::updateNodeY | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
void KageStage::updateShapeColor | ( | bool | p_doFill = true , |
bool | p_doStroke = true |
||
) |
void KageStage::updateShapeColor | ( | bool | p_doFill = true , |
bool | p_doStroke = true |
||
) |
void KageStage::updateShapeHeight | ( | double | p_value | ) |
void KageStage::updateShapeHeight | ( | double | p_value | ) |
void KageStage::updateShapeWidth | ( | double | p_value | ) |
void KageStage::updateShapeWidth | ( | double | p_value | ) |
void KageStage::updateShapeX | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
void KageStage::updateShapeX | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
|
protected |
|
protected |
void KageStage::updateShapeY | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
void KageStage::updateShapeY | ( | double | p_value, |
bool | p_stackDo = true |
||
) |
PointData KageStage::__origin |
PointData KageStage::__stageArea |
Glib::RefPtr< Gdk::Pixbuf > KageStage::_bg |
Cairo::RefPtr< Cairo::Surface > KageStage::_bgcr |
|
protected |
bool KageStage::_invalidated |
bool KageStage::_isModifyingShape |
|
protected |
|
protected |
|
protected |
const unsigned int KageStage::_NO_SELECTION = -1 |
|
protected |
|
protected |
|
protected |
|
protected |
bool KageStage::_rotateApply |
bool KageStage::_rotateMode |
PointData KageStage::_rotateReference |
bool KageStage::_stackDo = false |
vector< VectorData > KageStage::_vectorDataCopyBuffer |
vector< VectorData > KageStage::_vectorDataZOrderBufferA |
vector< VectorData > KageStage::_vectorDataZOrderBufferB |
vector< VectorData > KageStage::_vectorDataZOrderBufferC |
double KageStage::_zoomRatio |
PointData KageStage::_zoomReference |
double KageStage::_zoomValue |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
vector<Cairo::RefPtr<Cairo::ImageSurface> > KageStage::cairoPNG |
Cairo::RefPtr< Cairo::Context > KageStage::cr |
double KageStage::currentScale |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
direct use for get only
unsigned int KageStage::fps |
double KageStage::fpsElapse |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
unsigned int KageStage::nodeIndexX = 0 |
unsigned int KageStage::nodeIndexY = 0 |
double KageStage::nodeX = 0 |
double KageStage::nodeY = 0 |
PointData KageStage::origin |
|
static |
direct use for get only
|
static |
direct use for get only
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
double KageStage::propHeight = 0 |
double KageStage::propWidth = 0 |
double KageStage::propX = 0 |
int KageStage::propXindex1 |
int KageStage::propXindex2 |
double KageStage::propY = 0 |
int KageStage::propYindex1 |
int KageStage::propYindex2 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
double KageStage::stageHeight |
double KageStage::stageWidth |
|
static |
direct use for get only
|
protected |
|
protected |