这篇教程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_GetHeightunsigned int sfWindow_GetHeight(const sfWindow* window){ CSFML_CALL_RETURN(window, GetHeight(), 0);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,
示例2: sfTcpSocket_IsBlockingsfBool sfTcpSocket_IsBlocking(const sfTcpSocket* socket){ CSFML_CALL_RETURN(socket, IsBlocking(), sfFalse);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,
示例3: sfSprite_GetRotationfloat sfSprite_GetRotation(const sfSprite* sprite){ CSFML_CALL_RETURN(sprite, GetRotation(), 0.f);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,
示例4: sfShape_getRotationfloat sfShape_getRotation(const sfShape* shape){ CSFML_CALL_RETURN(shape, getRotation(), 0.f);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,
示例5: sfFtpDirectoryResponse_isOksfBool 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_getOutlineThicknessfloat sfShape_getOutlineThickness(const sfShape* shape){ CSFML_CALL_RETURN(shape, getOutlineThickness(), 0.f);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,
示例8: sfText_getStylesfUint32 sfText_getStyle(const sfText* text){ CSFML_CALL_RETURN(text, getStyle(), 0);}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,
示例9: sfRenderTexture_isSmoothsfBool sfRenderTexture_isSmooth(const sfRenderTexture* renderTexture){ CSFML_CALL_RETURN(renderTexture, isSmooth(), sfFalse);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,
示例10: sfText_getRotationfloat sfText_getRotation(const sfText* text){ CSFML_CALL_RETURN(text, getRotation(), 0.f);}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,
示例11: sfText_getCharacterSizeunsigned int sfText_getCharacterSize(const sfText* text){ CSFML_CALL_RETURN(text, getCharacterSize(), 0);}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,
示例12: sfFtpResponse_IsOksfBool sfFtpResponse_IsOk(const sfFtpResponse* ftpResponse){ CSFML_CALL_RETURN(ftpResponse, IsOk(), sfFalse);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,
示例13: sfWindow_IsOpensfBool sfWindow_IsOpen(const sfWindow* window){ CSFML_CALL_RETURN(window, IsOpen(), sfFalse);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,
示例14: sfWindow_SetActivesfBool 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_setActivesfBool 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_isOpensfBool 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_setActivesfBool sfRenderWindow_setActive(sfRenderWindow* renderWindow, sfBool active){ CSFML_CALL_RETURN(renderWindow, setActive(active == sfTrue), sfFalse);}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,
示例21: sfShape_getPointCountunsigned int sfShape_getPointCount(const sfShape* shape){ CSFML_CALL_RETURN(shape, getPointCount(), 0);}
开发者ID:colinc,项目名称:CSFML,代码行数:4,
示例22: sfRenderWindow_hasFocussfBool sfRenderWindow_hasFocus(const sfRenderWindow* renderWindow){ CSFML_CALL_RETURN(renderWindow, hasFocus(), sfFalse);}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,
示例23: sfFtpListingResponse_isOksfBool sfFtpListingResponse_isOk(const sfFtpListingResponse* ftpListingResponse){ CSFML_CALL_RETURN(ftpListingResponse, isOk(), sfFalse);}
开发者ID:DJMaster,项目名称:CSFML,代码行数:4,
示例24: sfHttpResponse_GetMinorVersionunsigned int sfHttpResponse_GetMinorVersion(const sfHttpResponse* httpResponse){ CSFML_CALL_RETURN(httpResponse, GetMinorHttpVersion(), 0);}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,
示例25: sfTransform_GetMatrixconst 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_GetRemotePortunsigned 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_GetWidthunsigned 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函数代码示例 |