|
© Efflare Systems website : e-mail |
<cfx_imageflare source="
b = Bitmap( '#expandpath('.\ngeo.jpg')#' )
b.resize( 150, 0 )
c = Color('white')
b.shape( Ellipse( b.width-16, b.height-24, b.width-3, b.height-11 ), Color('white',0), c, 2 )
b.line( b.width-10, b.height-11, b.width-10, b.height-03, c, 4 ) // handle
b.line( b.width-10, b.height-21, b.width-10, b.height-15, c, 1 ) // vertical crosshair
b.line( b.width-13, b.height-18, b.width-07, b.height-18, c, 1 ) // horizontal crosshair
b.save( '#expandpath('.\example05a.jpg')#' )
">
<cfx_imageflare source="
function drawMagnifyIcon(b,c)
b.shape( Ellipse( b.width-16, b.height-24, b.width-3, b.height-11 ), Color('white',0), c, 2 )
b.line( b.width-10, b.height-11, b.width-10, b.height-03, c, 4 ) // handle
b.line( b.width-10, b.height-21, b.width-10, b.height-15, c ) // vertical crosshair
b.line( b.width-13, b.height-18, b.width-07, b.height-18, c ) // horizontal crosshair
end
b = Bitmap( '#expandpath('.\ngeo.jpg')#' )
b.resize( 150, 0 )
drawMagnifyIcon( b, Color('white') )
b.save( '#expandpath('.\example05a.jpg')#' )
">
<cfx_imageflare source="
include( '#expandpath('drawMagnifyIcon.fs')#' )
b = Bitmap( '#expandpath('.\ngeo.jpg')#' )
b.resize( 150, 0 )
drawMagnifyIcon( b, Color('white') )
b.save( '#expandpath('.\example05a.jpg')#' )
">
function drawMagnifyIcon(b,c)
b.shape( Ellipse( b.width-16, b.height-24, b.width-3, b.height-11 ), Color('white',0), c, 2 )
b.line( b.width-10, b.height-11, b.width-10, b.height-03, c, 4 ) // handle
b.line( b.width-10, b.height-21, b.width-10, b.height-15, c ) // vertical crosshair
b.line( b.width-13, b.height-18, b.width-07, b.height-18, c ) // horizontal crosshair
end