|
roo_display
API Documentation for roo_display
|
Defines 140 opaque HTML named colors. More...
Namespaces | |
| namespace | color |
| namespace | esp32 |
| namespace | ili9341 |
| namespace | ili9486 |
| namespace | ili9488 |
| namespace | internal |
| namespace | products |
| namespace | ssd1327 |
| namespace | st7735 |
| namespace | st7789 |
| namespace | st7796s |
| namespace | st77xx |
Data Structures | |
| class | AddrWindowDevice |
| class | AffineTransformation |
| General affine transformation. More... | |
| class | Alignment |
| Combines horizontal and vertical alignment. More... | |
| class | Alpha4 |
| class | Alpha8 |
| class | AngularGradient |
Angular gradient based on angle around center. More... | |
| class | ArduinoSpi |
| class | ArduinoSpiDevice |
| class | Argb4444 |
| 16-bit ARGB 4-4-4-4 color mode. More... | |
| class | Argb6666 |
| 24-bit ARGB 6-6-6-6 color mode. More... | |
| class | Argb8888 |
| ColorMode template contract. More... | |
| class | BackgroundFillOptimizer |
| Display output filter that avoids redundant background fills. More... | |
| class | BackgroundFillOptimizerDevice |
| Display device wrapper that applies background fill optimization. More... | |
| class | Backlit |
| class | BasicShape |
| Base class for simple colored shapes. More... | |
| class | BasicTouchDevice |
| class | BitMaskOffscreen |
| struct | Blender |
| class | BlendingFilter |
| Filtering device that blends with a rasterizable image. More... | |
| struct | BlendOp |
| struct | BlendOp< BlendingMode::kClear > |
| struct | BlendOp< BlendingMode::kDestination > |
| struct | BlendOp< BlendingMode::kDestinationAtop > |
| struct | BlendOp< BlendingMode::kDestinationIn > |
| struct | BlendOp< BlendingMode::kDestinationOut > |
| struct | BlendOp< BlendingMode::kDestinationOver > |
| struct | BlendOp< BlendingMode::kDestinationOverOpaque > |
| struct | BlendOp< BlendingMode::kSource > |
| struct | BlendOp< BlendingMode::kSourceAtop > |
| struct | BlendOp< BlendingMode::kSourceIn > |
| struct | BlendOp< BlendingMode::kSourceOut > |
| struct | BlendOp< BlendingMode::kSourceOver > |
| struct | BlendOp< BlendingMode::kSourceOverOpaque > |
| struct | BlendOp< BlendingMode::kXor > |
| class | Border |
| Rectangle border with configurable thickness on each side. More... | |
| class | Box |
| Axis-aligned integer rectangle. More... | |
| class | BufferedAddrWindowDevice |
| class | BufferedColorWriter |
Buffered writer for sequential color values (used with setAddress()). More... | |
| class | BufferedHLineFiller |
| class | BufferedPixelFiller |
| Buffered filler for arbitrary pixels using a single color. More... | |
| class | BufferedPixelWriter |
| Buffered writer for arbitrary pixels with per-pixel colors. More... | |
| class | BufferedPixelWriterFillAdapter |
| Adapter that turns a pixel writer into a single-color filler. More... | |
| class | BufferedRectFiller |
| class | BufferedRectWriter |
| class | BufferedRectWriterFillAdapter |
| class | BufferedVLineFiller |
| class | Circle |
| Outline circle. More... | |
| class | CircleBase |
| Base class for circles. More... | |
| class | Clear |
| Infinite transparent area. More... | |
| class | ClipMask |
| Binary clip mask using a packed bit buffer. More... | |
| class | ClipMaskFilter |
| Filtering device that applies a clip mask. More... | |
| class | ClippedStringViewLabel |
Like ClippedTextLabel, but does not own the text content. More... | |
| class | ClippedTextLabel |
| Single-line, single-color label with tight extents. More... | |
| class | Clipping |
| class | ClippingBufferedHLineFiller |
| class | ClippingBufferedPixelFiller |
| Buffered pixel filler with a clipping box. More... | |
| class | ClippingBufferedPixelWriter |
| Buffered pixel writer with a clipping box. More... | |
| class | ClippingBufferedRectFiller |
| class | ClippingBufferedRectWriter |
| class | ClippingBufferedVLineFiller |
| class | Color |
| ARGB8888 color stored as a 32-bit unsigned integer. More... | |
| class | ColorFilter |
| Color-only filter that transforms pixels before writing. More... | |
| class | ColorFilter< Erasure > |
Specialization for Erasure with more efficient operations. More... | |
| class | ColorGradient |
| Multi-point gradient specification. More... | |
| struct | ColorIo |
| struct | ColorIo< ColorMode, byte_order, std::enable_if_t< ColorTraits< ColorMode >::bytes_per_pixel==1 &&ColorTraits< ColorMode >::pixels_per_byte==1 > > |
| struct | ColorIo< ColorMode, byte_order, std::enable_if_t< ColorTraits< ColorMode >::bytes_per_pixel==2 > > |
| struct | ColorIo< ColorMode, byte_order, std::enable_if_t< ColorTraits< ColorMode >::bytes_per_pixel==3 &&ColorTraits< ColorMode >::pixels_per_byte==1 > > |
| struct | ColorIo< ColorMode, byte_order, std::enable_if_t< ColorTraits< ColorMode >::bytes_per_pixel==4 > > |
| struct | ColorReader |
| struct | ColorReader< ByteStream, ColorMode, pixel_order, byte_order, 1 > |
| struct | ColorReader< ByteStream, ColorMode, pixel_order, byte_order, 2 > |
| struct | ColorReader< ByteStream, ColorMode, pixel_order, byte_order, 3 > |
| struct | ColorReader< ByteStream, ColorMode, pixel_order, byte_order, 4 > |
| struct | ColorRectIo |
| struct | ColorRectIo< ColorMode, byte_order, pixel_order, std::enable_if_t< ColorTraits< ColorMode >::pixels_per_byte !=1 > > |
| struct | ColorRectIo< ColorMode, byte_order, pixel_order, std::enable_if_t< ColorTraits< ColorMode >::pixels_per_byte==1 > > |
| struct | ColorTraits |
| Traits for a color mode's storage characteristics. More... | |
| struct | ColorTraits< ColorMode, 1 > |
| Storage traits for 1-bit modes. More... | |
| struct | ColorTraits< ColorMode, 16 > |
| Storage traits for 16-bit modes. More... | |
| struct | ColorTraits< ColorMode, 2 > |
| Storage traits for 2-bit modes. More... | |
| struct | ColorTraits< ColorMode, 24 > |
| Storage traits for 24-bit modes. More... | |
| struct | ColorTraits< ColorMode, 32 > |
| Storage traits for 32-bit modes. More... | |
| struct | ColorTraits< ColorMode, 4 > |
| Storage traits for 4-bit modes. More... | |
| struct | ColorTraits< ColorMode, 8 > |
| Storage traits for 8-bit modes. More... | |
| class | ComboDevice |
| Base class for displays with integrated, pre-calibrated touch. More... | |
| class | Compactor |
| class | ConstDramPtr |
| class | ConstDramRaster |
| class | Display |
| Display facade that owns a display device and optional touch input. More... | |
| class | DisplayDevice |
| Base class for display device drivers. More... | |
| class | DisplayOutput |
| The abstraction for drawing to a display. More... | |
| class | DramRaster |
| class | Drawable |
| Interface for objects that can be drawn to an output device. More... | |
| class | DrawableRawStreamable |
| class | DrawingContext |
| Primary top-level interface for drawing to screens, off-screen buffers, or other devices. More... | |
| class | DummyTouch |
| class | Erasure |
| Filter functor that always returns the background color. More... | |
| class | Fill |
| Infinite single-color area. More... | |
| class | FilledCircle |
| Filled circle. More... | |
| class | FilledRect |
| Filled rectangle (rasterizable). More... | |
| class | FilledRectStream |
| class | FilledRoundRect |
| Filled rounded rectangle. More... | |
| class | FilledTriangle |
| class | Font |
| Abstract font interface. More... | |
| class | FontAdafruitFixed5x7 |
| Fixed-width 5x7 font (Adafruit classic). More... | |
| class | FontMetricReader |
| class | FontMetrics |
| Basic font metrics (ascent, descent, bounding box, and line spacing). More... | |
| class | FontProperties |
| Metadata describing a font's encoding and spacing behavior. More... | |
| struct | FpPoint |
| Floating-point point. More... | |
| class | FrontToBackWriter |
| Writer that ensures front-most pixels are written first. More... | |
| class | GlyphMetrics |
| Per-glyph metrics (bounding box and advance). More... | |
| class | GlyphPairIterator |
| class | GpioSetter |
| class | GrayAlpha8 |
| class | Grayscale4 |
| class | Grayscale8 |
| class | HAlign |
| Horizontal alignment. More... | |
| class | IdentityTransformation |
| Identity transformation. More... | |
| class | JpegDecoder |
| JPEG decoder (stateful, reusable). More... | |
| class | JpegFile |
| Drawable JPEG image backed by a file resource (non-Arduino). More... | |
| class | JpegImage |
| Drawable JPEG image backed by a multipass resource. More... | |
| class | Line |
| A straight line segment between two points. More... | |
| class | LinearGradient |
| Linear gradient (horizontal, vertical, or skewed). More... | |
| class | Monochrome |
| class | NoBacklit |
| class | Offscreen |
| Offscreen rasterizable that writes into a pixel buffer. More... | |
| class | OffscreenDevice |
In-memory DisplayDevice backed by a pixel buffer. More... | |
| struct | Offset |
| class | Opaqueness |
| Filter functor that scales alpha (0..127). More... | |
| class | Orientation |
| Represents the orientation of a display device. More... | |
| class | Overlay |
| Filter functor that alpha-blends a fixed overlay color. More... | |
| class | Palette |
Palette storage for IndexedN color modes. More... | |
| class | PauseOutput |
| Temporarily pauses the output transport while a DrawingContext is active. More... | |
| class | PixelStream |
| Stream of pixels in row-major order. More... | |
| class | PngDecoder |
| PNG decoder (stateful, reusable). More... | |
| class | PngFile |
| Drawable PNG image backed by a file resource (non-Arduino). More... | |
| class | PngImage |
| Drawable PNG image backed by a multipass resource. More... | |
| struct | Point |
| Integer point. More... | |
| class | ProgMemPtr |
| class | ProgMemRaster |
| class | ProjectiveTransformation |
| General projective transformation (2D homography). More... | |
| class | RadialGradient |
| Radial gradient based on distance from the center. More... | |
| class | RadialGradientSq |
| Radial gradient using squared distance (faster, area-uniform). More... | |
| class | Raster |
| Non-owning raster view over a pixel buffer. More... | |
| class | Rasterizable |
| Drawable that can provide a color for any point within its extents. More... | |
| class | RasterizableStack |
| Multi-layer stack of rasterizables composited in order. More... | |
| class | RasterPixelStream |
| Pixel stream that reads from a raw byte resource. More... | |
| class | RasterPixelStream< Resource, ColorMode, pixel_order, byte_order, 1 > |
| Specialization for color modes with at least one byte per pixel. More... | |
| struct | RawColorInterpolator |
| Default raw color interpolator (specialized in color_modes.h). More... | |
| struct | RawColorInterpolator< Alpha4 > |
| struct | RawColorInterpolator< Alpha8 > |
| struct | RawColorInterpolator< Grayscale4 > |
| struct | RawColorInterpolator< Grayscale8 > |
| struct | RawFullByteBlender |
| struct | RawFullByteBlender< Alpha8, BlendingMode::kSourceOver, byte_order > |
| struct | RawFullByteBlender< ColorMode, BlendingMode::kDestination, byte_order > |
| struct | RawFullByteBlender< ColorMode, BlendingMode::kSource, byte_order > |
| struct | RawFullByteBlender< Grayscale8, BlendingMode::kSourceOver, byte_order > |
| struct | RawFullByteBlender< Grayscale8, BlendingMode::kSourceOverOpaque, byte_order > |
| struct | RawFullByteBlender< Rgb565, BlendingMode::kSourceOver, byte_order > |
| struct | RawFullByteBlender< Rgb565WithTransparency, BlendingMode::kSourceOver, byte_order > |
| class | RawStreamableFilledRect |
| struct | RawSubByteBlender |
| struct | RawSubByteBlender< Alpha4, BlendingMode::kSourceOver > |
| struct | RawSubByteBlender< ColorMode, BlendingMode::kDestination > |
| struct | RawSubByteBlender< ColorMode, BlendingMode::kSource > |
| struct | RawSubByteBlender< Grayscale4, BlendingMode::kSourceOver > |
| struct | RawSubByteBlender< Grayscale4, BlendingMode::kSourceOverOpaque > |
| struct | RawSubByteBlender< Monochrome, BlendingMode::kSourceOver > |
| class | Rect |
| Outline rectangle. More... | |
| class | RectBase |
| Base class for axis-aligned rectangle shapes. More... | |
| class | RectUnion |
| Union of rectangles used as an exclusion mask. More... | |
| class | RectUnionFilter |
| Filtering device that excludes a union of rectangles. More... | |
| class | ResumeOutput |
| Resumes a paused output transaction. More... | |
| class | Rgb565 |
| 16-bit RGB565 color mode (opaque). More... | |
| class | Rgb565WithTransparency |
| RGB565 with a reserved value representing transparency. More... | |
| class | Rgb888 |
| 24-bit RGB color mode (opaque). More... | |
| class | Rgba8888 |
| 32-bit RGBA color mode. More... | |
| class | Rotation |
| Rotation by angle in radians (clockwise). More... | |
| class | RoundRect |
| Outline rounded rectangle. More... | |
| class | RoundRectBase |
| Base class for rounded rectangles. More... | |
| class | RoundRectShadow |
| Rasterizable drop shadow for rounded rectangles. More... | |
| class | Scaling |
| Scaling by (sx, sy). More... | |
| class | SimpleRasterizable |
Wrap a function object into a Rasterizable. More... | |
| class | SimpleRawStreamable |
| class | SimpleStreamable |
| Convenience wrapper for images backed by a byte stream. More... | |
| class | SimpleTiledRasterizable |
| "Infinite" rasterizable background by tiling a finite raster. More... | |
| class | SmoothFont |
| Anti-aliased font implementation based on PROGMEM data. More... | |
| class | SmoothFontV2 |
| Smooth font v2 with split cmap and glyph metrics format. More... | |
| class | SmoothShape |
| Smooth (anti-aliased) shape rasterizable. More... | |
| class | SpiReadWriteTransaction |
| struct | SpiSettings |
| class | SpiTransport |
| class | Streamable |
| Drawable that can provide a sequential pixel stream. More... | |
| class | StreamableStack |
| Multi-layer stack of streamables composited in order. More... | |
| class | StringViewLabel |
Like TextLabel, but does not own the text content. More... | |
| struct | SubByteColorIo |
| struct | SubByteColorIo< ColorMode, ColorPixelOrder::kLsbFirst, 2 > |
| struct | SubByteColorIo< ColorMode, ColorPixelOrder::kLsbFirst, 4 > |
| struct | SubByteColorIo< ColorMode, ColorPixelOrder::kLsbFirst, 8 > |
| struct | SubByteColorIo< ColorMode, ColorPixelOrder::kMsbFirst, 2 > |
| struct | SubByteColorIo< ColorMode, ColorPixelOrder::kMsbFirst, 4 > |
| struct | SubByteColorIo< ColorMode, ColorPixelOrder::kMsbFirst, 8 > |
| class | Surface |
| Low-level handle used to draw to an underlying device. More... | |
| class | TextLabel |
| Single-line, single-color text label. More... | |
| class | Tile |
| Rectangular drawable with background and aligned interior. More... | |
| class | TileOf |
| Tile with embedded interior object. More... | |
| class | TouchCalibration |
| Touch calibration parameters (bounds + orientation). More... | |
| class | TouchDevice |
| Touch controller interface. More... | |
| class | TouchDisplay |
| Wrapper providing calibrated touch input for a display device. More... | |
| class | TouchFt6x36 |
| class | TouchGt911 |
| struct | TouchPoint |
| A single touch point returned by a touch controller. More... | |
| struct | TouchResult |
| Metadata for a touch sampling result. More... | |
| class | TouchXpt2046 |
| class | Transformation |
| Geometric transformation: swap, scale, translate, rotate, clip. More... | |
| class | TransformedDisplayOutput |
Display output wrapper that applies a Transformation. More... | |
| class | TransformedDrawable |
Drawable wrapper that applies a Transformation. More... | |
| class | TransformedRaster |
| class | Translation |
| Translation by (dx, dy). More... | |
| class | Triangle |
| class | TriangleBase |
| class | VAlign |
| Vertical alignment. More... | |
| class | XBitmap |
| Monochrome XBitmap image (rows rounded to 8 pixels). More... | |
Typedefs | |
| using | Indexed1 = internal::Indexed< 1 > |
| using | Indexed2 = internal::Indexed< 2 > |
| using | Indexed4 = internal::Indexed< 4 > |
| using | Indexed8 = internal::Indexed< 8 > |
| template<typename ColorMode > | |
| using | ColorStorageType = typename ColorTraits< ColorMode >::storage_type |
| Convenience alias for the raw storage type of a color mode. | |
| using | PixelWriter = ClippingBufferedPixelWriter |
| Default pixel writer type (with clipping). | |
| template<typename Resource > | |
| using | StreamType = decltype(std::declval< Resource >().iterator()) |
| Stream type produced by a resource iterable. | |
| template<typename ColorMode > | |
| using | DramRasterBE = DramRaster< ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian > |
| template<typename ColorMode > | |
| using | DramRasterLE = DramRaster< ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kLittleEndian > |
| template<typename ColorMode > | |
| using | ConstDramRasterBE = ConstDramRaster< ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian > |
| template<typename ColorMode > | |
| using | ConstDramRasterLE = ConstDramRaster< ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kLittleEndian > |
| template<typename ColorMode > | |
| using | ProgMemRasterBE = ProgMemRaster< ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian > |
| template<typename ColorMode > | |
| using | ProgMemRasterLE = ProgMemRaster< ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kLittleEndian > |
| using | StringView = roo::string_view |
DEPRECATED: use roo::string_view directly. | |
| template<typename Transport > | |
| using | Ili9341 = AddrWindowDevice< ili9341::Ili9341Target< Transport > > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = ili9341::DefaultSpiSettings> | |
| using | Ili9341spi = Ili9341< SpiTransport< pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio > > |
| template<typename Transport > | |
| using | Ili9486 = AddrWindowDevice< ili9486::Ili9486Target< Transport > > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = ili9486::DefaultSpiSettings> | |
| using | Ili9486spi = Ili9486< SpiTransport< pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio > > |
| template<typename Transport > | |
| using | Ili9488 = AddrWindowDevice< ili9488::Ili9488Target< Transport > > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = ili9488::DefaultSpiSettings> | |
| using | Ili9488spi = Ili9488< SpiTransport< pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio > > |
| template<typename Transport > | |
| using | Ssd1327 = BufferedAddrWindowDevice< ssd1327::Ssd1327Target< Transport > > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = ssd1327::DefaultSpiSettings> | |
| using | Ssd1327spi = Ssd1327< SpiTransport< pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio > > |
| template<typename Transport , int16_t display_width, int16_t display_height, int16_t lpad = 0, int16_t tpad = 0, int16_t rpad = lpad, int16_t bpad = tpad, bool inverted = false> | |
| using | St7735_Generic = AddrWindowDevice< st77xx::St77xxTarget< Transport, st7735::Init, display_width, display_height, lpad, tpad, rpad, bpad, inverted > > |
| template<int pinCS, int pinDC, int pinRST, int16_t display_width, int16_t display_height, int16_t lpad = 0, int16_t tpad = 0, int16_t rpad = lpad, int16_t bpad = tpad, bool inverted = false, typename Spi = DefaultSpi, typename SpiSettings = st7735::DefaultSpiSettings, typename Gpio = DefaultGpio> | |
| using | St7735spi_Generic = St7735_Generic< SpiTransport< pinCS, pinDC, pinRST, SpiSettings, Spi, Gpio >, display_width, display_height, lpad, tpad, rpad, bpad, inverted > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7735::DefaultSpiSettings> | |
| using | St7735spi_128x160 = St7735spi_Generic< pinCS, pinDC, pinRST, 128, 160, 2, 1, 2, 1, false, Spi, SpiSettings > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7735::DefaultSpiSettings> | |
| using | St7735spi_80x160_inv = St7735spi_Generic< pinCS, pinDC, pinRST, 80, 160, 26, 1, 26, 1, true, Spi, SpiSettings > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7735::DefaultSpiSettings> | |
| using | St7735spi_128x128 = St7735spi_Generic< pinCS, pinDC, pinRST, 128, 128, 2, 1, 2, 3, false, Spi, SpiSettings > |
| template<typename Transport , int16_t display_width, int16_t display_height, int16_t lpad = 0, int16_t tpad = 0, int16_t rpad = lpad, int16_t bpad = tpad> | |
| using | St7789_Generic = AddrWindowDevice< st77xx::St77xxTarget< Transport, st7789::Init, display_width, display_height, lpad, tpad, rpad, bpad, true > > |
| template<int pinCS, int pinDC, int pinRST, int16_t display_width, int16_t display_height, int16_t lpad = 0, int16_t tpad = 0, int16_t rpad = lpad, int16_t bpad = tpad, typename Spi = DefaultSpi, typename SpiSettings = st7789::DefaultSpiSettings, typename Gpio = DefaultGpio> | |
| using | St7789spi_Generic = St7789_Generic< SpiTransport< pinCS, pinDC, pinRST, SpiSettings, Spi, Gpio >, display_width, display_height, lpad, tpad, rpad, bpad > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7789::DefaultSpiSettings> | |
| using | St7789spi_240x240 = St7789spi_Generic< pinCS, pinDC, pinRST, 240, 240, 0, 0, 0, 80, Spi, SpiSettings, DefaultGpio > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7789::DefaultSpiSettings, typename Gpio = DefaultGpio> | |
| using | St7789spi_240x280 = St7789spi_Generic< pinCS, pinDC, pinRST, 240, 280, 0, 20, 0, 0, Spi, SpiSettings, Gpio > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7789::DefaultSpiSettings, typename Gpio = DefaultGpio> | |
| using | St7789spi_172x320 = St7789spi_Generic< pinCS, pinDC, pinRST, 172, 320, 34, 0, 34, 0, Spi, SpiSettings, DefaultGpio > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7789::DefaultSpiSettings, typename Gpio = DefaultGpio> | |
| using | St7789spi_135x240 = St7789spi_Generic< pinCS, pinDC, pinRST, 135, 240, 0, 40, 53, 0, Spi, SpiSettings, DefaultGpio > |
| template<typename Transport > | |
| using | St7796s = AddrWindowDevice< st77xx::St77xxTarget< Transport, st7796s::Init, 320, 480, 0, 0, 0, 0, false, true, true > > |
| template<int pinCS, int pinDC, int pinRST, typename Spi = DefaultSpi, typename SpiSettings = st7796s::DefaultSpiSettings, typename Gpio = DefaultGpio> | |
| using | St7796sspi = St7796s< SpiTransport< pinCS, pinDC, pinRST, SpiSettings, Spi, Gpio > > |
| typedef SpiSettings< kSpiTouchFrequency, kSpiMsbFirst, kSpiMode0 > | TouchXpt2046SpiSettings |
| using | BackgroundFilter = BlendingFilter< BlendOp< BlendingMode::kSourceOver > > |
| Filtering device that blends with a rasterizable background. | |
| typedef ColorFilter< Opaqueness > | TranslucencyFilter |
| Filter that adds translucency (opaqueness in [0, 128]). | |
| typedef ColorFilter< Overlay > | OverlayFilter |
| Filter that super-imposes a (usually semi-transparent) overlay color. | |
| typedef ColorFilter< internal::Disablement > | DisablementFilter |
| Filter that applies a disabled/gray appearance. | |
| using | ForegroundFilter = BlendingFilter< BlendOp< BlendingMode::kDestinationOver > > |
| Filtering device that blends with a rasterizable foreground. | |
| using | DefaultGpio = esp32::Gpio |
| template<typename ColorMode , typename Resource = ProgMemPtr> | |
| using | RleImage = SimpleStreamable< Resource, ColorMode, internal::RleStreamUniform< Resource, ColorMode > > |
| Run-length-encoded image for color modes with >= 8 bits per pixel. | |
| template<typename ColorMode , typename Resource = ProgMemPtr> | |
| using | RleImage4bppxBiased = SimpleStreamable< Resource, ColorMode, internal::RleStream4bppxBiased< Resource, ColorMode > > |
| RLE 4-bit image with bias for extreme values (0x0/0xF). | |
| using | Pictogram = RleImage4bppxBiased< Alpha4 > |
| Convenience alias for small anti-aliased monochrome artwork. | |
| template<typename Resource , typename ColorMode , ColorPixelOrder pixel_order = ColorPixelOrder::kMsbFirst, ByteOrder byte_order = roo_io::kBigEndian> | |
| using | SimpleImage = SimpleStreamable< Resource, ColorMode, RasterPixelStream< Resource, ColorMode, pixel_order, byte_order > > |
| Uncompressed image. | |
| template<typename Resource , ByteOrder byte_order = roo_io::kBigEndian> | |
| using | SimpleImageArgb8888 = SimpleImage< Resource, Argb8888, ColorPixelOrder::kMsbFirst, byte_order > |
| Uncompressed ARGB8888 image. | |
| template<typename Resource , ByteOrder byte_order = roo_io::kBigEndian> | |
| using | SimpleImageArgb6666 = SimpleImage< Resource, Argb6666, ColorPixelOrder::kMsbFirst, byte_order > |
| Uncompressed ARGB6666 image. | |
| template<typename Resource , ByteOrder byte_order = roo_io::kBigEndian> | |
| using | SimpleImageArgb4444 = SimpleImage< Resource, Argb4444, ColorPixelOrder::kMsbFirst, byte_order > |
| Uncompressed ARGB4444 image. | |
| template<typename Resource , ByteOrder byte_order = roo_io::kBigEndian> | |
| using | SimpleImageRgb565 = SimpleImage< Resource, Rgb565, ColorPixelOrder::kMsbFirst, byte_order > |
| Uncompressed RGB565 image. | |
| template<typename Resource , ByteOrder byte_order = roo_io::kBigEndian> | |
| using | SimpleImageRgb565WithTransparency = SimpleImage< Resource, Rgb565WithTransparency, ColorPixelOrder::kMsbFirst, byte_order > |
| Uncompressed RGB565 image with reserved transparency. | |
| template<typename Resource > | |
| using | SimpleImageGrayscale8 = SimpleImage< Resource, Grayscale8, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian > |
| Uncompressed Grayscale8 image. | |
| template<typename Resource > | |
| using | SimpleImageAlpha8 = SimpleImage< Resource, Alpha8, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian > |
| Uncompressed Alpha8 image. | |
| template<typename Resource , ColorPixelOrder pixel_order = ColorPixelOrder::kMsbFirst> | |
| using | SimpleImageGrayscale4 = SimpleImage< Resource, Grayscale4, pixel_order, roo_io::kBigEndian > |
| Uncompressed Grayscale4 image. | |
| template<typename Resource , ColorPixelOrder pixel_order = ColorPixelOrder::kMsbFirst> | |
| using | SimpleImageAlpha4 = SimpleImage< Resource, Alpha4, pixel_order, roo_io::kBigEndian > |
| Uncompressed Alpha4 image. | |
| template<typename Resource , ColorPixelOrder pixel_order = ColorPixelOrder::kMsbFirst> | |
| using | SimpleImageMonochrome = SimpleImage< Resource, Monochrome, pixel_order, roo_io::kBigEndian > |
| Uncompressed monochrome image. | |
| using | ByteOrder = roo_io::ByteOrder |
| template<typename RawStreamable > | |
| using | RawStreamTypeOf = typename decltype(std::declval< const RawStreamable >() .createRawStream())::element_type |
| template<typename RawStreamable > | |
| using | NativelyClippedRawStreamTypeOf = typename decltype(std::declval< const RawStreamable >() .CreateClippedRawStream(std::declval< Box >()))::element_type |
| template<typename RawStreamable > | |
| using | ColorModeOf = decltype(std::declval< const RawStreamable >().color_mode()) |
| template<typename RawStreamable > | |
| using | ClipperedRawStreamTypeOf = typename decltype(internal::Clipper< RawStreamable >().operator()(std::declval< RawStreamable >(), std::declval< Box >()))::element_type |
| using | FileResource = ::roo_io::ExtendedArduinoFileIterable |
Enumerations | |
| enum class | BlendingMode { kSource , kSourceOver , kSourceIn , kSourceAtop , kDestination , kDestinationOver , kDestinationIn , kDestinationAtop , kClear , kSourceOut , kDestinationOut , kXor , kSourceOverOpaque , kDestinationOverOpaque } |
| Porter-Duff style blending modes. More... | |
| enum class | TransparencyMode { kNone , kCrude , kFull } |
| Transparency information for a stream or color mode. More... | |
| enum class | ColorPixelOrder { kMsbFirst , kLsbFirst } |
| enum class | FillMode { kExtents = 0 , kVisible = 1 } |
Specifies whether a Drawable should fill its entire extents box, including fully transparent pixels. More... | |
| enum | ConversionResult { UNTOUCHED = 0 , TOUCHED = 1 , UNSETTLED = 2 } |
| enum class | FontLayout { kHorizontal , kVertical } |
| Glyph layout direction. More... | |
| enum | SpiDataMode { kSpiMode0 = 0 , kSpiMode1 = 1 , kSpiMode2 = 2 , kSpiMode3 = 3 } |
| enum | SpiBitOrder { kSpiLsbFirst = 0 , kSpiMsbFirst = 1 } |
| enum | EndingStyle { ENDING_ROUNDED = 0 , ENDING_FLAT = 1 } |
| Line ending style for smooth shapes. More... | |
| enum | Anchor { ANCHOR_ORIGIN = 0 , ANCHOR_MIN = 1 , ANCHOR_MID = 2 , ANCHOR_MAX = 3 } |
| Anchor point used for alignment. More... | |
Defines 140 opaque HTML named colors.
Internal image stream implementations.
Image helpers and type aliases.
Support for drawing to in-memory buffers, using various color modes.
Utilities for buffering pixel writes before sending to device drivers.
Defines 140 opaque HTML named colors, adjusted for RGB565.
See https://www.w3schools.com/colors/colors_groups.asp.
Each color round-trips to itself when truncated to RGB565 and converted back to ARGB8888.
Buffering has a large performance impact:
Utility classes cover common patterns:
Images are drawables that render a rectangular area based on data from an immutable data source. Image classes are templated on Resource, which specifies the input source (e.g., DRAM, flash, SD card). Resource helpers live in the io/ directory, but you can define your own.
Each image alias recognizes a specific data format (e.g., raster bitmap or RLE-encoded data). Every image is a Drawable; many are Streamable, and some may be Rasterizable. Streamable and Rasterizable images can be alpha-blended without full buffering. Common use: semi-transparent images over solid backgrounds. Note: for uncompressed images in native color modes, use Raster. How to implement a new Streamable image class: 1) Implement a stream type with Color next() and skip(int). 2) For full-stream images backed by memory, typedef SimpleStreamable<YourStreamType>. 3) For clipped sub-rectangles, use Clipping<SimpleStreamable<...>>. 4) For custom constructors, inherit and delegate (see XBitmap).
Use the public APIs in image.h instead of these classes directly.
Filtering device that blends with a rasterizable background.
Definition at line 9 of file background.h.
| using roo_display::ByteOrder = typedef roo_io::ByteOrder |
Definition at line 7 of file byte_order.h.
| using roo_display::ClipperedRawStreamTypeOf = typedef typename decltype(internal::Clipper<RawStreamable>().operator()( std::declval<RawStreamable>(), std::declval<Box>()))::element_type |
Definition at line 227 of file raw_streamable.h.
| using roo_display::ColorModeOf = typedef decltype(std::declval<const RawStreamable>().color_mode()) |
Definition at line 37 of file raw_streamable.h.
| using roo_display::ColorStorageType = typedef typename ColorTraits<ColorMode>::storage_type |
| using roo_display::ConstDramRasterBE = typedef ConstDramRaster<ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian> |
| using roo_display::ConstDramRasterLE = typedef ConstDramRaster<ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kLittleEndian> |
| typedef ColorFilter<internal::Disablement> roo_display::DisablementFilter |
Filter that applies a disabled/gray appearance.
Definition at line 233 of file color_filter.h.
| using roo_display::DramRasterBE = typedef DramRaster<ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian> |
| using roo_display::DramRasterLE = typedef DramRaster<ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kLittleEndian> |
| using roo_display::FileResource = typedef ::roo_io::ExtendedArduinoFileIterable |
| using roo_display::ForegroundFilter = typedef BlendingFilter<BlendOp<BlendingMode::kDestinationOver> > |
Filtering device that blends with a rasterizable foreground.
Definition at line 9 of file foreground.h.
| using roo_display::Ili9341spi = typedef Ili9341<SpiTransport<pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio> > |
| using roo_display::Ili9486spi = typedef Ili9486<SpiTransport<pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio> > |
| using roo_display::Ili9488spi = typedef Ili9488<SpiTransport<pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio> > |
| using roo_display::Indexed1 = typedef internal::Indexed<1> |
Definition at line 196 of file color_mode_indexed.h.
| using roo_display::Indexed2 = typedef internal::Indexed<2> |
Definition at line 197 of file color_mode_indexed.h.
| using roo_display::Indexed4 = typedef internal::Indexed<4> |
Definition at line 198 of file color_mode_indexed.h.
| using roo_display::Indexed8 = typedef internal::Indexed<8> |
Definition at line 199 of file color_mode_indexed.h.
| using roo_display::NativelyClippedRawStreamTypeOf = typedef typename decltype(std::declval<const RawStreamable>() .CreateClippedRawStream( std::declval<Box>()))::element_type |
Definition at line 31 of file raw_streamable.h.
Filter that super-imposes a (usually semi-transparent) overlay color.
Definition at line 217 of file color_filter.h.
Default pixel writer type (with clipping).
Definition at line 123 of file buffered_drawing.h.
| using roo_display::ProgMemRasterBE = typedef ProgMemRaster<ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian> |
| using roo_display::ProgMemRasterLE = typedef ProgMemRaster<ColorMode, ColorPixelOrder::kMsbFirst, roo_io::kLittleEndian> |
| using roo_display::RawStreamTypeOf = typedef typename decltype(std::declval<const RawStreamable>() .createRawStream())::element_type |
Definition at line 27 of file raw_streamable.h.
| using roo_display::RleImage = typedef SimpleStreamable<Resource, ColorMode, internal::RleStreamUniform<Resource, ColorMode> > |
| using roo_display::RleImage4bppxBiased = typedef SimpleStreamable<Resource, ColorMode, internal::RleStream4bppxBiased<Resource, ColorMode> > |
| using roo_display::SimpleImage = typedef SimpleStreamable< Resource, ColorMode, RasterPixelStream<Resource, ColorMode, pixel_order, byte_order> > |
| using roo_display::SimpleImageAlpha4 = typedef SimpleImage<Resource, Alpha4, pixel_order, roo_io::kBigEndian> |
| using roo_display::SimpleImageAlpha8 = typedef SimpleImage<Resource, Alpha8, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian> |
| using roo_display::SimpleImageGrayscale4 = typedef SimpleImage<Resource, Grayscale4, pixel_order, roo_io::kBigEndian> |
Uncompressed Grayscale4 image.
| using roo_display::SimpleImageGrayscale8 = typedef SimpleImage<Resource, Grayscale8, ColorPixelOrder::kMsbFirst, roo_io::kBigEndian> |
Uncompressed Grayscale8 image.
| using roo_display::SimpleImageMonochrome = typedef SimpleImage<Resource, Monochrome, pixel_order, roo_io::kBigEndian> |
| using roo_display::Ssd1327spi = typedef Ssd1327<SpiTransport<pinCS, pinDC, pinRST, SpiSettings, Spi, DefaultGpio> > |
| using roo_display::St7735_Generic = typedef AddrWindowDevice< st77xx::St77xxTarget<Transport, st7735::Init, display_width, display_height, lpad, tpad, rpad, bpad, inverted> > |
| using roo_display::St7735spi_128x128 = typedef St7735spi_Generic<pinCS, pinDC, pinRST, 128, 128, 2, 1, 2, 3, false, Spi, SpiSettings> |
| using roo_display::St7735spi_128x160 = typedef St7735spi_Generic<pinCS, pinDC, pinRST, 128, 160, 2, 1, 2, 1, false, Spi, SpiSettings> |
| using roo_display::St7735spi_80x160_inv = typedef St7735spi_Generic<pinCS, pinDC, pinRST, 80, 160, 26, 1, 26, 1, true, Spi, SpiSettings> |
| using roo_display::St7735spi_Generic = typedef St7735_Generic<SpiTransport<pinCS, pinDC, pinRST, SpiSettings, Spi, Gpio>, display_width, display_height, lpad, tpad, rpad, bpad, inverted> |
| using roo_display::St7789_Generic = typedef AddrWindowDevice< st77xx::St77xxTarget<Transport, st7789::Init, display_width, display_height, lpad, tpad, rpad, bpad, true> > |
| using roo_display::St7789spi_135x240 = typedef St7789spi_Generic<pinCS, pinDC, pinRST, 135, 240, 0, 40, 53, 0, Spi, SpiSettings, DefaultGpio> |
| using roo_display::St7789spi_172x320 = typedef St7789spi_Generic<pinCS, pinDC, pinRST, 172, 320, 34, 0, 34, 0, Spi, SpiSettings, DefaultGpio> |
| using roo_display::St7789spi_240x240 = typedef St7789spi_Generic<pinCS, pinDC, pinRST, 240, 240, 0, 0, 0, 80, Spi, SpiSettings, DefaultGpio> |
| using roo_display::St7789spi_240x280 = typedef St7789spi_Generic<pinCS, pinDC, pinRST, 240, 280, 0, 20, 0, 0, Spi, SpiSettings, Gpio> |
| using roo_display::St7789spi_Generic = typedef St7789_Generic<SpiTransport<pinCS, pinDC, pinRST, SpiSettings, Spi, Gpio>, display_width, display_height, lpad, tpad, rpad, bpad> |
| using roo_display::St7796s = typedef AddrWindowDevice<st77xx::St77xxTarget<Transport, st7796s::Init, 320, 480, 0, 0, 0, 0, false, true, true> > |
| using roo_display::St7796sspi = typedef St7796s<SpiTransport<pinCS, pinDC, pinRST, SpiSettings, Spi, Gpio> > |
| using roo_display::StringView = typedef roo::string_view |
| typedef SpiSettings<kSpiTouchFrequency, kSpiMsbFirst, kSpiMode0> roo_display::TouchXpt2046SpiSettings |
Definition at line 14 of file touch_xpt2046.h.
Filter that adds translucency (opaqueness in [0, 128]).
Definition at line 214 of file color_filter.h.
Anchor point used for alignment.
| Enumerator | |
|---|---|
| ANCHOR_ORIGIN | |
| ANCHOR_MIN | |
| ANCHOR_MID | |
| ANCHOR_MAX | |
Definition at line 10 of file alignment.h.
|
strong |
Porter-Duff style blending modes.
Definition at line 17 of file blending.h.
| Enumerator | |
|---|---|
| kMsbFirst | |
| kLsbFirst | |
Definition at line 10 of file pixel_order.h.
| Enumerator | |
|---|---|
| UNTOUCHED | |
| TOUCHED | |
| UNSETTLED | |
Definition at line 97 of file touch_xpt2046.h.
|
strong |
Specifies whether a Drawable should fill its entire extents box, including fully transparent pixels.
| Enumerator | |
|---|---|
| kExtents | Fill the entire extents box (possibly with fully transparent pixels). Useful when drawing over a synthetic background and you want previous content replaced with that background. |
| kVisible | Fully transparent pixels do not need to be filled. |
Definition at line 15 of file drawable.h.
|
strong |
| Enumerator | |
|---|---|
| kSpiLsbFirst | |
| kSpiMsbFirst | |
Definition at line 7 of file spi_settings.h.
| Enumerator | |
|---|---|
| kSpiMode0 | |
| kSpiMode1 | |
| kSpiMode2 | |
| kSpiMode3 | |
Definition at line 5 of file spi_settings.h.
Transparency information for a stream or color mode.
| Enumerator | |
|---|---|
| kNone | All colors are fully opaque. |
| kCrude | Colors are either fully opaque or fully transparent. |
| kFull | Colors may include partial transparency (alpha channel). |
Definition at line 103 of file blending.h.
Definition at line 598 of file blending.h.
Referenced by roo_display::internal::TileBase::drawInternal(), roo_display::BlendingFilter< Blender >::fill(), roo_display::internal::fillPaintRectOverBg(), roo_display::BlendingFilter< Blender >::fillPixels(), roo_display::internal::UnionStream< Bg, Fg >::next(), roo_display::Opaqueness::operator()(), roo_display::Overlay::operator()(), roo_display::internal::RectFillerRectangle< RawPixelStream >::operator()(), roo_display::internal::RectFillerVisible< RawPixelStream >::operator()(), roo_display::BlendingFilter< Blender >::write(), roo_display::BlendingFilter< Blender >::writePixels(), and roo_display::internal::writeRectVisibleOverBg().
Definition at line 465 of file blending.h.
Referenced by roo_display::internal::fillPaintRectOverOpaqueBg(), roo_display::internal::RectFillerRectangle< RawPixelStream >::operator()(), roo_display::RawFullByteBlender< Rgb565, BlendingMode::kSourceOver, byte_order >::operator()(), roo_display::RawFullByteBlender< Rgb565WithTransparency, BlendingMode::kSourceOver, byte_order >::operator()(), roo_display::ili9488::Rgb666h::rawAlphaBlend(), and roo_display::internal::writeRectVisibleOverOpaqueBg().
|
inline |
Definition at line 554 of file blending.h.
Referenced by roo_display::RasterizableStack::readColorRect().
|
inline |
Definition at line 561 of file blending.h.
References roo_display::internal::BlenderSpecialization().
Referenced by roo_display::internal::BufferingStream::blend(), and roo_display::RasterizableStack::readColorRect().
|
inline |
Definition at line 578 of file blending.h.
References roo_display::internal::BlenderSpecialization().
Referenced by roo_display::RasterizableStack::readColors().
|
inline |
Definition at line 588 of file blending.h.
References roo_display::internal::BlenderSpecialization().
|
inline |
Definition at line 569 of file blending.h.
References roo_display::internal::BlenderSpecialization().
Referenced by roo_display::RasterizableStack::readColorRect().
|
inline |
Definition at line 717 of file blending.h.
References roo_display::internal::BlenderSpecialization(), and blending_mode.
|
inline |
Definition at line 708 of file blending.h.
References roo_display::internal::BlenderSpecialization(), and blending_mode.
|
inline |
Definition at line 738 of file blending.h.
References roo_display::internal::BlenderSpecialization(), and blending_mode.
|
inline |
Definition at line 728 of file blending.h.
References roo_display::internal::BlenderSpecialization(), and blending_mode.
Referenced by roo_display::internal::GenericWriter< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::operator()(), roo_display::internal::GenericFiller< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::operator()(), roo_display::internal::GenericWriter< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::operator()(), and roo_display::internal::GenericFiller< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::operator()().
| void roo_display::async_blit | ( | const roo::byte * | src_ptr, |
| size_t | src_stride, | ||
| roo::byte * | dst_ptr, | ||
| size_t | dst_stride, | ||
| size_t | width, | ||
| size_t | height | ||
| ) |
Definition at line 17 of file async_blit.cpp.
Referenced by roo_display::OffscreenDevice< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::drawDirectRectAsync().
| void roo_display::async_blit_await | ( | ) |
Definition at line 15 of file async_blit.cpp.
| void roo_display::async_blit_deinit | ( | ) |
Definition at line 13 of file async_blit.cpp.
| void roo_display::async_blit_init | ( | ) |
Definition at line 11 of file async_blit.cpp.
| void roo_display::blit | ( | const roo::byte * | src_ptr, |
| size_t | src_stride, | ||
| roo::byte * | dst_ptr, | ||
| size_t | dst_stride, | ||
| size_t | width, | ||
| size_t | height | ||
| ) |
Definition at line 15 of file blit.cpp.
Referenced by roo_display::OffscreenDevice< ColorMode, pixel_order, byte_order, pixels_per_byte, storage_type >::drawDirectRect().
| Clipping< RawStreamable > roo_display::Clipped | ( | const Box & | clip_box, |
| RawStreamable | streamable | ||
| ) |
Definition at line 443 of file raw_streamable.h.
| std::unique_ptr< ClipperedRawStreamTypeOf< RawStreamable > > roo_display::CreateClippedRawStreamFor | ( | const RawStreamable & | streamable, |
| const Box & | clip_box | ||
| ) |
| void roo_display::drawAdafruitFixed5x7Glyph | ( | const Surface & | s, |
| char32_t | code, | ||
| Color | color, | ||
| bool | whitespace | ||
| ) |
Definition at line 132 of file font_adafruit_fixed_5x7.cpp.
References advance, ascent, color, descent, kVisible, linegap, pgm_read_byte, roo_display::BufferedRectWriter::writePixel(), and writer.
Referenced by roo_display::FontAdafruitFixed5x7::drawGlyph(), and roo_display::FontAdafruitFixed5x7::drawHorizontalString().
| void roo_display::drawEllipse | ( | PixelFiller * | drawer, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int16_t | rx, | ||
| int16_t | ry | ||
| ) |
| void roo_display::drawHLine | ( | DisplayOutput & | device, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int16_t | x1, | ||
| Color | color, | ||
| const Box & | clip_box, | ||
| BlendingMode | mode | ||
| ) |
Definition at line 50 of file basic.cpp.
References color, roo_display::DisplayOutput::fillRects(), roo_display::Box::xMax(), roo_display::Box::xMin(), roo_display::Box::yMax(), and roo_display::Box::yMin().
| void roo_display::drawNonSteepLine | ( | HLineFiller * | drawer, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int16_t | x1, | ||
| int16_t | y1, | ||
| bool | flip_diag | ||
| ) |
| void roo_display::drawRoundRect | ( | DisplayOutput & | output, |
| const Box & | bbox, | ||
| int16_t | radius, | ||
| const Box & | clip_box, | ||
| Color | color, | ||
| BlendingMode | mode | ||
| ) |
Definition at line 296 of file basic.cpp.
References color, roo_display::Box::contains(), drawRoundRectTmpl(), and roo_display::Box::Intersect().
| void roo_display::drawRoundRectTmpl | ( | RectFiller & | filler, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int | x1, | ||
| int | y1, | ||
| int16_t | r | ||
| ) |
| void roo_display::drawSteepLine | ( | VLineFiller * | drawer, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int16_t | x1, | ||
| int16_t | y1, | ||
| bool | flip_diag | ||
| ) |
| void roo_display::drawVLine | ( | DisplayOutput & | device, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int16_t | y1, | ||
| Color | color, | ||
| const Box & | clip_box, | ||
| BlendingMode | mode | ||
| ) |
Definition at line 63 of file basic.cpp.
References color, roo_display::DisplayOutput::fillRects(), roo_display::Box::xMax(), roo_display::Box::xMin(), roo_display::Box::yMax(), and roo_display::Box::yMin().
Fill an array with a single color.
Definition at line 109 of file color.h.
References color.
Referenced by roo_display::FilledRectStream::Read(), roo_display::LinearGradient::readColorRect(), roo_display::RasterizableStack::readColorRect(), roo_display::Fill::readColors(), roo_display::Clear::readColors(), roo_display::RasterizableStack::readColors(), roo_display::FilledRect::readColors(), and roo_display::BufferedColorWriter::writeColorN().
| void roo_display::fillHlinesAbsoluteImpl | ( | Filler & | fill, |
| roo::byte * | buffer, | ||
| int16_t | width, | ||
| int16_t * | x0, | ||
| int16_t * | y0, | ||
| int16_t * | x1, | ||
| uint16_t | count | ||
| ) |
Definition at line 1631 of file offscreen.h.
| void roo_display::fillRectsAbsoluteImpl | ( | Filler & | fill, |
| roo::byte * | buffer, | ||
| int16_t | width, | ||
| int16_t * | x0, | ||
| int16_t * | y0, | ||
| int16_t * | x1, | ||
| int16_t * | y1, | ||
| uint32_t | count | ||
| ) |
Definition at line 1608 of file offscreen.h.
| void roo_display::fillRoundRect | ( | DisplayOutput & | output, |
| const Box & | bbox, | ||
| int16_t | radius, | ||
| const Box & | clip_box, | ||
| Color | color, | ||
| BlendingMode | mode | ||
| ) |
Definition at line 327 of file basic.cpp.
References color, roo_display::Box::contains(), fillRoundRectCorners(), and roo_display::Box::Intersect().
| void roo_display::fillRoundRectBg | ( | DisplayOutput & | output, |
| const Box & | bbox, | ||
| int16_t | radius, | ||
| const Box & | clip_box, | ||
| Color | bgcolor, | ||
| BlendingMode | mode | ||
| ) |
Definition at line 345 of file basic.cpp.
References bgcolor, roo_display::Box::contains(), fillRoundRectOutsideCorners(), and roo_display::Box::Intersect().
| void roo_display::fillRoundRectCorners | ( | HlineFiller * | filler, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int | x1, | ||
| int | y1, | ||
| int16_t | r | ||
| ) |
| void roo_display::fillRoundRectOutsideCorners | ( | HlineFiller * | filler, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int | x1, | ||
| int | y1, | ||
| int16_t | r | ||
| ) |
| void roo_display::fillTriangle | ( | HLineFiller * | drawer, |
| int16_t | x0, | ||
| int16_t | y0, | ||
| int16_t | x1, | ||
| int16_t | y1, | ||
| int16_t | x2, | ||
| int16_t | y2 | ||
| ) |
| void roo_display::fillVlinesAbsoluteImpl | ( | Filler & | fill, |
| roo::byte * | buffer, | ||
| int16_t | width, | ||
| int16_t * | x0, | ||
| int16_t * | y0, | ||
| int16_t * | y1, | ||
| uint16_t | count | ||
| ) |
Definition at line 1641 of file offscreen.h.
Definition at line 140 of file transformation.cpp.
References r.
Referenced by roo_display::Transformation::smallestEnclosingRect().
Definition at line 75 of file touch_xpt2046.h.
Referenced by single_conversion().
Definition at line 89 of file touch_xpt2046.h.
Referenced by single_conversion().
|
inline |
Create a horizontal gradient:
.
Definition at line 156 of file gradient.h.
| const roo::byte *PROGMEM roo_display::indexSearch | ( | char32_t | c, |
| const roo::byte *PROGMEM | data, | ||
| int | glyph_size, | ||
| int | start, | ||
| int | stop | ||
| ) |
Definition at line 634 of file smooth_font.cpp.
References PROGMEM.
Interpolate between two colors with fraction in [0, 256].
0 means result = c1; 256 means result = c2; 128 means 50/50.
Definition at line 5 of file interpolation.cpp.
Referenced by roo_display::ColorGradient::getColor(), roo_display::RawColorInterpolator< ColorMode >::operator()(), and roo_display::TransformedRaster< RasterType, TransformationType >::readColors().
Equivalent to InterpolateColors(Transparent, c, fraction_color).
Definition at line 53 of file interpolation.cpp.
Interpolate between two opaque colors with fraction in [0, 256].
Definition at line 39 of file interpolation.cpp.
Referenced by roo_display::RawColorInterpolator< ColorMode >::operator()().
|
inline |
Equivalent to InterpolateColors(Transparent, c, fraction_color) for opaque c.
Definition at line 22 of file interpolation.h.
Definition at line 158 of file smooth_font.cpp.
Referenced by roo_display::SmoothFont::drawGlyph(), roo_display::SmoothFontV2::drawGlyph(), roo_display::SmoothFont::getGlyphMetrics(), roo_display::SmoothFontV2::getGlyphMetrics(), roo_display::SmoothFontV2::getKerning(), roo_display::GlyphPairIterator::push(), and roo_display::SmoothFontV2::GlyphPairIterator::push().
| const roo::byte *PROGMEM roo_display::kernIndexSearch | ( | uint32_t | lookup, |
| const roo::byte *PROGMEM | data, | ||
| int | kern_size, | ||
| int | start, | ||
| int | stop | ||
| ) |
Definition at line 660 of file smooth_font.cpp.
References PROGMEM.
| DrawableRawStreamable< RawStreamable > roo_display::MakeDrawableRawStreamable | ( | RawStreamable | streamable | ) |
Definition at line 349 of file raw_streamable.h.
Referenced by streamToSurface().
| Drawable * roo_display::MakeNewDrawableRawStreamable | ( | RawStreamable | streamable | ) |
Definition at line 355 of file raw_streamable.h.
| SimpleRasterizable< Getter > roo_display::MakeRasterizable | ( | Box | extents, |
| Getter | getter, | ||
| TransparencyMode | transparency = TransparencyMode::kFull |
||
| ) |
Create a SimpleRasterizable from a getter function.
Definition at line 84 of file rasterizable.h.
| SimpleTiledRasterizable< const Raster & > roo_display::MakeTiledRaster | ( | const Raster * | raster | ) |
Create a tiled rasterizable from a raster.
Definition at line 141 of file rasterizable.h.
References roo_display::Raster< PtrTypeT, ColorModeT, pixel_order, byte_order >::color_mode(), and roo_display::Raster< PtrTypeT, ColorModeT, pixel_order, byte_order >::extents().
| SimpleTiledRasterizable< const Raster & > roo_display::MakeTiledRaster | ( | const Raster * | raster, |
| int16_t | x_offset, | ||
| int16_t | y_offset | ||
| ) |
Create a tiled rasterizable from a raster with offsets.
Definition at line 148 of file rasterizable.h.
References roo_display::Raster< PtrTypeT, ColorModeT, pixel_order, byte_order >::color_mode(), and roo_display::Raster< PtrTypeT, ColorModeT, pixel_order, byte_order >::extents().
| SimpleTiledRasterizable< Getter > roo_display::MakeTiledRasterizable | ( | Box | extents, |
| Getter | getter, | ||
| TransparencyMode | transparency = TransparencyMode::kFull |
||
| ) |
Create a tiled rasterizable from a getter function.
Definition at line 133 of file rasterizable.h.
| TileOf< DrawableType > roo_display::MakeTileOf | ( | DrawableType | interior, |
| Box | extents, | ||
| Alignment | alignment = kNoAlign, |
||
| Color | bgcolor = color::Background |
||
| ) |
| auto roo_display::OffscreenForDevice | ( | const Device & | device, |
| Args &&... | args | ||
| ) | -> Offscreen<typename Device::ColorMode, Device::pixel_order, Device::byte_order> |
Definition at line 662 of file offscreen.h.
Inequality operator for colors.
Definition at line 104 of file color.h.
References roo_display::Color::asArgb().
|
inline |
Definition at line 204 of file orientation.h.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | os, |
| BlendingMode | mode | ||
| ) |
Definition at line 54 of file blending.cpp.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | os, |
| Box::ClipResult | clip_result | ||
| ) |
Logging operator for box clip results.
Definition at line 11 of file box.cpp.
References roo_display::Box::kEmpty, roo_display::Box::kReduced, and roo_display::Box::kUnchanged.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | os, |
| ColorGradient::Boundary | boundary | ||
| ) |
Definition at line 237 of file gradient.cpp.
References roo_display::ColorGradient::kExtended, roo_display::ColorGradient::kPeriodic, and roo_display::ColorGradient::kTruncated.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | os, |
| ColorPixelOrder | order | ||
| ) |
Definition at line 19 of file pixel_order.cpp.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | os, |
| const Box & | box | ||
| ) |
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | os, |
| FillMode | mode | ||
| ) |
Definition at line 26 of file drawable.cpp.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | os, |
| TransparencyMode | mode | ||
| ) |
Definition at line 58 of file blending.cpp.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | stream, |
| FontLayout | layout | ||
| ) |
Definition at line 16 of file font.cpp.
References kHorizontal, and kVertical.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | stream, |
| FontProperties::Charset | charset | ||
| ) |
Definition at line 32 of file font.cpp.
References roo_display::FontProperties::kAscii, and roo_display::FontProperties::kUnicodeBmp.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | stream, |
| FontProperties::Kerning | kerning | ||
| ) |
Definition at line 80 of file font.cpp.
References roo_display::FontProperties::kNone, and roo_display::FontProperties::kPairs.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | stream, |
| FontProperties::Smoothing | smoothing | ||
| ) |
Definition at line 64 of file font.cpp.
References roo_display::FontProperties::kGrayscale, and roo_display::FontProperties::kNone.
| roo_logging::Stream & roo_display::operator<< | ( | roo_logging::Stream & | stream, |
| FontProperties::Spacing | spacing | ||
| ) |
Definition at line 48 of file font.cpp.
References roo_display::FontProperties::kMonospace, and roo_display::FontProperties::kProportional.
Equality operator for boxes.
Definition at line 170 of file box.h.
References roo_display::Box::xMax(), roo_display::Box::xMin(), roo_display::Box::yMax(), and roo_display::Box::yMin().
Equality operator for colors.
Definition at line 99 of file color.h.
References roo_display::Color::asArgb().
|
inline |
Definition at line 200 of file orientation.h.
|
inlineconstexpr |
Combine horizontal and vertical alignments.
Definition at line 214 of file alignment.h.
|
inlineconstexpr |
Combine vertical and horizontal alignments.
Definition at line 219 of file alignment.h.
| internal::Superposition< Bg, Fg > roo_display::Overlay | ( | Bg | bg, |
| int16_t | bg_x, | ||
| int16_t | bg_y, | ||
| Fg | fg, | ||
| int16_t | fg_x, | ||
| int16_t | fg_y | ||
| ) |
Definition at line 214 of file raw_streamable_overlay.h.
| internal::Superposition< Bg, Fg > roo_display::Overlay | ( | Box | anchor_extents, |
| Bg | bg, | ||
| Alignment | bg_align, | ||
| Fg | fg, | ||
| Alignment | fg_align | ||
| ) |
Definition at line 222 of file raw_streamable_overlay.h.
| ProjectiveTransformation roo_display::Perspective | ( | float | px, |
| float | py | ||
| ) |
Return a perspective transformation rooted at the origin.
Maps (x, y) to (x / d, y / d), where d = 1 + px * x + py * y.
Definition at line 95 of file smooth_transformation.cpp.
Referenced by PerspectiveAbout().
| ProjectiveTransformation roo_display::PerspectiveAbout | ( | float | px, |
| float | py, | ||
| const FpPoint & | base | ||
| ) |
Return a perspective transformation rooted at base.
Definition at line 100 of file smooth_transformation.cpp.
References Perspective(), roo_display::Translation::then(), and Translate().
Definition at line 35 of file png.cpp.
References roo_display::Surface::clip_box(), roo_display::Surface::drawObject(), roo_display::Surface::dy(), roo_display::Surface::out(), PNG_PIXEL_GRAY_ALPHA, PNG_PIXEL_GRAYSCALE, PNG_PIXEL_INDEXED, PNG_PIXEL_TRUECOLOR, PNG_PIXEL_TRUECOLOR_ALPHA, surface, roo_display::Box::yMax(), and roo_display::Box::yMin().
|
static |
Definition at line 826 of file smooth_font_v2.cpp.
References pgm_read_byte, and readUWord().
|
inline |
Definition at line 624 of file smooth_font.cpp.
References pgm_read_byte.
|
inline |
Definition at line 629 of file smooth_font.cpp.
References pgm_read_byte.
Definition at line 30 of file smooth_font.cpp.
References pgm_read_byte.
Referenced by roo_display::SmoothFont::GlyphMetadataReader::readMetrics(), roo_display::SmoothFontV2::GlyphMetadataReader::readMetrics(), and roo_display::SmoothFontV2::SmoothFontV2().
Definition at line 104 of file smooth_font_v2.cpp.
References pgm_read_byte.
Definition at line 116 of file smooth_font_v2.cpp.
References pgm_read_byte.
Referenced by roo_display::SmoothFontV2::SmoothFontV2().
Definition at line 112 of file smooth_font_v2.cpp.
References pgm_read_byte.
Referenced by read_glyph_index(), and roo_display::SmoothFontV2::SmoothFontV2().
Definition at line 34 of file smooth_font.cpp.
References pgm_read_byte.
Referenced by roo_display::SmoothFont::GlyphMetadataReader::readMetrics(), and roo_display::SmoothFontV2::GlyphMetadataReader::readMetrics().
Definition at line 108 of file smooth_font_v2.cpp.
References pgm_read_byte.
| internal::RawStreamableRef< RawStreamable > roo_display::Ref | ( | const RawStreamable & | ref | ) |
Definition at line 233 of file raw_streamable_overlay.h.
| Rotation roo_display::RotateLeft | ( | ) |
Return a 90-degree counter-clockwise rotation about the origin.
Definition at line 55 of file smooth_transformation.cpp.
References RotateLeft().
Referenced by RotateLeft().
Return a counter-clockwise rotation about the origin.
Definition at line 53 of file smooth_transformation.cpp.
| AffineTransformation roo_display::RotateLeftAbout | ( | const FpPoint & | center | ) |
Definition at line 61 of file smooth_transformation.cpp.
References RotateLeftAbout().
| AffineTransformation roo_display::RotateLeftAbout | ( | float | angle, |
| const FpPoint & | center | ||
| ) |
Return a 90-degree counter-clockwise rotation about a point.
Definition at line 57 of file smooth_transformation.cpp.
References RotateRightAbout().
Referenced by RotateLeftAbout().
| Rotation roo_display::RotateRight | ( | ) |
Return a 90-degree clockwise rotation about the origin.
Definition at line 39 of file smooth_transformation.cpp.
References RotateRight().
Referenced by RotateRight(), RotateRightAbout(), and RotateRightAbout().
Return a clockwise rotation about the origin.
Definition at line 37 of file smooth_transformation.cpp.
| AffineTransformation roo_display::RotateRightAbout | ( | const FpPoint & | center | ) |
Return a 90-degree clockwise rotation about a point.
Definition at line 47 of file smooth_transformation.cpp.
References RotateRight(), roo_display::Translation::then(), and Translate().
| AffineTransformation roo_display::RotateRightAbout | ( | float | angle, |
| const FpPoint & | center | ||
| ) |
Return a clockwise rotation about a point.
Definition at line 41 of file smooth_transformation.cpp.
References RotateRight(), roo_display::Translation::then(), and Translate().
Referenced by RotateLeftAbout().
Return a scaling about the origin.
Definition at line 29 of file smooth_transformation.cpp.
Referenced by ScaleAbout().
| AffineTransformation roo_display::ScaleAbout | ( | float | sx, |
| float | sy, | ||
| const FpPoint & | center | ||
| ) |
Return a scaling about a given center.
Definition at line 31 of file smooth_transformation.cpp.
References Scale(), roo_display::Translation::then(), and Translate().
| AffineTransformation roo_display::Shear | ( | float | sx, |
| float | sy | ||
| ) |
Return a shear rooted at the origin.
Definition at line 65 of file smooth_transformation.cpp.
Referenced by Shear(), ShearHorizontallyAbout(), and ShearVerticallyAbout().
| AffineTransformation roo_display::Shear | ( | float | sx, |
| float | sy, | ||
| const FpPoint & | base | ||
| ) |
Return a shear rooted at the specified point.
Definition at line 69 of file smooth_transformation.cpp.
References Shear(), roo_display::Translation::then(), and Translate().
| AffineTransformation roo_display::ShearHorizontally | ( | float | sx | ) |
Return a horizontal shear rooted at the origin.
Definition at line 75 of file smooth_transformation.cpp.
| AffineTransformation roo_display::ShearHorizontallyAbout | ( | float | sx, |
| float | base_y | ||
| ) |
Return a horizontal shear rooted at base_y.
Definition at line 79 of file smooth_transformation.cpp.
References Shear(), roo_display::Translation::then(), and Translate().
| AffineTransformation roo_display::ShearVertically | ( | float | sy | ) |
Return a vertical shear rooted at the origin.
Definition at line 85 of file smooth_transformation.cpp.
| AffineTransformation roo_display::ShearVerticallyAbout | ( | float | sy, |
| float | base_x | ||
| ) |
Return a vertical shear rooted at base_x.
Definition at line 89 of file smooth_transformation.cpp.
References Shear(), roo_display::Translation::then(), and Translate().
| ConversionResult roo_display::single_conversion | ( | Spi & | spi, |
| uint16_t | z_threshold, | ||
| uint16_t * | x, | ||
| uint16_t * | y, | ||
| uint16_t * | z | ||
| ) |
Definition at line 100 of file touch_xpt2046.h.
References get_raw_touch_xy(), get_raw_touch_z(), kMaxRawSettlingDistance, TOUCHED, UNSETTLED, and UNTOUCHED.
Referenced by roo_display::TouchXpt2046< pinCS, Spi, Gpio >::readTouch().
| SmoothShape roo_display::SmoothArc | ( | FpPoint | center, |
| float | radius, | ||
| float | angle_start, | ||
| float | angle_end, | ||
| Color | color | ||
| ) |
Create a 1-pixel-wide arc.
Definition at line 422 of file smooth.cpp.
References color, ENDING_ROUNDED, and SmoothThickArc().
| SmoothShape roo_display::SmoothCircle | ( | FpPoint | center, |
| float | radius, | ||
| Color | color, | ||
| Color | interior_color | ||
| ) |
Create a circle (optionally with interior color).
Definition at line 191 of file smooth.cpp.
References color, and SmoothThickCircle().
| SmoothShape roo_display::SmoothFilledCircle | ( | FpPoint | center, |
| float | radius, | ||
| Color | color | ||
| ) |
Create a filled circle.
Definition at line 196 of file smooth.cpp.
References color, and SmoothThickCircle().
| SmoothShape roo_display::SmoothFilledRoundRect | ( | float | x0, |
| float | y0, | ||
| float | x1, | ||
| float | y1, | ||
| float | radius, | ||
| Color | color | ||
| ) |
Create a filled round-rect.
Definition at line 174 of file smooth.cpp.
References color, and SmoothThickRoundRect().
| SmoothShape roo_display::SmoothFilledTriangle | ( | FpPoint | a, |
| FpPoint | b, | ||
| FpPoint | c, | ||
| Color | color | ||
| ) |
Create a filled triangle.
Definition at line 454 of file smooth.cpp.
| SmoothShape roo_display::SmoothLine | ( | FpPoint | a, |
| FpPoint | b, | ||
| Color | color | ||
| ) |
Create a 1-pixel-wide anti-aliased line.
Definition at line 87 of file smooth.cpp.
References color, ENDING_ROUNDED, and SmoothThickLine().
| SmoothShape roo_display::SmoothPie | ( | FpPoint | center, |
| float | radius, | ||
| float | angle_start, | ||
| float | angle_end, | ||
| Color | color | ||
| ) |
Create a pie slice.
Definition at line 436 of file smooth.cpp.
References color, ENDING_FLAT, and SmoothThickArcImpl().
| SmoothShape roo_display::SmoothRotatedFilledRect | ( | FpPoint | center, |
| float | width, | ||
| float | height, | ||
| float | angle, | ||
| Color | color | ||
| ) |
Create a rotated filled rectangle.
Definition at line 91 of file smooth.cpp.
| SmoothShape roo_display::SmoothRoundRect | ( | float | x0, |
| float | y0, | ||
| float | x1, | ||
| float | y1, | ||
| float | radius, | ||
| Color | color, | ||
| Color | interior_color | ||
| ) |
Create an outlined round-rect.
Definition at line 169 of file smooth.cpp.
References color, and SmoothThickRoundRect().
| SmoothShape roo_display::SmoothThickArc | ( | FpPoint | center, |
| float | radius, | ||
| float | thickness, | ||
| float | angle_start, | ||
| float | angle_end, | ||
| Color | color, | ||
| EndingStyle | ending_style | ||
| ) |
Create an arc with thickness.
Definition at line 428 of file smooth.cpp.
References color, and SmoothThickArcImpl().
Referenced by SmoothArc().
| 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 | ||
| ) |
Definition at line 214 of file smooth.cpp.
Referenced by SmoothPie(), SmoothThickArc(), and SmoothThickArcWithBackground().
| 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 | ||
| ) |
Create an arc with background and interior colors.
Definition at line 443 of file smooth.cpp.
References SmoothThickArcImpl().
| SmoothShape roo_display::SmoothThickCircle | ( | FpPoint | center, |
| float | radius, | ||
| float | thickness, | ||
| Color | color, | ||
| Color | interior_color | ||
| ) |
Create a circle with thickness (ring).
Definition at line 184 of file smooth.cpp.
References color, and SmoothThickRoundRect().
Referenced by SmoothCircle(), and SmoothFilledCircle().
| SmoothShape roo_display::SmoothThickLine | ( | FpPoint | a, |
| FpPoint | b, | ||
| float | width, | ||
| Color | color, | ||
| EndingStyle | ending_style | ||
| ) |
Create a line with width and ending style.
Definition at line 82 of file smooth.cpp.
References color, and SmoothWedgedLine().
Referenced by SmoothLine().
| SmoothShape roo_display::SmoothThickRoundRect | ( | float | x0, |
| float | y0, | ||
| float | x1, | ||
| float | y1, | ||
| float | radius, | ||
| float | thickness, | ||
| Color | color, | ||
| Color | interior_color | ||
| ) |
Create an outlined round-rect with thickness.
Definition at line 104 of file smooth.cpp.
Referenced by SmoothFilledRoundRect(), SmoothRoundRect(), and SmoothThickCircle().
| SmoothShape roo_display::SmoothWedgedLine | ( | FpPoint | a, |
| float | width_a, | ||
| FpPoint | b, | ||
| float | width_b, | ||
| Color | color, | ||
| EndingStyle | ending_style | ||
| ) |
Create a wedged line with different start/end widths.
Definition at line 38 of file smooth.cpp.
Referenced by SmoothThickLine().
| void roo_display::streamToSurface | ( | const Surface & | s, |
| RawStreamable | streamable | ||
| ) |
Definition at line 361 of file raw_streamable.h.
References MakeDrawableRawStreamable().
Prefer roo_io::StringPrintf in new code.
Definition at line 7 of file string_printer.cpp.
References StringVPrintf().
Prefer roo_io::StringVPrintf in new code.
Definition at line 15 of file string_printer.cpp.
Referenced by StringPrintf().
|
inline |
Create a pixel stream over a sub-rectangle of a larger stream.
Definition at line 408 of file streamable.h.
References roo_display::Box::area(), roo_display::Box::width(), roo_display::Box::xMin(), and roo_display::Box::yMin().
Referenced by roo_display::Raster< PtrTypeT, ColorModeT, pixel_order, byte_order >::createStream(), and roo_display::SimpleStreamable< Iterable, ColorMode, StreamType >::createStream().
| TransformedRaster< RasterType, TransformationType > roo_display::TransformRaster | ( | RasterType & | original, |
| TransformationType | transformation | ||
| ) |
Return a rasterizable representation of a transformed raster.
Definition at line 576 of file smooth_transformation.h.
| Translation roo_display::Translate | ( | float | dx, |
| float | dy | ||
| ) |
Return a translation by the specified vector.
Definition at line 27 of file smooth_transformation.cpp.
Referenced by PerspectiveAbout(), RotateRightAbout(), RotateRightAbout(), ScaleAbout(), Shear(), ShearHorizontallyAbout(), and ShearVerticallyAbout().
|
inline |
Create a vertical gradient:
.
Definition at line 149 of file gradient.h.
|
static |
Definition at line 122 of file font_adafruit_fixed_5x7.cpp.
Referenced by drawAdafruitFixed5x7Glyph(), roo_display::FontAdafruitFixed5x7::drawHorizontalString(), roo_display::SmoothFont::drawHorizontalString(), roo_display::SmoothFontV2::drawHorizontalString(), roo_display::FontAdafruitFixed5x7::FontAdafruitFixed5x7(), roo_display::FontAdafruitFixed5x7::getGlyphMetrics(), roo_display::FontAdafruitFixed5x7::getHorizontalStringGlyphMetrics(), roo_display::SmoothFont::getHorizontalStringGlyphMetrics(), roo_display::SmoothFontV2::getHorizontalStringGlyphMetrics(), roo_display::FontAdafruitFixed5x7::getHorizontalStringMetrics(), roo_display::SmoothFont::getHorizontalStringMetrics(), and roo_display::SmoothFontV2::getHorizontalStringMetrics().
|
static |
Definition at line 119 of file font_adafruit_fixed_5x7.cpp.
Referenced by roo_display::TextLabel::anchorExtents(), roo_display::StringViewLabel::anchorExtents(), drawAdafruitFixed5x7Glyph(), roo_display::FontAdafruitFixed5x7::FontAdafruitFixed5x7(), roo_display::FontAdafruitFixed5x7::getGlyphMetrics(), roo_display::FontAdafruitFixed5x7::getHorizontalStringGlyphMetrics(), roo_display::FontAdafruitFixed5x7::getHorizontalStringMetrics(), roo_display::SmoothFont::SmoothFont(), and roo_display::SmoothFontV2::SmoothFontV2().
|
constexpr |
Definition at line 91 of file blending.h.
|
constexpr |
Definition at line 80 of file blending.h.
|
constexpr |
Definition at line 88 of file blending.h.
|
constexpr |
Definition at line 85 of file blending.h.
|
constexpr |
Definition at line 95 of file blending.h.
|
constexpr |
Definition at line 82 of file blending.h.
|
constexpr |
Definition at line 98 of file blending.h.
|
constexpr |
Definition at line 72 of file blending.h.
|
constexpr |
Definition at line 78 of file blending.h.
|
constexpr |
Definition at line 76 of file blending.h.
|
constexpr |
Definition at line 93 of file blending.h.
|
constexpr |
Definition at line 74 of file blending.h.
|
constexpr |
Definition at line 20 of file pixel_order.h.
|
constexpr |
Definition at line 18 of file pixel_order.h.
|
static |
Definition at line 120 of file font_adafruit_fixed_5x7.cpp.
Referenced by roo_display::TextLabel::anchorExtents(), roo_display::StringViewLabel::anchorExtents(), drawAdafruitFixed5x7Glyph(), roo_display::FontAdafruitFixed5x7::FontAdafruitFixed5x7(), roo_display::FontAdafruitFixed5x7::getGlyphMetrics(), roo_display::FontAdafruitFixed5x7::getHorizontalStringGlyphMetrics(), roo_display::FontAdafruitFixed5x7::getHorizontalStringMetrics(), roo_display::SmoothFont::SmoothFont(), and roo_display::SmoothFontV2::SmoothFontV2().
|
static |
Definition at line 57 of file roo_display.cpp.
|
constexpr |
Definition at line 27 of file drawable.h.
|
constexpr |
Definition at line 29 of file drawable.h.
|
constexpr |
|
constexpr |
|
staticconstexpr |
Baseline-to-baseline with no shift.
Definition at line 161 of file alignment.h.
|
staticconstexpr |
Bottom-to-bottom with no shift.
Definition at line 158 of file alignment.h.
|
staticconstexpr |
Center-to-center with no shift.
Definition at line 105 of file alignment.h.
Definition at line 31 of file touch_xpt2046.h.
Referenced by roo_display::TouchXpt2046< pinCS, Spi, Gpio >::readTouch().
|
staticconstexpr |
Left-to-left with no shift.
Definition at line 102 of file alignment.h.
Definition at line 25 of file touch_xpt2046.h.
Referenced by roo_display::TouchXpt2046< pinCS, Spi, Gpio >::readTouch().
Definition at line 20 of file touch_xpt2046.h.
Referenced by single_conversion().
|
staticconstexpr |
Middle-to-middle with no shift.
Definition at line 155 of file alignment.h.
Definition at line 28 of file touch_xpt2046.h.
Referenced by roo_display::TouchXpt2046< pinCS, Spi, Gpio >::readTouch().
Absolute alignment (no repositioning).
Definition at line 211 of file alignment.h.
|
staticconstexpr |
Origin-to-origin with no shift.
Definition at line 111 of file alignment.h.
Definition at line 22 of file buffered_drawing.h.
Referenced by roo_display::BufferedColorWriter::advance_buffer_ptr(), roo_display::internal::BufferingStream::blend(), roo_display::BufferedHLineFiller::fillHLine(), roo_display::internal::fillPaintRectOverBg(), roo_display::internal::fillPaintRectOverOpaqueBg(), roo_display::BufferedPixelFiller::fillPixel(), roo_display::internal::fillReplaceRect(), roo_display::BufferedVLineFiller::fillVLine(), roo_display::internal::BufferingStream::next(), roo_display::internal::BufferingStream::read(), roo_display::BufferedColorWriter::remaining_buffer_space(), roo_display::PixelStream::Skip(), roo_display::internal::BufferingStream::skip(), roo_display::BufferedColorWriter::writeColor(), roo_display::BufferedColorWriter::writeColorN(), roo_display::BufferedColorWriter::writeColors(), roo_display::BufferedColorWriter::writeColorsAligned(), roo_display::BufferedPixelWriter::writePixel(), roo_display::internal::writeRectVisible(), roo_display::internal::writeRectVisibleOverBg(), and roo_display::internal::writeRectVisibleOverOpaqueBg().
Definition at line 25 of file buffered_drawing.h.
Referenced by roo_display::BufferedRectFiller::fillRect(), and roo_display::BufferedRectWriter::writeRect().
|
staticconstexpr |
Right-to-right with no shift.
Definition at line 108 of file alignment.h.
Definition at line 11 of file touch_xpt2046.h.
|
staticconstexpr |
Top-to-top with no shift.
Definition at line 152 of file alignment.h.
|
static |
Definition at line 121 of file font_adafruit_fixed_5x7.cpp.
Referenced by roo_display::TextLabel::anchorExtents(), roo_display::StringViewLabel::anchorExtents(), drawAdafruitFixed5x7Glyph(), roo_display::FontAdafruitFixed5x7::FontAdafruitFixed5x7(), roo_display::SmoothFont::SmoothFont(), and roo_display::SmoothFontV2::SmoothFontV2().
Definition at line 10 of file font_adafruit_fixed_5x7.cpp.
Referenced by indexSearch(), kernIndexSearch(), and roo_display::GlyphPairIterator::push().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
constexpr |
Definition at line 115 of file blending.h.
|
constexpr |
Definition at line 117 of file blending.h.
|
constexpr |
Definition at line 113 of file blending.h.