Content


NTL
Core
AsSourceCode

AsSourceCode



This is a helper function which is being used to format different value so that they be valid when exported into form's prototype source code files. The set of functions is mostly used in properties.

String AsSourceCode(const float a);
String AsSourceCode(const double a);
String AsSourceCode(const Color &a);
String AsSourceCode(const Point &a);
String AsSourceCode(const PointL &a);
String AsSourceCode(const PointB &a);
String AsSourceCode(const PointF &a);
String AsSourceCode(const PointD &a);
String AsSourceCode(const Rect &a);
String AsSourceCode(const RectL &a);
String AsSourceCode(const RectB &a);
String AsSourceCode(const BorderColor &a);
String AsSourceCode(const RectF &a);
String AsSourceCode(const RectD &a);
String AsSourceCode(const Vec4f &a);
String AsSourceCode(const Mat4f &a);
String AsSourceCode(const Transform &a);
String AsSourceCode(const FloatArray &a);
String AsSourceCode(const IntegerArray &a);
String AsSourceCode(const BoolArray &a);
String AsSourceCode(const ColorArray &a);
String AsSourceCode(const Gradient &a);
String AsSourceCode(const Hotkey &a);
Namespace: nitisa
Include: Nitisa/Image/Color.h (For Color argument)
Nitisa/Image/ColorArray.h (For ColorArray argument)
Nitisa/Image/BorderColor.h (For BorderColor argument)
Nitisa/Image/Gradient.h (For Gradient argument)
Nitisa/Core/BoolArray.h (For BoolArray argument)
Nitisa/Core/Hotkey.h (For Hotkey argument)
Nitisa/Core/Utils.h (For float and double arguments)
Nitisa/Math/Point.h (For Point argument)
Nitisa/Math/PointB.h (For PointB argument)
Nitisa/Math/PointD.h (For PointD argument)
Nitisa/Math/PointF.h (For PointF argument)
Nitisa/Math/PointL.h (For PointL argument)
Nitisa/Math/Rect.h (For Rect argument)
Nitisa/Math/RectB.h (For RectB argument)
Nitisa/Math/RectD.h (For RectD argument)
Nitisa/Math/RectF.h (For RectF argument)
Nitisa/Math/RectL.h (For RectL argument)
Nitisa/Math/FloatArray.h (For FloatArray argument)
Nitisa/Math/IntegerArray.h (For IntegerArray argument)
Nitisa/Math/Mat4f.h (For Mat4f argument)
Nitisa/Math/Transform.h (For Transform argument)
Nitisa/Math/Vec4f.h (For Vec4f argument)