sp-fepointlight.cpp revision e7333a0a54c8d33b7397406dd76938aa430836d5
70N/A#define __SP_FEPOINTLIGHT_CPP__
919N/A#ifdef HAVE_CONFIG_H
919N/A#include "attributes.h"
919N/A#include "document.h"
70N/A#include "sp-fepointlight.h"
70N/A#include "sp-fediffuselighting-fns.h"
70N/A#include "sp-fespecularlighting-fns.h"
70N/A#define SP_MACROS_SILENT
911N/Astatic void sp_fepointlight_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr);
70N/Astatic Inkscape::XML::Node *sp_fepointlight_write(SPObject *object, Inkscape::XML::Node *repr, guint flags);
493N/A if (!fepointlight_type) {
70N/A sizeof(SPFePointLightClass),
970N/A sizeof(SPFePointLight),
fepointlight_type = g_type_register_static(SP_TYPE_OBJECT, "SPFePointLight", &fepointlight_info, (GTypeFlags)0);
return fepointlight_type;
fepointlight->x = 0;
fepointlight->y = 0;
fepointlight->z = 0;
* sp-object-repr.cpp's repr_name_entries array.
switch (key) {
case SP_ATTR_X:
if (value) {
if (end_ptr) {
fepointlight->x = 0;
case SP_ATTR_Y:
if (value) {
if (end_ptr) {
fepointlight->y = 0;
case SP_ATTR_Z:
if (value) {
if (end_ptr) {
fepointlight->z = 0;
(void)fePointLight;
if (!repr) {
return repr;