API  1.0.0
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

◆ COORD

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

Definition at line 66 of file CGContextVML.j.

Function Documentation

◆ CGBitmapGraphicsContextCreate()

function CGBitmapGraphicsContextCreate ( )

Definition at line 30 of file CGContextVML.j.

◆ CGContextClearRect()

function CGContextClearRect ( aContext  ,
aRect   
)

Definition at line 51 of file CGContextVML.j.

◆ CGContextDrawImage()

function CGContextDrawImage ( aContext  ,
aRect  ,
anImage   
)

Definition at line 68 of file CGContextVML.j.

◆ CGContextDrawLinearGradient()

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

Definition at line 286 of file CGContextVML.j.

◆ CGContextDrawPath()

function CGContextDrawPath ( aContext  ,
aMode   
)

Definition at line 119 of file CGContextVML.j.

◆ CGContextSetFillColor()

function CGContextSetFillColor ( aContext  ,
aColor   
)

Definition at line 41 of file CGContextVML.j.

◆ to_string()

function to_string ( aColor  )

Definition at line 281 of file CGContextVML.j.

Variable Documentation

◆ H

var H = 10.0

Definition at line 62 of file CGContextVML.j.

◆ VML_ELEMENT_TABLE

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

Definition at line 26 of file CGContextVML.j.

◆ VML_LINECAP_TABLE

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

Definition at line 24 of file CGContextVML.j.

◆ VML_LINEJOIN_TABLE

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

Definition at line 25 of file CGContextVML.j.

◆ VML_TRUTH_TABLE

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

Definition at line 23 of file CGContextVML.j.

◆ W

var W = 10.0

Definition at line 61 of file CGContextVML.j.

◆ Z

var Z = 10.0

Definition at line 63 of file CGContextVML.j.

◆ Z_2

var Z_2 = Z / 2.0

Definition at line 64 of file CGContextVML.j.