roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
smooth.cpp File Reference
#include "roo_display/shape/smooth.h"
#include <math.h>
#include "roo_display/core/buffered_drawing.h"
Include dependency graph for smooth.cpp:

Go to the source code of this file.

Namespaces

namespace  roo_display
 Defines 140 opaque HTML named colors.
 

Functions

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::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::SmoothLine (FpPoint a, FpPoint b, Color color)
 Create a 1-pixel-wide anti-aliased line.
 
SmoothShape roo_display::SmoothRotatedFilledRect (FpPoint center, float width, float height, float angle, Color color)
 Create a rotated filled rectangle.
 
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::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::SmoothFilledRoundRect (float x0, float y0, float x1, float y1, float radius, Color color)
 Create a filled round-rect.
 
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::SmoothCircle (FpPoint center, float radius, Color color, Color interior_color=color::Transparent)
 Create a circle (optionally with interior color).
 
SmoothShape roo_display::SmoothFilledCircle (FpPoint center, float radius, Color color)
 Create a filled circle.
 
SmoothShape roo_display::SmoothThickArcImpl (FpPoint center, float radius, float thickness, float angle_start, float angle_end, Color active_color, Color inactive_color, Color interior_color, EndingStyle ending_style, bool trim_to_active)
 
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.
 

Variable Documentation

◆ bax

float bax

Definition at line 476 of file smooth.cpp.

◆ bay

float bay

Definition at line 477 of file smooth.cpp.

◆ bgcolor

◆ blending_mode

BlendingMode blending_mode

Definition at line 888 of file smooth.cpp.

Referenced by roo_display::ApplyRawFullByteBlending(), roo_display::ApplyRawFullByteBlending(), roo_display::ApplyRawSubByteBlending(), roo_display::ApplyRawSubByteBlending(), roo_display::internal::BufferingStream::blend(), roo_display::internal::BlenderSpecialization(), roo_display::DrawingContext::drawPixels(), roo_display::ColorFilter< Filter >::fillPixels(), roo_display::ColorFilter< Erasure >::fillPixels(), roo_display::AddrWindowDevice< Target >::fillPixels(), roo_display::OffscreenDevice< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::fillPixels(), roo_display::DisplayOutput::fillRect(), roo_display::DisplayOutput::fillRect(), roo_display::internal::FillRectFromRawStream(), roo_display::internal::FillRectFromStream(), roo_display::AddrWindowDevice< Target >::fillRects(), roo_display::ColorFilter< Filter >::fillRects(), roo_display::ColorFilter< Erasure >::fillRects(), roo_display::OffscreenDevice< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::fillRects(), roo_display::internal::RectFillerRectangle< RawPixelStream >::operator()(), roo_display::DisplayOutput::setAddress(), roo_display::ColorFilter< Filter >::setAddress(), roo_display::ColorFilter< Erasure >::setAddress(), roo_display::OffscreenDevice< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::setAddress(), roo_display::DrawingContext::setBlendingMode(), roo_display::ColorFilter< Filter >::writePixels(), roo_display::ColorFilter< Erasure >::writePixels(), roo_display::OffscreenDevice< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::writePixels(), roo_display::AddrWindowDevice< Target >::writeRects(), roo_display::ColorFilter< Filter >::writeRects(), roo_display::ColorFilter< Erasure >::writeRects(), and roo_display::OffscreenDevice< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::writeRects().

◆ dr

float dr

Definition at line 475 of file smooth.cpp.

◆ fill_mode

◆ hd

float hd

Definition at line 478 of file smooth.cpp.

Referenced by huffext().

◆ max_alpha

uint8_t max_alpha

Definition at line 480 of file smooth.cpp.

◆ out

DisplayOutput* out

Definition at line 886 of file smooth.cpp.

Referenced by inflate(), inflate_fast(), inflateBack(), and inflateSync().

◆ pre_blended_interior

Color pre_blended_interior

Definition at line 891 of file smooth.cpp.

◆ pre_blended_outline

Color pre_blended_outline

Definition at line 890 of file smooth.cpp.

◆ pre_blended_outline_active

Color pre_blended_outline_active

Definition at line 1027 of file smooth.cpp.

◆ pre_blended_outline_inactive

Color pre_blended_outline_inactive

Definition at line 1028 of file smooth.cpp.

◆ r

◆ round_endings

bool round_endings

Definition at line 481 of file smooth.cpp.

◆ sqrt_hd

float sqrt_hd

Definition at line 479 of file smooth.cpp.