You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
407 B
19 lines
407 B
14 years ago
|
|
||
|
//
|
||
|
// init.cc
|
||
|
//
|
||
|
// Copyright (c) 2010 LearnBoost <tj@learnboost.com>
|
||
|
//
|
||
|
|
||
|
#include "Canvas.h"
|
||
|
#include "CanvasGradient.h"
|
||
|
#include "CanvasRenderingContext2d.h"
|
||
|
|
||
|
extern "C" void
|
||
|
init (Handle<Object> target) {
|
||
|
HandleScope scope;
|
||
|
Canvas::Initialize(target);
|
||
|
Context2d::Initialize(target);
|
||
|
Gradient::Initialize(target);
|
||
|
target->Set(String::New("cairoVersion"), String::New(cairo_version_string()));
|
||
|
}
|