Normalize function names.

This commit is contained in:
XiaoFeng 2015-11-12 18:23:56 +08:00
parent 1546a062a1
commit 4c8066e39f
2 changed files with 6 additions and 4 deletions

View File

@ -424,7 +424,6 @@ void DrawNode::onDrawGLLine(const Mat4 &transform, uint32_t flags)
CC_INCREMENT_GL_DRAWN_BATCHES_AND_VERTICES(1,_bufferCountGLLine);
#ifdef CC_STUDIO_ENABLED_VIEW // for cocostudio only
//如果开启线抗锯齿, 如参考线绘制, 绘制完成开启多重采样
if (this->_lineSmoothEnable == true)
glEnable(GL_MULTISAMPLE);
#endif

View File

@ -314,11 +314,14 @@ public:
void setLineWidth(int lineWidth);
#ifdef CC_STUDIO_ENABLED_VIEW // for cocostudio only
void csSetLineSmooth(bool enable);
// Set enable or disable multisampling effect on CocosStudio guide lines.
void setLineSmooth(bool enable);
bool csIsLineSmooth();
// Get multisampling effect on CocosStudio guide lines mode.
bool isLineSmooth();
float csGetLineWidth();
// Get CocosStudio guide lines width.
float getLineWidth();
#endif
CC_CONSTRUCTOR_ACCESS: