2012-05-21 20:32:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< title > mxGraph: com::mxgraph::mxImageCanvas Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
<!-- Generated by Doxygen 1.6.3 -->
< div class = "navigation" id = "top" >
< div class = "tabs" >
< ul >
< li > < a href = "index.html" > < span > Main Page< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "dirs.html" > < span > Directories< / span > < / a > < / li >
< / ul >
< / div >
< div class = "tabs" >
< ul >
< li > < a href = "annotated.html" > < span > Class List< / span > < / a > < / li >
< li > < a href = "hierarchy.html" > < span > Class Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class Members< / span > < / a > < / li >
< / ul >
< / div >
< div class = "navpath" > < b > com< / b > ::< b > mxgraph< / b > ::< a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html" > mxImageCanvas< / a >
< / div >
< / div >
< div class = "contents" >
< h1 > com::mxgraph::mxImageCanvas Class Reference< / h1 > <!-- doxytag: class="com::mxgraph::mxImageCanvas" --> <!-- doxytag: inherits="com::mxgraph::mxICanvas" -->
< p > Implements a canvas that draws onto an image.
< a href = "#_details" > More...< / a > < / p >
< div class = "dynheader" >
Inheritance diagram for com::mxgraph::mxImageCanvas:< / div >
< div class = "dynsection" >
< div class = "center" >
< img src = "classcom_1_1mxgraph_1_1mxImageCanvas.png" usemap = "#com::mxgraph::mxImageCanvas_map" alt = "" / >
< map id = "com::mxgraph::mxImageCanvas_map" name = "com::mxgraph::mxImageCanvas_map" >
< area href = "interfacecom_1_1mxgraph_1_1mxICanvas.html" alt = "com::mxgraph::mxICanvas" shape = "rect" coords = "0,0,186,24" / >
< / map >
< / div >
< / div >
< p > < a href = "classcom_1_1mxgraph_1_1mxImageCanvas-members.html" > List of all members.< / a > < / p >
< table border = "0" cellpadding = "0" cellspacing = "0" >
< tr > < td colspan = "2" > < h2 > Public Member Functions< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#ac47f0aafa425843b1af72f4a574964ee" > mxImageCanvas< / a > (< a class = "el" href = "classcom_1_1mxgraph_1_1mxGdiCanvas.html" > mxGdiCanvas< / a > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a25a1291905e89f24bc2c8258d9fb8b7e" > canvas< / a > , int width, int height, Color?background, bool antiAlias)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Object < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a141e199ea658499f9ee7cb614312de73" > DrawCell< / a > (< a class = "el" href = "classcom_1_1mxgraph_1_1mxCellState.html" > mxCellState< / a > state)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f" title = "Draws the given cell." > com.mxgraph.mxICanvas.DrawCell()< / a > < a href = "#a141e199ea658499f9ee7cb614312de73" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Object < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a8009e58f10e849bc7bb8fb0b22b9d67e" > DrawLabel< / a > (string text, < a class = "el" href = "classcom_1_1mxgraph_1_1mxCellState.html" > mxCellState< / a > state, bool html)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79" title = "Draws the given label." > com.mxgraph.mxICanvas.DrawLabel()< / a > < a href = "#a8009e58f10e849bc7bb8fb0b22b9d67e" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Image < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a10051aedcb8f9e1adb76f165757fcdbb" > Destroy< / a > ()< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Destroys this canvas and all allocated resources. < a href = "#a10051aedcb8f9e1adb76f165757fcdbb" > < / a > < br / > < / td > < / tr >
< tr > < td colspan = "2" > < h2 > Protected Attributes< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxGdiCanvas.html" > mxGdiCanvas< / a > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a25a1291905e89f24bc2c8258d9fb8b7e" > canvas< / a > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Inner canvas used for the actual rendering. < a href = "#a25a1291905e89f24bc2c8258d9fb8b7e" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Graphics < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a058a4a22257f9f098f05c37772edb489" > previousGraphics< / a > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Stores the previous graphics reference of the inner canvas. < a href = "#a058a4a22257f9f098f05c37772edb489" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Image < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a64ac8f6c83af2274c4729a6df9878eba" > image< / a > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Stores the image that holds the graphics. < a href = "#a64ac8f6c83af2274c4729a6df9878eba" > < / a > < br / > < / td > < / tr >
< tr > < td colspan = "2" > < h2 > Properties< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxGdiCanvas.html" > mxGdiCanvas< / a > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#adb99fa4c94b668fe11279378016f8bfc" > GdiCanvas< / a > < code > [get]< / code > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Returns the inner canvas. < a href = "#adb99fa4c94b668fe11279378016f8bfc" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Image < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a2bde172bcc4451686701176cf8917c9d" > Image< / a > < code > [get]< / code > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Returns the image that hold the graphics. < a href = "#a2bde172bcc4451686701176cf8917c9d" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > Point < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a2267bc84051cea13c3285d29804b8fc7" > Translate< / a > < code > [get, set]< / code > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad811ebd65f646526f01f63db8f023488" title = "Sets or returns the user object of the cell." > com.mxgraph.mxICanvas.Translate< / a > < a href = "#a2267bc84051cea13c3285d29804b8fc7" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > double < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a32476a0f95314df5178d7336fde35349" > Scale< / a > < code > [get, set]< / code > < / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad811ebd65f646526f01f63db8f023488" title = "Sets or returns the user object of the cell." > com.mxgraph.mxICanvas.Translate< / a > < a href = "#a32476a0f95314df5178d7336fde35349" > < / a > < br / > < / td > < / tr >
< / table >
< hr / > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
< p > Implements a canvas that draws onto an image. < / p >
< hr / > < h2 > Constructor & Destructor Documentation< / h2 >
< a class = "anchor" id = "ac47f0aafa425843b1af72f4a574964ee" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::mxImageCanvas" ref="ac47f0aafa425843b1af72f4a574964ee" args="(mxGdiCanvas canvas, int width, int height, Color?background, bool antiAlias)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > com::mxgraph::mxImageCanvas::mxImageCanvas < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxGdiCanvas.html" > mxGdiCanvas< / a > < / td >
< td class = "paramname" > < em > canvas< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int < / td >
< td class = "paramname" > < em > width< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int < / td >
< td class = "paramname" > < em > height< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > Color? < / td >
< td class = "paramname" > < em > background< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool < / td >
< td class = "paramname" > < em > antiAlias< / em > < / td > < td > < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > canvas< / em > < / td > < td > < / td > < / tr >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > width< / em > < / td > < td > < / td > < / tr >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > height< / em > < / td > < td > < / td > < / tr >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > background< / em > < / td > < td > < / td > < / tr >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > antiAlias< / em > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< hr / > < h2 > Member Function Documentation< / h2 >
< a class = "anchor" id = "a10051aedcb8f9e1adb76f165757fcdbb" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::Destroy" ref="a10051aedcb8f9e1adb76f165757fcdbb" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Image com::mxgraph::mxImageCanvas::Destroy < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Destroys this canvas and all allocated resources. < / p >
< / div >
< / div >
< a class = "anchor" id = "a141e199ea658499f9ee7cb614312de73" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::DrawCell" ref="a141e199ea658499f9ee7cb614312de73" args="(mxCellState state)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Object com::mxgraph::mxImageCanvas::DrawCell < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxCellState.html" > mxCellState< / a > < / td >
< td class = "paramname" > < em > state< / em > < / td >
< td > ) < / td >
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f" title = "Draws the given cell." > com.mxgraph.mxICanvas.DrawCell()< / a > < / p >
< p > Implements < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f" > com::mxgraph::mxICanvas< / a > .< / p >
< / div >
< / div >
< a class = "anchor" id = "a8009e58f10e849bc7bb8fb0b22b9d67e" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::DrawLabel" ref="a8009e58f10e849bc7bb8fb0b22b9d67e" args="(string text, mxCellState state, bool html)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Object com::mxgraph::mxImageCanvas::DrawLabel < / td >
< td > (< / td >
< td class = "paramtype" > string < / td >
< td class = "paramname" > < em > text< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxCellState.html" > mxCellState< / a > < / td >
< td class = "paramname" > < em > state< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool < / td >
< td class = "paramname" > < em > html< / em > < / td > < td > < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79" title = "Draws the given label." > com.mxgraph.mxICanvas.DrawLabel()< / a > < / p >
< p > Implements < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79" > com::mxgraph::mxICanvas< / a > .< / p >
< / div >
< / div >
< hr / > < h2 > Member Data Documentation< / h2 >
< a class = "anchor" id = "a25a1291905e89f24bc2c8258d9fb8b7e" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::canvas" ref="a25a1291905e89f24bc2c8258d9fb8b7e" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxGdiCanvas.html" > mxGdiCanvas< / a > < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a25a1291905e89f24bc2c8258d9fb8b7e" > com::mxgraph::mxImageCanvas::canvas< / a > < code > [protected]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Inner canvas used for the actual rendering. < / p >
< / div >
< / div >
< a class = "anchor" id = "a64ac8f6c83af2274c4729a6df9878eba" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::image" ref="a64ac8f6c83af2274c4729a6df9878eba" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Image < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a64ac8f6c83af2274c4729a6df9878eba" > com::mxgraph::mxImageCanvas::image< / a > < code > [protected]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Stores the image that holds the graphics. < / p >
< / div >
< / div >
< a class = "anchor" id = "a058a4a22257f9f098f05c37772edb489" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::previousGraphics" ref="a058a4a22257f9f098f05c37772edb489" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Graphics < a class = "el" href = "classcom_1_1mxgraph_1_1mxImageCanvas.html#a058a4a22257f9f098f05c37772edb489" > com::mxgraph::mxImageCanvas::previousGraphics< / a > < code > [protected]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Stores the previous graphics reference of the inner canvas. < / p >
< / div >
< / div >
< hr / > < h2 > Property Documentation< / h2 >
< a class = "anchor" id = "adb99fa4c94b668fe11279378016f8bfc" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::GdiCanvas" ref="adb99fa4c94b668fe11279378016f8bfc" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxGdiCanvas.html" > mxGdiCanvas< / a > com::mxgraph::mxImageCanvas::GdiCanvas< code > [get]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Returns the inner canvas. < / p >
< / div >
< / div >
< a class = "anchor" id = "a2bde172bcc4451686701176cf8917c9d" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::Image" ref="a2bde172bcc4451686701176cf8917c9d" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Image com::mxgraph::mxImageCanvas::Image< code > [get]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Returns the image that hold the graphics. < / p >
< / div >
< / div >
< a class = "anchor" id = "a32476a0f95314df5178d7336fde35349" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::Scale" ref="a32476a0f95314df5178d7336fde35349" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > double com::mxgraph::mxImageCanvas::Scale< code > [get, set]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad811ebd65f646526f01f63db8f023488" title = "Sets or returns the user object of the cell." > com.mxgraph.mxICanvas.Translate< / a > < / p >
< p > Implements < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ab393f94448d87517dae0133e57100045" > com::mxgraph::mxICanvas< / a > .< / p >
< / div >
< / div >
< a class = "anchor" id = "a2267bc84051cea13c3285d29804b8fc7" > < / a > <!-- doxytag: member="com::mxgraph::mxImageCanvas::Translate" ref="a2267bc84051cea13c3285d29804b8fc7" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > Point com::mxgraph::mxImageCanvas::Translate< code > [get, set]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > see < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad811ebd65f646526f01f63db8f023488" title = "Sets or returns the user object of the cell." > com.mxgraph.mxICanvas.Translate< / a > < / p >
< p > Implements < a class = "el" href = "interfacecom_1_1mxgraph_1_1mxICanvas.html#ad811ebd65f646526f01f63db8f023488" > com::mxgraph::mxICanvas< / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following file:< ul >
< li > src/canvas/mxImageCanvas.cs< / li >
< / ul >
< / div >
2013-02-21 15:55:28 +00:00
< hr class = "footer" / > < address style = "text-align: right;" > < small > Generated on Thu Feb 21 15:48:42 2013 for mxGraph by
2012-05-21 20:32:26 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.6.3 < / small > < / address >
< / body >
< / html >