Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
KageStage Class Reference

#include <stage.h>

Inheritance diagram for KageStage:
Collaboration diagram for KageStage:

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< VectorDataapplyZoom (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< VectorDataapplyZoom (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 ()
 

Protected Attributes

ToolMode prevTool
 
Kagewin
 
PointData draw1
 
PointData draw2
 
PointData drawFree1
 
PointData drawFree2
 
PointData drawFree3
 
PointData drawFree4
 
short int drawFreeCtr
 
GdkPoint drawConstraint
 
double polyXhead
 
double polyYhead
 
double polyXtail
 
double polyYtail
 
VectorDataManager _polyVectors
 
Glib::RefPtr< Gdk::Window > window
 
bool mouseDown
 
GdkPoint _mouseLocation
 
unsigned int _mouseLocationShapeIndex
 
GdkPoint _copyBufferMouse
 
bool draw
 
unsigned int drawCtr
 
unsigned int mouseOnNode
 
PointData mouseOnNodeOffset
 
unsigned int mouseOnNodeHover
 
unsigned int mouseOnNodeIndex
 
unsigned int selectedNode
 
unsigned int mouseOnShape
 
unsigned int selectedShape
 
vector< unsigned int > selectedNodes
 
vector< unsigned int > selectedShapes
 
AnchorData::type mouseOnAnchor
 
PointData selectionBox1
 
PointData selectionBox2
 
double _nodeToMouseDistance
 
AnchorData anchor_upperLeft
 
AnchorData anchor_center
 
AnchorData anchor_lowerRight
 
AnchorData anchor_rotate
 
bool keyShiftDown
 
bool keyControlDown
 
bool keyUpDown
 
bool keyDownDown
 
bool keyLeftDown
 
bool keyRightDown
 
int _registerWidth
 
int _registerHeight
 
Kage_kage
 

Member Enumeration Documentation

◆ ToolMode [1/2]

Enumerator
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 

◆ ToolMode [2/2]

Enumerator
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 

Constructor & Destructor Documentation

◆ KageStage() [1/2]

KageStage::KageStage ( Kage p_win)
Here is the call graph for this function:

◆ ~KageStage() [1/2]

KageStage::~KageStage ( )
virtual

◆ KageStage() [2/2]

KageStage::KageStage ( Kage p_kage)

◆ ~KageStage() [2/2]

virtual KageStage::~KageStage ( )
virtual

Member Function Documentation

◆ addImage()

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.

Parameters
p_IDreference ID from Assets
Returns
unsigned int
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addSelectedNode() [1/2]

void KageStage::addSelectedNode ( unsigned int  p_index)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addSelectedNode() [2/2]

void KageStage::addSelectedNode ( unsigned int  p_index)

◆ addSelectedShape() [1/2]

void KageStage::addSelectedShape ( unsigned int  p_index)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addSelectedShape() [2/2]

void KageStage::addSelectedShape ( unsigned int  p_index)

◆ applyZoom() [1/4]

void KageStage::applyZoom ( )

zoom++ : TODO: to become obsolete; new zoom implementation makes this useless

Here is the call graph for this function:

◆ applyZoom() [2/4]

void KageStage::applyZoom ( )

◆ applyZoom() [3/4]

vector< VectorData > KageStage::applyZoom ( vector< VectorData p_v)

◆ applyZoom() [4/4]

vector< VectorData > KageStage::applyZoom ( vector< VectorData p_v)

◆ applyZoomRatio() [1/2]

PointData KageStage::applyZoomRatio ( PointData  p_value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ applyZoomRatio() [2/2]

PointData KageStage::applyZoomRatio ( PointData  p_value)

◆ cancelDrawingPoly() [1/2]

bool KageStage::cancelDrawingPoly ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cancelDrawingPoly() [2/2]

bool KageStage::cancelDrawingPoly ( )

◆ cleanSlate() [1/2]

void KageStage::cleanSlate ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cleanSlate() [2/2]

void KageStage::cleanSlate ( )

◆ clearScreen() [1/2]

void KageStage::clearScreen ( Cairo::RefPtr< Cairo::Context >  p_context)

for use with zoom; default value is stageWidth; can be changed as preferred

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearScreen() [2/2]

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

◆ copySelectedShapes() [1/2]

bool KageStage::copySelectedShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copySelectedShapes() [2/2]

bool KageStage::copySelectedShapes ( )

◆ cutSelectedShapes() [1/2]

bool KageStage::cutSelectedShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cutSelectedShapes() [2/2]

bool KageStage::cutSelectedShapes ( )

◆ deleteSelectedNode() [1/2]

bool KageStage::deleteSelectedNode ( unsigned int  p_index)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteSelectedNode() [2/2]

bool KageStage::deleteSelectedNode ( unsigned int  p_index)
protected

◆ deleteSelectedNodes() [1/2]

bool KageStage::deleteSelectedNodes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteSelectedNodes() [2/2]

bool KageStage::deleteSelectedNodes ( )

◆ deleteSelectedShapes() [1/2]

bool KageStage::deleteSelectedShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteSelectedShapes() [2/2]

bool KageStage::deleteSelectedShapes ( )

◆ deselectSelectedNodes() [1/2]

bool KageStage::deselectSelectedNodes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deselectSelectedNodes() [2/2]

bool KageStage::deselectSelectedNodes ( )

◆ deselectSelectedShapes() [1/2]

bool KageStage::deselectSelectedShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deselectSelectedShapes() [2/2]

bool KageStage::deselectSelectedShapes ( )

◆ drawSelectionArea() [1/2]

void KageStage::drawSelectionArea ( )
protected
Here is the caller graph for this function:

◆ drawSelectionArea() [2/2]

void KageStage::drawSelectionArea ( )
protected

◆ getFill() [1/2]

Gdk::Color KageStage::getFill ( )
Here is the caller graph for this function:

◆ getFill() [2/2]

Gdk::Color KageStage::getFill ( )

◆ getSelectedShapes() [1/2]

vector< unsigned int > KageStage::getSelectedShapes ( )
Here is the caller graph for this function:

◆ getSelectedShapes() [2/2]

vector< unsigned int > KageStage::getSelectedShapes ( )

◆ getSelectedShapeViaNode() [1/2]

unsigned int KageStage::getSelectedShapeViaNode ( unsigned int  p_index,
vector< VectorData p_v 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSelectedShapeViaNode() [2/2]

unsigned int KageStage::getSelectedShapeViaNode ( unsigned int  p_index,
vector< VectorData p_v 
)
protected

◆ getShape() [1/2]

unsigned int KageStage::getShape ( unsigned int  p_index,
vector< VectorData p_v 
)
Here is the caller graph for this function:

◆ getShape() [2/2]

unsigned int KageStage::getShape ( unsigned int  p_index,
vector< VectorData p_v 
)

◆ getStageBG()

Gdk::Color KageStage::getStageBG ( )

◆ getStroke() [1/2]

Gdk::Color KageStage::getStroke ( )
Here is the caller graph for this function:

◆ getStroke() [2/2]

Gdk::Color KageStage::getStroke ( )

◆ handleDrawOvalMouseUp() [1/2]

void KageStage::handleDrawOvalMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleDrawOvalMouseUp() [2/2]

void KageStage::handleDrawOvalMouseUp ( )

◆ handleDrawPencilMouseDown() [1/2]

void KageStage::handleDrawPencilMouseDown ( PointData  p_point)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleDrawPencilMouseDown() [2/2]

void KageStage::handleDrawPencilMouseDown ( PointData  p_point)

◆ handleDrawPencilMouseMove() [1/2]

void KageStage::handleDrawPencilMouseMove ( PointData  p_point)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleDrawPencilMouseMove() [2/2]

void KageStage::handleDrawPencilMouseMove ( PointData  p_point)

◆ handleDrawPencilMouseUp() [1/2]

void KageStage::handleDrawPencilMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleDrawPencilMouseUp() [2/2]

void KageStage::handleDrawPencilMouseUp ( )

◆ handleDrawPolyMouseUp() [1/2]

void KageStage::handleDrawPolyMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleDrawPolyMouseUp() [2/2]

void KageStage::handleDrawPolyMouseUp ( )

◆ handleDrawRectMouseUp() [1/2]

void KageStage::handleDrawRectMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleDrawRectMouseUp() [2/2]

void KageStage::handleDrawRectMouseUp ( )

◆ handleEyedrop() [1/2]

void KageStage::handleEyedrop ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleEyedrop() [2/2]

void KageStage::handleEyedrop ( )

◆ handleEyedropMouseMove() [1/2]

void KageStage::handleEyedropMouseMove ( )
Here is the caller graph for this function:

◆ handleEyedropMouseMove() [2/2]

void KageStage::handleEyedropMouseMove ( )

◆ handleEyedropMouseUp() [1/2]

void KageStage::handleEyedropMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleEyedropMouseUp() [2/2]

void KageStage::handleEyedropMouseUp ( )

◆ handleFill() [1/2]

void KageStage::handleFill ( )
Here is the caller graph for this function:

◆ handleFill() [2/2]

void KageStage::handleFill ( )

◆ handleFillMouseUp() [1/2]

void KageStage::handleFillMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleFillMouseUp() [2/2]

void KageStage::handleFillMouseUp ( )

◆ handleNodes() [1/2]

void KageStage::handleNodes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleNodes() [2/2]

void KageStage::handleNodes ( )

◆ handleNodes_getNearestShape() [1/2]

bool KageStage::handleNodes_getNearestShape ( double  p_x,
double  p_y,
unsigned int  p_index,
vector< VectorData p_v 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleNodes_getNearestShape() [2/2]

bool KageStage::handleNodes_getNearestShape ( double  p_x,
double  p_y,
unsigned int  p_index,
vector< VectorData p_v 
)

◆ handleNodes_relocation() [1/2]

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleNodes_relocation() [2/2]

void KageStage::handleNodes_relocation ( )

◆ handleNodes_rendering() [1/2]

void KageStage::handleNodes_rendering ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleNodes_rendering() [2/2]

void KageStage::handleNodes_rendering ( )

◆ handleNodes_selection() [1/2]

void KageStage::handleNodes_selection ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleNodes_selection() [2/2]

void KageStage::handleNodes_selection ( )

◆ handleNodesMouseDown() [1/2]

void KageStage::handleNodesMouseDown ( )

◆ handleNodesMouseDown() [2/2]

void KageStage::handleNodesMouseDown ( )

◆ handleNodesMouseUp() [1/2]

void KageStage::handleNodesMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleNodesMouseUp() [2/2]

void KageStage::handleNodesMouseUp ( )

◆ handleOval() [1/2]

void KageStage::handleOval ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleOval() [2/2]

void KageStage::handleOval ( )

◆ handlePencil() [1/2]

void KageStage::handlePencil ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handlePencil() [2/2]

void KageStage::handlePencil ( )

◆ handlePoly() [1/2]

void KageStage::handlePoly ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handlePoly() [2/2]

void KageStage::handlePoly ( )

◆ handleRect() [1/2]

void KageStage::handleRect ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleRect() [2/2]

void KageStage::handleRect ( )

◆ handleShapes() [1/2]

void KageStage::handleShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes() [2/2]

void KageStage::handleShapes ( )

◆ handleShapes_modifyingShape() [1/2]

void KageStage::handleShapes_modifyingShape ( )

NOTE: don't use ELSE-IF to apply changes ASAP

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes_modifyingShape() [2/2]

void KageStage::handleShapes_modifyingShape ( )

◆ handleShapes_modifyingShapeRotate() [1/2]

void KageStage::handleShapes_modifyingShapeRotate ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes_modifyingShapeRotate() [2/2]

void KageStage::handleShapes_modifyingShapeRotate ( )

◆ handleShapes_moveShape() [1/2]

void KageStage::handleShapes_moveShape ( double  p_diffX,
double  p_diffY 
)

register i for later use in ENDFILL

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes_moveShape() [2/2]

void KageStage::handleShapes_moveShape ( double  p_diffX,
double  p_diffY 
)

◆ handleShapes_scaleEast() [1/2]

void KageStage::handleShapes_scaleEast ( )

register i for later use in ENDFILL

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes_scaleEast() [2/2]

void KageStage::handleShapes_scaleEast ( )

◆ handleShapes_scaleNorth() [1/2]

void KageStage::handleShapes_scaleNorth ( )

register i for later use in ENDFILL

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes_scaleNorth() [2/2]

void KageStage::handleShapes_scaleNorth ( )

◆ handleShapes_scaleSouth() [1/2]

void KageStage::handleShapes_scaleSouth ( )

register i for later use in ENDFILL

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes_scaleSouth() [2/2]

void KageStage::handleShapes_scaleSouth ( )

◆ handleShapes_scaleWest() [1/2]

void KageStage::handleShapes_scaleWest ( )

register i for later use in ENDFILL

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShapes_scaleWest() [2/2]

void KageStage::handleShapes_scaleWest ( )

◆ handleShapes_updateAnchors() [1/2]

void KageStage::handleShapes_updateAnchors ( double  p_x,
double  p_y 
)
Here is the caller graph for this function:

◆ handleShapes_updateAnchors() [2/2]

void KageStage::handleShapes_updateAnchors ( double  p_x,
double  p_y 
)

◆ handleShapesMouseDown() [1/2]

void KageStage::handleShapesMouseDown ( )

◆ handleShapesMouseDown() [2/2]

void KageStage::handleShapesMouseDown ( )

◆ handleShapesMouseUp() [1/2]

void KageStage::handleShapesMouseUp ( )

check if still be used; as of 2019 Nov 24, nothing is calling it

Here is the call graph for this function:

◆ handleShapesMouseUp() [2/2]

void KageStage::handleShapesMouseUp ( )

◆ handleStroke() [1/2]

void KageStage::handleStroke ( )

◆ handleStroke() [2/2]

void KageStage::handleStroke ( )

◆ handleStrokeMouseMove() [1/2]

void KageStage::handleStrokeMouseMove ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleStrokeMouseMove() [2/2]

void KageStage::handleStrokeMouseMove ( )

◆ handleStrokeMouseUp() [1/2]

void KageStage::handleStrokeMouseUp ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleStrokeMouseUp() [2/2]

void KageStage::handleStrokeMouseUp ( )

◆ initNodeTool() [1/2]

void KageStage::initNodeTool ( )
Here is the caller graph for this function:

◆ initNodeTool() [2/2]

void KageStage::initNodeTool ( )

◆ invalidateToRender() [1/2]

void KageStage::invalidateToRender ( )
Here is the caller graph for this function:

◆ invalidateToRender() [2/2]

void KageStage::invalidateToRender ( )

◆ isMouseOnNode() [1/2]

bool KageStage::isMouseOnNode ( double  p_x,
double  p_y,
unsigned int  p_buffer = 5 
)
protected
Here is the caller graph for this function:

◆ isMouseOnNode() [2/2]

bool KageStage::isMouseOnNode ( double  p_x,
double  p_y,
unsigned int  p_buffer = 5 
)
protected

◆ isNodeOnSelectionBox() [1/2]

bool KageStage::isNodeOnSelectionBox ( double  p_nodeX,
double  p_nodeY 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isNodeOnSelectionBox() [2/2]

bool KageStage::isNodeOnSelectionBox ( double  p_nodeX,
double  p_nodeY 
)
protected

◆ isSelectedNode() [1/2]

bool KageStage::isSelectedNode ( unsigned int  p_index)
Here is the caller graph for this function:

◆ isSelectedNode() [2/2]

bool KageStage::isSelectedNode ( unsigned int  p_index)

◆ isSelectedShape() [1/2]

bool KageStage::isSelectedShape ( unsigned int  p_index)
Here is the caller graph for this function:

◆ isSelectedShape() [2/2]

bool KageStage::isSelectedShape ( unsigned int  p_index)

◆ isSelectionBoxNormalized() [1/2]

bool KageStage::isSelectionBoxNormalized ( )
protected
Here is the caller graph for this function:

◆ isSelectionBoxNormalized() [2/2]

bool KageStage::isSelectionBoxNormalized ( )
protected

◆ normalizeSelectionBox() [1/2]

void KageStage::normalizeSelectionBox ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ normalizeSelectionBox() [2/2]

void KageStage::normalizeSelectionBox ( )
protected

◆ on_draw() [1/2]

bool KageStage::on_draw ( const Cairo::RefPtr< Cairo::Context > &  cr)
overrideprotected

why can't it be loaded when after ‘window = get_window()’?

Here is the call graph for this function:

◆ on_draw() [2/2]

bool KageStage::on_draw ( const Cairo::RefPtr< Cairo::Context > &  cr)
overrideprotected

◆ on_event() [1/2]

bool KageStage::on_event ( GdkEvent *  e)
overrideprotectedvirtual

struct _GdkEventConfigure { GdkEventType type; GdkWindow *window; gint8 send_event; gint16 x, y; gint16 width; gint16 height; };

Here is the call graph for this function:

◆ on_event() [2/2]

virtual bool KageStage::on_event ( GdkEvent *  e)
overrideprotectedvirtual

◆ on_expose_event() [1/2]

bool KageStage::on_expose_event ( GdkEventExpose *  e)
protectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_expose_event() [2/2]

virtual bool KageStage::on_expose_event ( GdkEventExpose *  e)
protectedvirtual

◆ on_key_press_event() [1/2]

bool KageStage::on_key_press_event ( GdkEventKey *  e)
overrideprotectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_key_press_event() [2/2]

virtual bool KageStage::on_key_press_event ( GdkEventKey *  e)
overrideprotectedvirtual

◆ on_key_release_event() [1/2]

bool KageStage::on_key_release_event ( GdkEventKey *  e)
overrideprotectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_key_release_event() [2/2]

virtual bool KageStage::on_key_release_event ( GdkEventKey *  e)
overrideprotectedvirtual

◆ on_timeout() [1/2]

bool KageStage::on_timeout ( )
protected

◆ on_timeout() [2/2]

bool KageStage::on_timeout ( )
protected

◆ pasteSelectedShapes() [1/2]

bool KageStage::pasteSelectedShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pasteSelectedShapes() [2/2]

bool KageStage::pasteSelectedShapes ( )

◆ printVectors() [1/2]

void KageStage::printVectors ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ printVectors() [2/2]

void KageStage::printVectors ( )

◆ renderFrame() [1/4]

void KageStage::renderFrame ( Cairo::RefPtr< Cairo::Context >  p_context,
bool  p_force = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderFrame() [2/4]

void KageStage::renderFrame ( Cairo::RefPtr< Cairo::Context >  p_context,
bool  p_force = false 
)

◆ renderFrame() [3/4]

void KageStage::renderFrame ( Cairo::RefPtr< Cairo::Context >  p_context,
vector< VectorData p_vectorData,
double  p_alpha = 1.0 
)
Here is the call graph for this function:

◆ renderFrame() [4/4]

void KageStage::renderFrame ( Cairo::RefPtr< Cairo::Context >  p_context,
vector< VectorData p_vectorData,
double  p_alpha = 1.0 
)

◆ renderFrameOffset() [1/4]

void KageStage::renderFrameOffset ( Cairo::RefPtr< Cairo::Context >  p_context,
bool  p_force = false,
double  p_offsetX = 0.0,
double  p_offsetY = 0.0 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderFrameOffset() [2/4]

void KageStage::renderFrameOffset ( Cairo::RefPtr< Cairo::Context >  p_context,
bool  p_force = false,
double  p_offsetX = 0.0,
double  p_offsetY = 0.0 
)

◆ renderFrameOffset() [3/4]

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 
)
Here is the call graph for this function:

◆ renderFrameOffset() [4/4]

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 
)

◆ renderFrameToPNG() [1/2]

void KageStage::renderFrameToPNG ( Cairo::RefPtr< Cairo::Context >  p_context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderFrameToPNG() [2/2]

void KageStage::renderFrameToPNG ( Cairo::RefPtr< Cairo::Context >  p_context)

◆ renderFrameToPNGOffset() [1/2]

void KageStage::renderFrameToPNGOffset ( Cairo::RefPtr< Cairo::Context >  p_context,
double  p_offsetX = 0.0,
double  p_offsetY = 0.0 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderFrameToPNGOffset() [2/2]

void KageStage::renderFrameToPNGOffset ( Cairo::RefPtr< Cairo::Context >  p_context,
double  p_offsetX = 0.0,
double  p_offsetY = 0.0 
)

◆ renderNode() [1/2]

void KageStage::renderNode ( double  p_x,
double  p_y,
unsigned int  p_state = 5 
)
protected
Here is the caller graph for this function:

◆ renderNode() [2/2]

void KageStage::renderNode ( double  p_x,
double  p_y,
unsigned int  p_state = 5 
)
protected

◆ renderNodeControl() [1/2]

void KageStage::renderNodeControl ( double  p_x,
double  p_y,
bool  p_selected 
)
protected
Here is the caller graph for this function:

◆ renderNodeControl() [2/2]

void KageStage::renderNodeControl ( double  p_x,
double  p_y,
bool  p_selected 
)
protected

◆ renderOnionFrame() [1/2]

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderOnionFrame() [2/2]

void KageStage::renderOnionFrame ( Cairo::RefPtr< Cairo::Context >  p_context,
vector< VectorData p_vectorData,
double  p_alpha 
)

◆ renderToPNG() [1/2]

bool KageStage::renderToPNG ( string  p_path,
bool  p_transparent 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderToPNG() [2/2]

bool KageStage::renderToPNG ( string  p_path,
bool  p_transparent 
)

◆ renderToPNGOffset() [1/2]

bool KageStage::renderToPNGOffset ( string  p_path,
bool  p_transparent,
double  p_offsetX = 0.0,
double  p_offsetY = 0.0 
)
Here is the call graph for this function:

◆ renderToPNGOffset() [2/2]

bool KageStage::renderToPNGOffset ( string  p_path,
bool  p_transparent,
double  p_offsetX = 0.0,
double  p_offsetY = 0.0 
)

◆ selectAllShapes() [1/2]

bool KageStage::selectAllShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectAllShapes() [2/2]

bool KageStage::selectAllShapes ( )

◆ setFill() [1/2]

void KageStage::setFill ( Gdk::Color  p_Color)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFill() [2/2]

void KageStage::setFill ( Gdk::Color  p_Color)

◆ setSelectedShapes() [1/2]

void KageStage::setSelectedShapes ( vector< unsigned int >  p_selectedShapes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSelectedShapes() [2/2]

void KageStage::setSelectedShapes ( vector< unsigned int >  p_selectedShapes)

◆ setStageBG()

void KageStage::setStageBG ( Gdk::Color  p_Color)

◆ setStroke() [1/2]

void KageStage::setStroke ( Gdk::Color  p_Color)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStroke() [2/2]

void KageStage::setStroke ( Gdk::Color  p_Color)

◆ toggleLineSelectedNodes() [1/2]

bool KageStage::toggleLineSelectedNodes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toggleLineSelectedNodes() [2/2]

bool KageStage::toggleLineSelectedNodes ( )

◆ tryMultiSelectShapes() [1/2]

void KageStage::tryMultiSelectShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tryMultiSelectShapes() [2/2]

void KageStage::tryMultiSelectShapes ( )

◆ tryMultiSelectShapes_populateShapes() [1/2]

void KageStage::tryMultiSelectShapes_populateShapes ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tryMultiSelectShapes_populateShapes() [2/2]

void KageStage::tryMultiSelectShapes_populateShapes ( )

◆ trySingleSelectShape() [1/2]

void KageStage::trySingleSelectShape ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ trySingleSelectShape() [2/2]

void KageStage::trySingleSelectShape ( )

◆ unpressKeys() [1/2]

void KageStage::unpressKeys ( )
Here is the caller graph for this function:

◆ unpressKeys() [2/2]

void KageStage::unpressKeys ( )

◆ updateNodeX() [1/2]

void KageStage::updateNodeX ( double  p_value,
bool  p_stackDo = true 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateNodeX() [2/2]

void KageStage::updateNodeX ( double  p_value,
bool  p_stackDo = true 
)

◆ updateNodeXY() [1/2]

void KageStage::updateNodeXY ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateNodeXY() [2/2]

void KageStage::updateNodeXY ( )

◆ updateNodeY() [1/2]

void KageStage::updateNodeY ( double  p_value,
bool  p_stackDo = true 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateNodeY() [2/2]

void KageStage::updateNodeY ( double  p_value,
bool  p_stackDo = true 
)

◆ updateShapeColor() [1/2]

void KageStage::updateShapeColor ( bool  p_doFill = true,
bool  p_doStroke = true 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateShapeColor() [2/2]

void KageStage::updateShapeColor ( bool  p_doFill = true,
bool  p_doStroke = true 
)

◆ updateShapeHeight() [1/2]

void KageStage::updateShapeHeight ( double  p_value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateShapeHeight() [2/2]

void KageStage::updateShapeHeight ( double  p_value)

◆ updateShapeWidth() [1/2]

void KageStage::updateShapeWidth ( double  p_value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateShapeWidth() [2/2]

void KageStage::updateShapeWidth ( double  p_value)

◆ updateShapeX() [1/2]

void KageStage::updateShapeX ( double  p_value,
bool  p_stackDo = true 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateShapeX() [2/2]

void KageStage::updateShapeX ( double  p_value,
bool  p_stackDo = true 
)

◆ updateShapeXY() [1/2]

void KageStage::updateShapeXY ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateShapeXY() [2/2]

void KageStage::updateShapeXY ( )
protected

◆ updateShapeY() [1/2]

void KageStage::updateShapeY ( double  p_value,
bool  p_stackDo = true 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateShapeY() [2/2]

void KageStage::updateShapeY ( double  p_value,
bool  p_stackDo = true 
)

Field Documentation

◆ __origin

PointData KageStage::__origin

◆ __stageArea

PointData KageStage::__stageArea

◆ _bg

Glib::RefPtr< Gdk::Pixbuf > KageStage::_bg

◆ _bgcr

Cairo::RefPtr< Cairo::Surface > KageStage::_bgcr

◆ _copyBufferMouse

GdkPoint KageStage::_copyBufferMouse
protected

◆ _invalidated

bool KageStage::_invalidated

◆ _isModifyingShape

bool KageStage::_isModifyingShape

◆ _kage

Kage* KageStage::_kage
protected

◆ _mouseLocation

GdkPoint KageStage::_mouseLocation
protected

◆ _mouseLocationShapeIndex

unsigned int KageStage::_mouseLocationShapeIndex
protected

◆ _NO_SELECTION

const unsigned int KageStage::_NO_SELECTION = -1

◆ _nodeToMouseDistance

double KageStage::_nodeToMouseDistance
protected

◆ _polyVectors

VectorDataManager KageStage::_polyVectors
protected

◆ _registerHeight

int KageStage::_registerHeight
protected

◆ _registerWidth

int KageStage::_registerWidth
protected

◆ _rotateApply

bool KageStage::_rotateApply

◆ _rotateMode

bool KageStage::_rotateMode

◆ _rotateReference

PointData KageStage::_rotateReference

◆ _stackDo

bool KageStage::_stackDo = false

◆ _vectorDataCopyBuffer

vector< VectorData > KageStage::_vectorDataCopyBuffer

◆ _vectorDataZOrderBufferA

vector< VectorData > KageStage::_vectorDataZOrderBufferA

◆ _vectorDataZOrderBufferB

vector< VectorData > KageStage::_vectorDataZOrderBufferB

◆ _vectorDataZOrderBufferC

vector< VectorData > KageStage::_vectorDataZOrderBufferC

◆ _zoomRatio

double KageStage::_zoomRatio

◆ _zoomReference

PointData KageStage::_zoomReference

◆ _zoomValue

double KageStage::_zoomValue

◆ anchor_center

AnchorData KageStage::anchor_center
protected

◆ anchor_lowerRight

AnchorData KageStage::anchor_lowerRight
protected

◆ anchor_rotate

AnchorData KageStage::anchor_rotate
protected

◆ anchor_upperLeft

AnchorData KageStage::anchor_upperLeft
protected

◆ cairoImageSurface

Cairo::RefPtr< Cairo::ImageSurface > KageStage::cairoImageSurface
static

◆ cairoPNG

vector<Cairo::RefPtr<Cairo::ImageSurface> > KageStage::cairoPNG

◆ cr

Cairo::RefPtr< Cairo::Context > KageStage::cr

◆ currentScale

double KageStage::currentScale

◆ draw

bool KageStage::draw
protected

◆ draw1

PointData KageStage::draw1
protected

◆ draw2

PointData KageStage::draw2
protected

◆ drawConstraint

GdkPoint KageStage::drawConstraint
protected

◆ drawCtr

unsigned int KageStage::drawCtr
protected

◆ drawFree1

PointData KageStage::drawFree1
protected

◆ drawFree2

PointData KageStage::drawFree2
protected

◆ drawFree3

PointData KageStage::drawFree3
protected

◆ drawFree4

PointData KageStage::drawFree4
protected

◆ drawFreeCtr

short int KageStage::drawFreeCtr
protected

◆ fillColor

static ColorData KageStage::fillColor
static

direct use for get only

◆ fps

unsigned int KageStage::fps

◆ fpsElapse

double KageStage::fpsElapse

◆ imageSHAPE_000

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_000
static

◆ imageSHAPE_045

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_045
static

◆ imageSHAPE_090

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_090
static

◆ imageSHAPE_135

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_135
static

◆ imageSHAPE_MOVE

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_MOVE
static

◆ imageSHAPE_NE

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_NE
static

◆ imageSHAPE_NW

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_NW
static

◆ imageSHAPE_ROTATE

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_ROTATE
static

◆ imageSHAPE_SE

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_SE
static

◆ imageSHAPE_SW

static Glib::RefPtr< Gdk::Pixbuf > KageStage::imageSHAPE_SW
static

◆ keyControlDown

bool KageStage::keyControlDown
protected

◆ keyDownDown

bool KageStage::keyDownDown
protected

◆ keyLeftDown

bool KageStage::keyLeftDown
protected

◆ keyRightDown

bool KageStage::keyRightDown
protected

◆ keyShiftDown

bool KageStage::keyShiftDown
protected

◆ keyUpDown

bool KageStage::keyUpDown
protected

◆ mouseDown

bool KageStage::mouseDown
protected

◆ mouseOnAnchor

AnchorData::type KageStage::mouseOnAnchor
protected

◆ mouseOnNode

unsigned int KageStage::mouseOnNode
protected

◆ mouseOnNodeHover

unsigned int KageStage::mouseOnNodeHover
protected

◆ mouseOnNodeIndex

unsigned int KageStage::mouseOnNodeIndex
protected

◆ mouseOnNodeOffset

PointData KageStage::mouseOnNodeOffset
protected

◆ mouseOnShape

unsigned int KageStage::mouseOnShape
protected

◆ moveStageXY

static GdkPoint KageStage::moveStageXY
static

◆ nodeIndexX

unsigned int KageStage::nodeIndexX = 0

◆ nodeIndexY

unsigned int KageStage::nodeIndexY = 0

◆ nodeX

double KageStage::nodeX = 0

◆ nodeY

double KageStage::nodeY = 0

◆ origin

PointData KageStage::origin

◆ pencilFillColor

ColorData KageStage::pencilFillColor
static

direct use for get only

◆ pencilStroke

StrokeColorData KageStage::pencilStroke
static

direct use for get only

◆ polyXhead

double KageStage::polyXhead
protected

◆ polyXtail

double KageStage::polyXtail
protected

◆ polyYhead

double KageStage::polyYhead
protected

◆ polyYtail

double KageStage::polyYtail
protected

◆ prevTool

ToolMode KageStage::prevTool
protected

◆ propHeight

double KageStage::propHeight = 0

◆ propWidth

double KageStage::propWidth = 0

◆ propX

double KageStage::propX = 0

◆ propXindex1

int KageStage::propXindex1

◆ propXindex2

int KageStage::propXindex2

◆ propY

double KageStage::propY = 0

◆ propYindex1

int KageStage::propYindex1

◆ propYindex2

int KageStage::propYindex2

◆ selectedNode

unsigned int KageStage::selectedNode
protected

◆ selectedNodes

vector< unsigned int > KageStage::selectedNodes
protected

◆ selectedShape

unsigned int KageStage::selectedShape
protected

◆ selectedShapes

vector< unsigned int > KageStage::selectedShapes
protected

◆ selectionBox1

PointData KageStage::selectionBox1
protected

◆ selectionBox2

PointData KageStage::selectionBox2
protected

◆ stageBG

ColorData KageStage::stageBG
static

◆ stageHeight

double KageStage::stageHeight

◆ stageWidth

double KageStage::stageWidth

◆ stroke

static StrokeColorData KageStage::stroke
static

direct use for get only

◆ toolMode

static ToolMode KageStage::toolMode = MODE_NONE
static

direct use for get only

◆ win

Kage* KageStage::win
protected

◆ window

Glib::RefPtr< Gdk::Window > KageStage::window
protected

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