• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ CSFML_CALL函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中CSFML_CALL函数的典型用法代码示例。如果您正苦于以下问题:C++ CSFML_CALL函数的具体用法?C++ CSFML_CALL怎么用?C++ CSFML_CALL使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了CSFML_CALL函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: sfMutex_unlock

void sfMutex_unlock(sfMutex* mutex)
{
    CSFML_CALL(mutex, unlock());
}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,代码来源:Mutex.cpp


示例2: sfRenderTexture_PushGLStates

CSFML_GRAPHICS_API void sfRenderTexture_PushGLStates(sfRenderTexture* renderTexture)
{
    CSFML_CALL(renderTexture, PushGLStates());
}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,代码来源:RenderTexture.cpp


示例3: sfRenderTexture_SetSmooth

void sfRenderTexture_SetSmooth(sfRenderTexture* renderTexture, sfBool smooth)
{
    CSFML_CALL(renderTexture, SetSmooth(smooth == sfTrue));
}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,代码来源:RenderTexture.cpp


示例4: sfSoundBufferRecorder_start

void sfSoundBufferRecorder_start(sfSoundBufferRecorder* soundBufferRecorder, unsigned int sampleRate)
{
    CSFML_CALL(soundBufferRecorder, start(sampleRate));
}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,代码来源:SoundBufferRecorder.cpp


示例5: sfRenderTexture_DrawRectangleShape

void sfRenderTexture_DrawRectangleShape(sfRenderTexture* renderTexture, const sfRectangleShape* object, const sfRenderStates* states)
{
    CSFML_CHECK(object);
    CSFML_CALL(renderTexture, Draw(object->This, ConvertRenderStates(states)));
}
开发者ID:deadalnix,项目名称:CSFML,代码行数:5,代码来源:RenderTexture.cpp


示例6: sfCircleShape_setPosition

void sfCircleShape_setPosition(sfCircleShape* shape, sfVector2f position)
{
    CSFML_CALL(shape, setPosition(position.x, position.y));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


示例7: sfCircleShape_setScale

void sfCircleShape_setScale(sfCircleShape* shape, sfVector2f scale)
{
    CSFML_CALL(shape, setScale(scale.x, scale.y));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


示例8: sfSocketSelector_removeUdpSocket

void sfSocketSelector_removeUdpSocket(sfSocketSelector* selector, sfUdpSocket* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, remove(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp


示例9: sfSocketSelector_clear

void sfSocketSelector_clear(sfSocketSelector* selector)
{
    CSFML_CALL(selector, clear());
}
开发者ID:SFML,项目名称:CSFML,代码行数:4,代码来源:SocketSelector.cpp


示例10: sfSocketSelector_addUdpSocket

void sfSocketSelector_addUdpSocket(sfSocketSelector* selector, sfUdpSocket* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, add(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp


示例11: sfSocketSelector_removeTcpListener

void sfSocketSelector_removeTcpListener(sfSocketSelector* selector, sfTcpListener* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, remove(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp


示例12: sfSocketSelector_addTcpListener

void sfSocketSelector_addTcpListener(sfSocketSelector* selector, sfTcpListener* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, add(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp


示例13: sfUdpSocket_unbind

void sfUdpSocket_unbind(sfUdpSocket* socket)
{
    CSFML_CALL(socket, unbind());
}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,代码来源:UdpSocket.cpp


示例14: sfUdpSocket_setBlocking

void sfUdpSocket_setBlocking(sfUdpSocket* socket, sfBool blocking)
{
    CSFML_CALL(socket, setBlocking(blocking == sfTrue));
}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,代码来源:UdpSocket.cpp


示例15: sfCircleShape_setRadius

void sfCircleShape_setRadius(sfCircleShape* shape, float radius)
{
    CSFML_CALL(shape, setRadius(radius));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


示例16: sfCircleShape_move

void sfCircleShape_move(sfCircleShape* shape, sfVector2f offset)
{
    CSFML_CALL(shape, move(offset.x, offset.y));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


示例17: sfCircleShape_setPointCount

void sfCircleShape_setPointCount(sfCircleShape* shape, unsigned int count)
{
    CSFML_CALL(shape, setPointCount(count));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


示例18: sfCircleShape_rotate

void sfCircleShape_rotate(sfCircleShape* shape, float angle)
{
    CSFML_CALL(shape, rotate(angle));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


示例19: sfCircleShape_setRotation

void sfCircleShape_setRotation(sfCircleShape* shape, float angle)
{
    CSFML_CALL(shape, setRotation(angle));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


示例20: sfCircleShape_scale

void sfCircleShape_scale(sfCircleShape* shape, sfVector2f factors)
{
    CSFML_CALL(shape, scale(factors.x, factors.y));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp



注:本文中的CSFML_CALL函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ CSFML_CALL_RETURN函数代码示例发布时间:2022-05-30
下一篇:
C++ CSFLogError函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap