您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ CSFML_CALL_RETURN函数代码示例

51自学网 2021-06-01 20:06:10
  C++
这篇教程C++ CSFML_CALL_RETURN函数代码示例写得很实用,希望能帮到您。

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

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

示例1: sfWindow_GetHeight

unsigned int sfWindow_GetHeight(const sfWindow* window){    CSFML_CALL_RETURN(window, GetHeight(), 0);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例2: sfTcpSocket_IsBlocking

sfBool sfTcpSocket_IsBlocking(const sfTcpSocket* socket){    CSFML_CALL_RETURN(socket, IsBlocking(), sfFalse);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例3: sfSprite_GetRotation

float sfSprite_GetRotation(const sfSprite* sprite){    CSFML_CALL_RETURN(sprite, GetRotation(), 0.f);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例4: sfShape_getRotation

float sfShape_getRotation(const sfShape* shape){    CSFML_CALL_RETURN(shape, getRotation(), 0.f);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,


示例5: sfFtpDirectoryResponse_isOk

sfBool sfFtpDirectoryResponse_isOk(const sfFtpDirectoryResponse* ftpDirectoryResponse){    CSFML_CALL_RETURN(ftpDirectoryResponse, isOk(), sfFalse);}
开发者ID:DJMaster,项目名称:CSFML,代码行数:4,


示例6: sfImage_GetHeight

/////////////////////////////////////////////////////////////// Return the height of the image////////////////////////////////////////////////////////////unsigned int sfImage_GetHeight(sfImage* Image){    CSFML_CALL_RETURN(Image, GetHeight(), 0);}
开发者ID:freemaul,项目名称:SFML,代码行数:7,


示例7: sfShape_getOutlineThickness

float sfShape_getOutlineThickness(const sfShape* shape){    CSFML_CALL_RETURN(shape, getOutlineThickness(), 0.f);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,


示例8: sfText_getStyle

sfUint32 sfText_getStyle(const sfText* text){    CSFML_CALL_RETURN(text, getStyle(), 0);}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,


示例9: sfRenderTexture_isSmooth

sfBool sfRenderTexture_isSmooth(const sfRenderTexture* renderTexture){    CSFML_CALL_RETURN(renderTexture, isSmooth(), sfFalse);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,


示例10: sfText_getRotation

float sfText_getRotation(const sfText* text){    CSFML_CALL_RETURN(text, getRotation(), 0.f);}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,


示例11: sfText_getCharacterSize

unsigned int sfText_getCharacterSize(const sfText* text){    CSFML_CALL_RETURN(text, getCharacterSize(), 0);}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,


示例12: sfFtpResponse_IsOk

sfBool sfFtpResponse_IsOk(const sfFtpResponse* ftpResponse){    CSFML_CALL_RETURN(ftpResponse, IsOk(), sfFalse);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例13: sfWindow_IsOpen

sfBool sfWindow_IsOpen(const sfWindow* window){    CSFML_CALL_RETURN(window, IsOpen(), sfFalse);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例14: sfWindow_SetActive

sfBool sfWindow_SetActive(sfWindow* window, sfBool active){    CSFML_CALL_RETURN(window, SetActive(active == sfTrue), sfFalse);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例15: sfImage_GetPixelsPtr

/////////////////////////////////////////////////////////////// Get a read-only pointer to the array of pixels of an image (8 bits integers RGBA)/// Array size is sfImage_GetWidth() x sfImage_GetHeight() x 4/// This pointer becomes invalid if you reload or resize the image////////////////////////////////////////////////////////////const sfUint8* sfImage_GetPixelsPtr(sfImage* Image){    CSFML_CALL_RETURN(Image, GetPixelsPtr(), NULL);}
开发者ID:freemaul,项目名称:SFML,代码行数:9,


示例16: sfRenderTexture_setActive

sfBool sfRenderTexture_setActive(sfRenderTexture* renderTexture, sfBool active){    CSFML_CALL_RETURN(renderTexture, setActive(active == sfTrue), sfFalse);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,


示例17: sfImage_GetWidth

/////////////////////////////////////////////////////////////// Return the width of the image////////////////////////////////////////////////////////////unsigned int sfImage_GetWidth(sfImage* Image){    CSFML_CALL_RETURN(Image, GetWidth(), 0);}
开发者ID:freemaul,项目名称:SFML,代码行数:7,


示例18: sfRenderWindow_isOpen

sfBool sfRenderWindow_isOpen(const sfRenderWindow* renderWindow){    CSFML_CALL_RETURN(renderWindow, isOpen(), sfFalse);}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,


示例19: sfImage_IsSmooth

/////////////////////////////////////////////////////////////// Tells whether the smoothing filter is enabled or not on an image////////////////////////////////////////////////////////////sfBool sfImage_IsSmooth(sfImage* Image){    CSFML_CALL_RETURN(Image, IsSmooth(), sfFalse);}
开发者ID:freemaul,项目名称:SFML,代码行数:7,


示例20: sfRenderWindow_setActive

sfBool sfRenderWindow_setActive(sfRenderWindow* renderWindow, sfBool active){    CSFML_CALL_RETURN(renderWindow, setActive(active == sfTrue), sfFalse);}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,


示例21: sfShape_getPointCount

unsigned int sfShape_getPointCount(const sfShape* shape){    CSFML_CALL_RETURN(shape, getPointCount(), 0);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,


示例22: sfRenderWindow_hasFocus

sfBool sfRenderWindow_hasFocus(const sfRenderWindow* renderWindow){    CSFML_CALL_RETURN(renderWindow, hasFocus(), sfFalse);}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,


示例23: sfFtpListingResponse_isOk

sfBool sfFtpListingResponse_isOk(const sfFtpListingResponse* ftpListingResponse){    CSFML_CALL_RETURN(ftpListingResponse, isOk(), sfFalse);}
开发者ID:DJMaster,项目名称:CSFML,代码行数:4,


示例24: sfHttpResponse_GetMinorVersion

unsigned int sfHttpResponse_GetMinorVersion(const sfHttpResponse* httpResponse){    CSFML_CALL_RETURN(httpResponse, GetMinorHttpVersion(), 0);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例25: sfTransform_GetMatrix

const float* sfTransform_GetMatrix(const sfTransform* transform){    CSFML_CALL_RETURN(transform, GetMatrix(), NULL);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例26: sfImage_SaveToFile

/////////////////////////////////////////////////////////////// Save the content of an image to a file////////////////////////////////////////////////////////////sfBool sfImage_SaveToFile(sfImage* Image, const char* Filename){    CSFML_CALL_RETURN(Image, SaveToFile(Filename), sfFalse);}
开发者ID:freemaul,项目名称:SFML,代码行数:7,


示例27: sfTcpSocket_GetRemotePort

unsigned short sfTcpSocket_GetRemotePort(const sfTcpSocket* socket){    CSFML_CALL_RETURN(socket, GetRemotePort(), 0);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,


示例28: sfImage_CopyScreen

/////////////////////////////////////////////////////////////// Create the image from the current contents of the/// given window////////////////////////////////////////////////////////////CSFML_API sfBool sfImage_CopyScreen(sfImage* Image, sfRenderWindow* Window, sfIntRect SourceRect){    CSFML_CHECK_RETURN(Window, sfFalse);    sf::IntRect SFMLRect(SourceRect.Left, SourceRect.Top, SourceRect.Right, SourceRect.Bottom);    CSFML_CALL_RETURN(Image, CopyScreen(Window->This, SFMLRect), sfFalse);}
开发者ID:freemaul,项目名称:SFML,代码行数:10,


示例29: sfShape_SetBlendMode

/////////////////////////////////////////////////////////////// Set the blending mode for a shape////////////////////////////////////////////////////////////void sfShape_SetBlendMode(sfShape* Shape, sfBlendMode Mode){    CSFML_CALL(Shape, SetBlendMode(static_cast<sf::Blend::Mode>(Mode)))}/////////////////////////////////////////////////////////////// Get the X position of a shape////////////////////////////////////////////////////////////float sfShape_GetX(sfShape* Shape){    CSFML_CALL_RETURN(Shape, GetPosition().x, 0.f)}/////////////////////////////////////////////////////////////// Get the Y position of a shape////////////////////////////////////////////////////////////float sfShape_GetY(sfShape* Shape){    CSFML_CALL_RETURN(Shape, GetPosition().y, 0.f)}/////////////////////////////////////////////////////////////// Get the horizontal scale of a shape////////////////////////////////////////////////////////////
开发者ID:freemaul,项目名称:SFML,代码行数:30,


示例30: sfWindow_GetWidth

unsigned int sfWindow_GetWidth(const sfWindow* window){    CSFML_CALL_RETURN(window, GetWidth(), 0);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,



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


C++ CSL函数代码示例
C++ CSFML_CALL函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。