| 193 | return Number::New(format->colorkey); |
| 194 | } |
| 195 | Handle<Value> GetFormatAlpha(Local<String> name, const AccessorInfo& info) { |
| 196 | SDL_PixelFormat* format = UnwrapPixelFormat(info.Holder()); |
| 197 | return Number::New(format->alpha); |
| 198 | } |
| 199 | |
| 200 | Handle<ObjectTemplate> MakePixelFormatTemplate() { |
| 201 | HandleScope handle_scope; |
nothing calls this directly
no test coverage detected