mirror of https://github.com/axmolengine/axmol.git
Normalize function names.
This commit is contained in:
parent
1546a062a1
commit
4c8066e39f
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue