API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CGContextVML.j File Reference

Go to the source code of this file.

Macros

#define COORD(aCoordinate)   (aCoordinate === 0.0 ? 0 : ROUND(Z * (aCoordinate) - Z_2))
 

Functions

function CGBitmapGraphicsContextCreate ()
 
function CGContextClearRect (aContext, aRect)
 
function CGContextDrawImage (aContext, aRect, anImage)
 
function CGContextDrawLinearGradient (aContext, aGradient, aStartPoint, anEndPoint, options)
 
function CGContextDrawPath (aContext, aMode)
 
function CGContextSetFillColor (aContext, aColor)
 
function to_string (aColor)
 

Variables

var H = 10.0
 
var VML_ELEMENT_TABLE = [ " m ", " l ", "qb", " c ", " x ", [" at ", " wa "]]
 
var VML_LINECAP_TABLE = [ "flat", "round", "square" ]
 
var VML_LINEJOIN_TABLE = [ "miter", "round", "bevel" ]
 
var VML_TRUTH_TABLE = [ "f", "t"]
 
var W = 10.0
 
var Z = 10.0
 
var Z_2 = Z / 2.0
 

Macro Definition Documentation

#define COORD (   aCoordinate)    (aCoordinate === 0.0 ? 0 : ROUND(Z * (aCoordinate) - Z_2))

Definition at line 66 of file CGContextVML.j.

Function Documentation

function CGBitmapGraphicsContextCreate ( )

Definition at line 30 of file CGContextVML.j.

function CGContextClearRect ( aContext  ,
aRect   
)

Definition at line 51 of file CGContextVML.j.

function CGContextDrawImage ( aContext  ,
aRect  ,
anImage   
)

Definition at line 68 of file CGContextVML.j.

function CGContextDrawLinearGradient ( aContext  ,
aGradient  ,
aStartPoint  ,
anEndPoint  ,
options   
)

Definition at line 286 of file CGContextVML.j.

function CGContextDrawPath ( aContext  ,
aMode   
)

Definition at line 119 of file CGContextVML.j.

function CGContextSetFillColor ( aContext  ,
aColor   
)

Definition at line 41 of file CGContextVML.j.

function to_string ( aColor  )

Definition at line 281 of file CGContextVML.j.

Variable Documentation

var H = 10.0

Definition at line 62 of file CGContextVML.j.

var VML_ELEMENT_TABLE = [ " m ", " l ", "qb", " c ", " x ", [" at ", " wa "]]

Definition at line 26 of file CGContextVML.j.

var VML_LINECAP_TABLE = [ "flat", "round", "square" ]

Definition at line 24 of file CGContextVML.j.

var VML_LINEJOIN_TABLE = [ "miter", "round", "bevel" ]

Definition at line 25 of file CGContextVML.j.

var VML_TRUTH_TABLE = [ "f", "t"]

Definition at line 23 of file CGContextVML.j.

var W = 10.0

Definition at line 61 of file CGContextVML.j.

var Z = 10.0

Definition at line 63 of file CGContextVML.j.

var Z_2 = Z / 2.0

Definition at line 64 of file CGContextVML.j.