24 #define PIXEL(pixels) pixels + "px"; 29 return aBackingStore.context;
35 CABackingStoreCreate =
function()
37 var DOMElement = document.createElement(
"canvas");
39 DOMElement.style.position =
"absolute";
42 return { context:DOMElement.getContext(
"2d"), buffer:DOMElement, _image:DOMElement };
47 var buffer = aBackingStore.buffer;
49 buffer.width = aSize.width;
50 buffer.height = aSize.height;
51 buffer.style.width =
PIXEL(aSize.width);
52 buffer.style.height =
PIXEL(aSize.height);
59 CABackingStoreCreate =
function()
65 return { context:context };
function CPFeatureIsCompatible(aFeature)
function CABackingStoreGetContext(aBackingStore)
function CGBitmapGraphicsContextCreate()