Browse Source

Fix typos

gh-pages
falkTX 9 years ago
parent
commit
4102259517
2 changed files with 5 additions and 5 deletions
  1. +2
    -2
      dgl/Color.hpp
  2. +3
    -3
      dgl/NanoVG.hpp

+ 2
- 2
dgl/Color.hpp View File

@@ -32,7 +32,7 @@ START_NAMESPACE_DGL
*/
struct Color {
/**
Direct access to the color value.
Direct access to the color values.
*/
union {
float rgba[4];
@@ -74,7 +74,7 @@ struct Color {
static Color HSL(const float hue, const float saturation, const float lightness, const uchar alpha = 255);

/**
Linearly interpolate this color against @a other.
Linearly interpolate this color against another.
*/
void interpolate(const Color& other, const float u) noexcept;



+ 3
- 3
dgl/NanoVG.hpp View File

@@ -221,7 +221,7 @@ public:

Paint() noexcept;

/**
/**
@internal
*/
Paint(const NVGpaint&) noexcept;
@@ -410,7 +410,7 @@ public:
static void transformIdentity(float dst[6]);

/**
Sets the transform to translation matrix matrix.
Sets the transform to translation matrix
*/
static void transformTranslate(float dst[6], float tx, float ty);

@@ -751,7 +751,7 @@ protected:
private:
/**
Widget display function.
Implemented internally to wrap begin/endFrame() automaticaly.
Implemented internally to wrap begin/endFrame() automatically.
*/
void onDisplay() override
{


Loading…
Cancel
Save