コード例 #1
0
ファイル: ofxShapes.cpp プロジェクト: MrMdR/julapy
ofxShapes :: ofxShapes()
{
	bShapeSelected		= false;
	selectedShapeIndex	= 0;
	
	enableDraw( true );
	clearShape();
}
コード例 #2
0
/**
 *  This method overrides the base class' method to render to the sorted
 *	channel, to ensure transparency gets rendered properly.
 */
/*virtual*/ void EditorChunkPointLink::draw()
{
    if (startItem() == NULL)
        return;

    if 
    (
        edShouldDraw()
		&&
		!WorldManager::instance().drawSelection()
        &&
        !Moo::rc().reflectionScene() 
        && 
        !Moo::rc().mirroredTransform()
        &&
        enableDraw()
    )
    {
		Moo::SortedChannel::addDrawItem( new SortedLinkItem( this ) );
	}
}