Difference between revisions of "API Panel.Graphics.DrawCreate"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import) |
||
Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
− | ===Class hierarchy===[[API Panel|Panel]] | + | ====Class hierarchy==== |
+ | [[API Panel|Panel]] | ||
:[[API Panel.Graphics|Graphics]] | :[[API Panel.Graphics|Graphics]] | ||
::[[API Panel.Graphics|DrawCreate]] | ::[[API Panel.Graphics|DrawCreate]] | ||
Line 10: | Line 11: | ||
==Parameters== | ==Parameters== | ||
− | + | [[Variable types|HANDLE]] ''Handle'' | |
:Component to create a drawing area on | :Component to create a drawing area on | ||
− | + | [[Variable types|LONG]] ''X'' | |
:The horizontal size of the drawing canvas in pixels | :The horizontal size of the drawing canvas in pixels | ||
:''The default value for this parameter is: '''''320''' | :''The default value for this parameter is: '''''320''' | ||
− | + | [[Variable types|LONG]] ''Y'' | |
:The vertical size of the drawing canvas in pixels | :The vertical size of the drawing canvas in pixels | ||
:''The default value for this parameter is: '''''256''' | :''The default value for this parameter is: '''''256''' | ||
− | + | [[Variable types|BOOL]] ''Monochrome'' | |
:Set true to create a greyscale image, else full colour | :Set true to create a greyscale image, else full colour | ||
:''The default value for this parameter is: '''''0''' | :''The default value for this parameter is: '''''0''' | ||
− | + | [[Variable types|ULONG]] ''FillCol'' | |
:The colour to fill the canvas with | :The colour to fill the canvas with | ||
:''The default value for this parameter is: '''''0''' | :''The default value for this parameter is: '''''0''' | ||
Line 33: | Line 34: | ||
==Detailed description== | ==Detailed description== | ||
− | ''No additional information'' | + | ''<span style="color:red;">No additional information</span>'' |
+ | |||
==Examples== | ==Examples== | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)</pre> | ||
+ | |||
+ | ''<span style="color:red;">No additional information</span>'' |
Revision as of 22:09, 11 May 2013
<sidebar>API contents</sidebar> Creates a drawing area on a shape
Contents
Parameters
HANDLE Handle
- Component to create a drawing area on
LONG X
- The horizontal size of the drawing canvas in pixels
- The default value for this parameter is: 320
LONG Y
- The vertical size of the drawing canvas in pixels
- The default value for this parameter is: 256
BOOL Monochrome
- Set true to create a greyscale image, else full colour
- The default value for this parameter is: 0
ULONG FillCol
- The colour to fill the canvas with
- The default value for this parameter is: 0
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)
No additional information