Utility functions to register the Coord2D class into Google JavaScript V8 engine. More...
#include "../../../../geometry/Coord2D.h"#include "../../common/Utils.h"#include "Geometry.h"#include <memory>Go to the source code of this file.
Functions | |
| ::v8::Handle<::v8::Value > | Coord2D_Constructor (const ::v8::Arguments &args) |
| ::v8::Handle<::v8::Value > | Coord2D_XGetter (::v8::Local<::v8::String >, const ::v8::AccessorInfo &info) |
| void | Coord2D_XSetter (::v8::Local<::v8::String >,::v8::Local<::v8::Value > value, const ::v8::AccessorInfo &info) |
| ::v8::Handle<::v8::Value > | Coord2D_YGetter (::v8::Local<::v8::String >, const ::v8::AccessorInfo &info) |
| void | Coord2D_YSetter (::v8::Local<::v8::String >,::v8::Local<::v8::Value > value, const ::v8::AccessorInfo &info) |
Variables | |
| static::v8::Persistent<::v8::FunctionTemplate > | sg_coord2d_template |
Utility functions to register the Coord2D class into Google JavaScript V8 engine.
Definition in file Coord2D.cpp.
| ::v8::Handle<::v8::Value> Coord2D_Constructor | ( | const ::v8::Arguments & | args | ) |
Definition at line 108 of file Coord2D.cpp.
References te::v8::jsi::GetCoord2DTemplate(), and te::v8::common::Make().
Referenced by te::v8::jsi::RegisterCoord2D().
| ::v8::Handle<::v8::Value> Coord2D_XGetter | ( | ::v8::Local<::v8::String > | , |
| const ::v8::AccessorInfo & | info | ||
| ) |
Definition at line 34 of file Coord2D.cpp.
References te::gm::Coord2D::x.
Referenced by te::v8::jsi::GetCoord2DTemplate().
| void Coord2D_XSetter | ( | ::v8::Local<::v8::String > | , |
| ::v8::Local<::v8::Value > | value, | ||
| const ::v8::AccessorInfo & | info | ||
| ) |
Definition at line 46 of file Coord2D.cpp.
References te::gm::Coord2D::x.
Referenced by te::v8::jsi::GetCoord2DTemplate().
| ::v8::Handle<::v8::Value> Coord2D_YGetter | ( | ::v8::Local<::v8::String > | , |
| const ::v8::AccessorInfo & | info | ||
| ) |
Definition at line 71 of file Coord2D.cpp.
References te::gm::Coord2D::y.
Referenced by te::v8::jsi::GetCoord2DTemplate().
| void Coord2D_YSetter | ( | ::v8::Local<::v8::String > | , |
| ::v8::Local<::v8::Value > | value, | ||
| const ::v8::AccessorInfo & | info | ||
| ) |
Definition at line 83 of file Coord2D.cpp.
References te::gm::Coord2D::y.
Referenced by te::v8::jsi::GetCoord2DTemplate().
| ::v8::Persistent<::v8::FunctionTemplate> sg_coord2d_template |
Definition at line 142 of file Coord2D.cpp.
Referenced by te::v8::jsi::GetCoord2DTemplate().