2022-04-12 10:22:57 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2022-04-12 09:53:21 +02:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.17" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2022-04-12 10:22:57 +02:00
<!-- BEGIN opengraph metadata -->
< meta property = "og:title" content = "RenderD7" / >
< meta property = "og:image" content = "https://repository-images.githubusercontent.com/348492097/4f16df80-88fb-11eb-9d31-4015ff22c452" / >
< meta property = "og:description" content = "Custom CSS theme for doxygen html-documentation with lots of customization parameters." / >
< meta property = "og:url" content = "https://jothepro.github.io/doxygen-awesome-css/" / >
<!-- END opengraph metadata -->
<!-- BEGIN twitter metadata -->
< meta name = "twitter:image:src" content = "https://repository-images.githubusercontent.com/348492097/4f16df80-88fb-11eb-9d31-4015ff22c452" / >
< meta name = "twitter:title" content = "RenderD7" / >
< meta name = "twitter:description" content = "Custom CSS theme for doxygen html-documentation with lots of customization parameters." / >
<!-- END twitter metadata -->
2022-04-12 09:53:21 +02:00
< title > Renderd7-nightly: RenderD7::Image Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2022-04-12 10:22:57 +02:00
< link rel = "icon" type = "image/svg+xml" href = "logo.drawio.svg" / >
2022-04-12 09:53:21 +02:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2022-04-12 10:22:57 +02:00
< script type = "text/javascript" src = "doxygen-awesome-darkmode-toggle.js" > < / script >
< script type = "text/javascript" src = "doxygen-awesome-fragment-copy-button.js" > < / script >
< script type = "text/javascript" src = "doxygen-awesome-paragraph-link.js" > < / script >
< script type = "text/javascript" src = "toggle-alternative-theme.js" > < / script >
< script type = "text/javascript" >
DoxygenAwesomeFragmentCopyButton.init()
DoxygenAwesomeDarkModeToggle.init()
DoxygenAwesomeParagraphLink.init()
< / script >
2022-04-12 09:53:21 +02:00
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2022-04-12 10:35:47 +02:00
< link href = "doxygen-awesome.css" rel = "stylesheet" type = "text/css" / >
2022-04-12 09:53:21 +02:00
< / head >
< body >
2022-04-12 10:22:57 +02:00
<!-- https://tholman.com/github - corners/ -->
2022-04-12 10:29:24 +02:00
< a href = "https://github.com/NPI-D7/RenderD7/" class = "github-corner" title = "View source on GitHub" target = "_blank" >
2022-04-12 10:22:57 +02:00
< svg viewBox = "0 0 250 250" width = "40" height = "40" style = "position: absolute; top: 0; border: 0; right: 0; z-index: 99;" aria-hidden = "true" >
< path d = "M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" > < / path > < path d = "M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill = "currentColor" style = "transform-origin: 130px 106px;" class = "octo-arm" > < / path > < path d = "M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill = "currentColor" class = "octo-body" > < / path > < / svg > < / a > < style > . github-corner : hover . octo-arm { animation : octocat-wave 560 ms ease-in-out } @ keyframes octocat-wave { 0 % , 100 % { transform : rotate ( 0 ) } 20 % , 60 % { transform : rotate ( -25 deg ) } 40 % , 80 % { transform : rotate ( 10 deg ) } } @ media ( max-width : 500px ) { . github-corner : hover . octo-arm { animation : none } . github-corner . octo-arm { animation : octocat-wave 560 ms ease-in-out } } < / style >
2022-04-12 09:53:21 +02:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > Renderd7-nightly
  < span id = "projectnumber" > v0.7.0< / span >
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classRenderD7_1_1Image.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-attribs" > Public Attributes< / a > |
< a href = "classRenderD7_1_1Image-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > RenderD7::Image Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < a class = "el" href = "classRenderD7_1_1Image.html" title = "Image Class." > Image< / a > Class.
< a href = "classRenderD7_1_1Image.html#details" > More...< / a > < / p >
< p > < code > #include < renderd7.hpp> < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a46540860a8785e93be09b68751577f87" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classRenderD7_1_1Image.html#a46540860a8785e93be09b68751577f87" > LoadPng< / a > (const std::string path)< / td > < / tr >
< tr class = "separator:a46540860a8785e93be09b68751577f87" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaabaa6026391a82b18103074b0c888a1" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classRenderD7_1_1Image.html#aaabaa6026391a82b18103074b0c888a1" > LoadPFromBuffer< / a > (const std::vector< u8 > & buffer)< / td > < / tr >
< tr class = "separator:aaabaa6026391a82b18103074b0c888a1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa65130a589ba2bdf8d9388cd4c1baac3" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classRenderD7_1_1Image.html#aa65130a589ba2bdf8d9388cd4c1baac3" > Draw< / a > (float x, float y, float scaleX=1.0f, float scaleY=1.0f)< / td > < / tr >
< tr class = "separator:aa65130a589ba2bdf8d9388cd4c1baac3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a649e3ceb6376199a2c246b5a59eb3de8" > < td class = "memItemLeft" align = "right" valign = "top" > C2D_Image  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classRenderD7_1_1Image.html#a649e3ceb6376199a2c246b5a59eb3de8" > Get< / a > ()< / td > < / tr >
< tr class = "memdesc:a649e3ceb6376199a2c246b5a59eb3de8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get The < a class = "el" href = "classRenderD7_1_1Image.html" title = "Image Class." > Image< / a > . < a href = "classRenderD7_1_1Image.html#a649e3ceb6376199a2c246b5a59eb3de8" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a649e3ceb6376199a2c246b5a59eb3de8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-attribs" > < / a >
Public Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a09b03eb72a948119f3eb3a472d3d6e74" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a09b03eb72a948119f3eb3a472d3d6e74" > < / a >
C2D_Image  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classRenderD7_1_1Image.html#a09b03eb72a948119f3eb3a472d3d6e74" > img< / a > < / td > < / tr >
< tr class = "memdesc:a09b03eb72a948119f3eb3a472d3d6e74" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > \img this is the C2D_Image < br / > < / td > < / tr >
< tr class = "separator:a09b03eb72a948119f3eb3a472d3d6e74" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a90f1afb002590c82f5667dfc8c2e74b5" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a90f1afb002590c82f5667dfc8c2e74b5" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classRenderD7_1_1Image.html#a90f1afb002590c82f5667dfc8c2e74b5" > loadet< / a > = false< / td > < / tr >
< tr class = "memdesc:a90f1afb002590c82f5667dfc8c2e74b5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > \loadet whether the image is loadet or not < br / > < / td > < / tr >
< tr class = "separator:a90f1afb002590c82f5667dfc8c2e74b5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > < a class = "el" href = "classRenderD7_1_1Image.html" title = "Image Class." > Image< / a > Class. < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a46540860a8785e93be09b68751577f87" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a46540860a8785e93be09b68751577f87" > ◆ < / a > < / span > LoadPng()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void RenderD7::Image::LoadPng < / td >
< td > (< / td >
< td class = "paramtype" > const std::string  < / td >
< td class = "paramname" > < em > path< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Load < a class = "el" href = "classRenderD7_1_1Image.html" title = "Image Class." > Image< / a > from Png path: path to png file < / p >
< / div >
< / div >
< a id = "aaabaa6026391a82b18103074b0c888a1" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aaabaa6026391a82b18103074b0c888a1" > ◆ < / a > < / span > LoadPFromBuffer()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void RenderD7::Image::LoadPFromBuffer < / td >
< td > (< / td >
< td class = "paramtype" > const std::vector< u8 > &   < / td >
< td class = "paramname" > < em > buffer< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Load the < a class = "el" href = "classRenderD7_1_1Image.html" title = "Image Class." > Image< / a > from buffer buffer: the frame buffer < / p >
< / div >
< / div >
< a id = "aa65130a589ba2bdf8d9388cd4c1baac3" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa65130a589ba2bdf8d9388cd4c1baac3" > ◆ < / a > < / span > Draw()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool RenderD7::Image::Draw < / td >
< td > (< / td >
< td class = "paramtype" > float  < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > float  < / td >
< td class = "paramname" > < em > y< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > float  < / td >
< td class = "paramname" > < em > scaleX< / em > = < code > 1.0f< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > float  < / td >
< td class = "paramname" > < em > scaleY< / em > = < code > 1.0f< / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Draw the < a class = "el" href = "classRenderD7_1_1Image.html" title = "Image Class." > Image< / a > directly < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > x< / td > < td > The x position < / td > < / tr >
< tr > < td class = "paramname" > y< / td > < td > the y position < / td > < / tr >
< tr > < td class = "paramname" > scaleX< / td > < td > x scale from 0.0 to 1.0 < / td > < / tr >
< tr > < td class = "paramname" > scaleY< / td > < td > y scale from 0.0 to 1.0 < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a649e3ceb6376199a2c246b5a59eb3de8" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a649e3ceb6376199a2c246b5a59eb3de8" > ◆ < / a > < / span > Get()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > C2D_Image RenderD7::Image::Get < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Get The < a class = "el" href = "classRenderD7_1_1Image.html" title = "Image Class." > Image< / a > . < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > C2D_Image < / dd > < / dl >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
2022-04-12 10:49:08 +02:00
< ul >
< li class = "navelem" > < a class = "el" href = "namespaceRenderD7.html" > RenderD7< / a > < / li > < li class = "navelem" > < a class = "el" href = "classRenderD7_1_1Image.html" > Image< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.8.17 < / li >
< / ul >
< / div >
< / body >
< / html >