| TGX 1.1.1 A tiny 2D/3D graphics library optimized for 32 bits microcontrollers.

Loading...
Searching...
No Matches
Classes | Enumerations
Image.h File Reference

Main image class. More...

`#include "Fonts.h"`
`#include "Misc.h"`
`#include "Vec2.h"`
`#include "Vec3.h"`
`#include "Vec4.h"`
`#include "Box2.h"`
`#include "Color.h"`
`#include "ShaderParams.h"`
`#include "Shaders.h"`
`#include "Rasterizer.h"`
`#include "bseg.h"`
`#include <stdint.h>`
`#include "Image.inl"`

Go to the source code of this file.

## Classes
class | tgx::Image< color_t >
| Image class [MAIN CLASS FOR THE 2D API]. More...

## Enumerations
enum | tgx::EndPath { tgx::END_STRAIGHT = -1 , tgx::END_ROUNDED = 0 , tgx::END_ARROW_1 = 1 , tgx::END_ARROW_2 = 2 , tgx::END_ARROW_3 = 3 , tgx::END_ARROW_4 = 4 , tgx::END_ARROW_5 = 5 , tgx::END_ARROW_SKEWED_1 = 101 , tgx::END_ARROW_SKEWED_2 = 102 , tgx::END_ARROW_SKEWED_3 = 103 , tgx::END_ARROW_SKEWED_4 = 104 , tgx::END_ARROW_SKEWED_5 = 105 }
| Enumeration of end path shapes. More...

## Detailed Description

Main image class.

## Enumeration Type Documentation

## ◆ EndPath

enum tgx::EndPath

Enumeration of end path shapes.

List the shapes that can be drawn at the end of a path. Used by methods such as `Image::drawThickLineAA()`, `Image::drawThickPolylineAA()`, `Image::drawThickQuadSplineAA()`...

Enumerator
END_STRAIGHT | straight end.
END_ROUNDED | rounded end.
END_ARROW_1 | tiny arrow head [extends = line thickness]
END_ARROW_2 | small arrow head [extends = 2 x line thickness]
END_ARROW_3 | medium arrow head [extends = 3 x line thickness]
END_ARROW_4 | large arrow head [extends = 4 x line thickness]
END_ARROW_5 | huge arrow head [extends = 5 x line thickness]
END_ARROW_SKEWED_1 | tiny skewed arrow head [extends = line thickness]
END_ARROW_SKEWED_2 | small skewed arrow head [extends = 2 x line thickness]
END_ARROW_SKEWED_3 | medium skewed arrow head [extends = 3 x line thickness]
END_ARROW_SKEWED_4 | large skewed arrow head [extends = 4 x line thickness]
END_ARROW_SKEWED_5 | huge skewed arrow head [extends = 5 x line thickness]