roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
smooth.h File Reference
Include dependency graph for smooth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  roo_display::SmoothShape
 Smooth (anti-aliased) shape rasterizable. More...
 
struct  roo_display::SmoothShape::Wedge
 
struct  roo_display::SmoothShape::RoundRect
 
struct  roo_display::SmoothShape::Arc
 
struct  roo_display::SmoothShape::Triangle
 
struct  roo_display::SmoothShape::Pixel
 

Namespaces

namespace  roo_display
 Defines 140 opaque HTML named colors.
 

Enumerations

enum  roo_display::EndingStyle { roo_display::ENDING_ROUNDED = 0 , roo_display::ENDING_FLAT = 1 }
 Line ending style for smooth shapes. More...
 

Functions

SmoothShape roo_display::SmoothLine (FpPoint a, FpPoint b, Color color)
 Create a 1-pixel-wide anti-aliased line.
 
SmoothShape roo_display::SmoothThickLine (FpPoint a, FpPoint b, float width, Color color, EndingStyle ending_style=ENDING_ROUNDED)
 Create a line with width and ending style.
 
SmoothShape roo_display::SmoothWedgedLine (FpPoint a, float width_a, FpPoint b, float width_b, Color color, EndingStyle ending_style=ENDING_ROUNDED)
 Create a wedged line with different start/end widths.
 
SmoothShape roo_display::SmoothRoundRect (float x0, float y0, float x1, float y1, float radius, Color color, Color interior_color=color::Transparent)
 Create an outlined round-rect.
 
SmoothShape roo_display::SmoothThickRoundRect (float x0, float y0, float x1, float y1, float radius, float thickness, Color color, Color interior_color=color::Transparent)
 Create an outlined round-rect with thickness.
 
SmoothShape roo_display::SmoothFilledRoundRect (float x0, float y0, float x1, float y1, float radius, Color color)
 Create a filled round-rect.
 
SmoothShape roo_display::SmoothCircle (FpPoint center, float radius, Color color, Color interior_color=color::Transparent)
 Create a circle (optionally with interior color).
 
SmoothShape roo_display::SmoothThickCircle (FpPoint center, float radius, float thickness, Color color, Color interior_color=color::Transparent)
 Create a circle with thickness (ring).
 
SmoothShape roo_display::SmoothFilledCircle (FpPoint center, float radius, Color color)
 Create a filled circle.
 
SmoothShape roo_display::SmoothRotatedFilledRect (FpPoint center, float width, float height, float angle, Color color)
 Create a rotated filled rectangle.
 
SmoothShape roo_display::SmoothArc (FpPoint center, float radius, float angle_start, float angle_end, Color color)
 Create a 1-pixel-wide arc.
 
SmoothShape roo_display::SmoothThickArc (FpPoint center, float radius, float thickness, float angle_start, float angle_end, Color color, EndingStyle ending_style=ENDING_ROUNDED)
 Create an arc with thickness.
 
SmoothShape roo_display::SmoothPie (FpPoint center, float radius, float angle_start, float angle_end, Color color)
 Create a pie slice.
 
SmoothShape roo_display::SmoothThickArcWithBackground (FpPoint center, float radius, float thickness, float angle_start, float angle_end, Color active_color, Color inactive_color, Color interior_color, EndingStyle ending_style=ENDING_ROUNDED)
 Create an arc with background and interior colors.
 
SmoothShape roo_display::SmoothFilledTriangle (FpPoint a, FpPoint b, FpPoint c, Color color)
 Create a filled triangle.