TouchGFX + 0/4 examples
CodeScope will show references to touchgfx::Rect from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
 
Symbols
loading...
Files
loading...

touchgfx::Rect class

@class Rect Types.hpp touchgfx/hal/Types.hpp Class representing a Rectangle with a few convenient methods. Class representing a Rectangle with a few convenient methods. Size: 8 bytes.

Syntax

class Rect { public:     Rect()     {         this->x = 0;         this->y = 0;         this->width = 0;         this->height = 0;     }     Rect(int16_t x, int16_t y, int16_t width, int16_t height)     {         this->x = x;         this->y = y;         this->width = width;         this->height = height;     }     int16_t x;           int16_t y;           int16_t width;       int16_t height;      inline int16_t right() const     {         return x + width;     }     inline int16_t bottom() const     {         return y + height;     }     bool intersect(int16_t otherX, int16_t otherY) const     {         return (otherX >= x && otherX < right() &&                 otherY >= y && otherY < bottom());     }     bool intersect(const Rect& other) const     {         return !(x >= other.right() || right() <= other.x ||                  y >= other.bottom() || bottom() <= other.y);     }     bool includes(const Rect& other) const     {         return (other.x >= x &&                 other.y >= y &&                 other.right() <= right() &&                 other.bottom() <= bottom());     }     Rect operator &(const Rect& other) const     {         Rect r = *this;         r &= other;         return r;     }     void operator &=(const Rect& other)     {         if (intersect(other))         {             int16_t newX = MAX(x, other.x);             int16_t newY = MAX(y, other.y);             width = MIN(right(), other.right()) - newX;             height = MIN(bottom(), other.bottom()) - newY;             x = newX;             y = newY;         }         else         {             x = 0;             y = 0;             width = 0;             height = 0;         }     }     void expandToFit(const Rect& other)     {         if (!other.isEmpty())         {             if (isEmpty())             {                 x = other.x;                 y = other.y;                 width = other.width;                 height = other.height;             }             else             {                 int16_t newX = MIN(x, other.x);                 int16_t newY = MIN(y, other.y);                 int16_t endPointX = MAX(right(), other.right());                 int16_t endPointY = MAX(bottom(), other.bottom());                 x = newX;                 y = newY;                 width = endPointX - newX;                 height = endPointY - newY;             }         }     }     bool operator ==(const Rect& other) const     {         return isEqual(other);     }     bool operator !=(const Rect& other) const     {         return !isEqual(other);     }     bool isEmpty() const     {         return ((width == 0) || (height == 0));     }     uint32_t area() const     {         return width * height;     } private:     bool isEqual(const Rect& other) const     {         return ((x == other.x) &&                 (y == other.y) &&                 (width == other.width) &&                 (height == other.height));     } };

Fields

x

No summary provided. Read more...

y

No summary provided. Read more...

width

No summary provided. Read more...

height

No summary provided. Read more...

Methods

operator!=() const

@fn bool Rect::operator!=(const Rect& other) const Opposite of the == operator. Opposite of the == operator. Read more...

isEmpty() const

@fn bool Rect::isEmpty() const Query if this object is empty. Query if this object is empty. Read more...

area() const

@fn uint32_t Rect::area() const Calculate the area of the rectangle. Calculate the area of the rectangle. Read more...

isEqual() const

No summary provided. Read more...

right() const

@fn inline int16_t Rect::right() const Gets the x coordinate of the right edge of the Rect. Gets the x coordinate of the right edge of the Rect. Read more...

bottom() const

@fn inline int16_t Rect::bottom() const Gets the y coordinate of the bottom edge of the Rect. Gets the y coordinate of the bottom edge of the Rect. Read more...

intersect() const

@fn bool Rect::intersect(int16_t otherX, int16_t otherY) const Determines whether specified point lies inside this rectangle. Determines whether specified point lies inside this rectangle. Read more...

intersect() const

@fn bool Rect::intersect(int16_t otherX, int16_t otherY) const Determines whether specified point lies inside this rectangle. Determines whether specified point lies inside this rectangle. Read more...

includes() const

@fn bool Rect::includes(const Rect& other) const Determines whether the specified rectangle is completely included in this rectangle. Determines whether the specified rectangle is completely included in this rectangle. Read more...

operator&() const

@fn Rect Rect::operator&(const Rect& other) const Gets a rectangle describing the intersecting area between this rectangle and the supplied rectangle. Gets a rectangle describing the intersecting area between this rectangle and the supplied rectangle. Read more...

operator&=()

@fn void Rect::operator&=(const Rect& other) Assigns this Rect to the intersection of the current Rect and the assigned Rect. Assigns this Rect to the intersection of the current Rect and the assigned Rect. The assignment will result in a Rect(0, 0, 0, 0) if they do not intersect. Read more...

expandToFit()

@fn void Rect::expandToFit(const Rect& other) Increases the area covered by this rectangle to encompass the area covered by supplied rectangle. Increases the area covered by this rectangle to encompass the area covered by supplied rectangle. Read more...

operator() const

@fn bool Rect::operator==(const Rect& other) const Compares equality of two Rect by the dimensions and position of these. Compares equality of two Rect by the dimensions and position of these. Read more...

Examples

touchgfx::Rect is referenced by 4 libraries and example projects.

References

LocationReferrerScopeText
Types.hpp:147
class Rect
AbstractShape.hpp:398touchgfx::AbstractShape::drawCanvasWidget() const::invalidatedAreatouchgfx::AbstractShape::drawCanvasWidget() const
virtual bool drawCanvasWidget(const Rect& invalidatedArea) const;
AbstractShape.hpp:462touchgfx::AbstractShape::getMinimalRect() consttouchgfx::AbstractShape
virtual Rect getMinimalRect() const;
AbstractShape.hpp:468touchgfx::AbstractShape::minimalRecttouchgfx::AbstractShape
Application.hpp:127touchgfx::Application::draw()::recttouchgfx::Application::draw()
virtual void draw(Rect& rect);
Application.hpp:296touchgfx::Application::invalidateArea()::areatouchgfx::Application::invalidateArea()
void invalidateArea(Rect area);
Application.hpp:309
Vector<Rect, 8> cachedDirtyAreas; ///< When draw caching is enabled, these rects keeps track of the dirty screen area.
Application.hpp:310
Vector<Rect, 8> lastRects; ///< The dirty areas from last frame that needs to be redrawn because we have swapped frame buffers.
Bitmap.hpp:103touchgfx::Bitmap::DynamicBitmapData::solidtouchgfx::Bitmap::DynamicBitmapData
Rect solid; ///< The solidRect of this bitmap
Bitmap.hpp:222touchgfx::Bitmap::getRect() consttouchgfx::Bitmap
Rect getRect() const
Bitmap.hpp:224touchgfx::Bitmap::getRect() const
return Rect(0, 0, getWidth(), getHeight());
Bitmap.hpp:251touchgfx::Bitmap::getSolidRect() consttouchgfx::Bitmap
Rect getSolidRect() const;
Bitmap.hpp:452touchgfx::Bitmap::dynamicBitmapSetSolidRect()::solidRecttouchgfx::Bitmap::dynamicBitmapSetSolidRect()
static bool dynamicBitmapSetSolidRect(BitmapId id, const Rect& solidRect);
Box.hpp:79touchgfx::Box::getSolidRect() consttouchgfx::Box
virtual Rect getSolidRect() const;
Box.hpp:144touchgfx::Box::draw() const::areatouchgfx::Box::draw() const
virtual void draw(const Rect& area) const;
Button.hpp:65touchgfx::Button::draw() const::invalidatedAreatouchgfx::Button::draw() const
virtual void draw(const Rect& invalidatedArea) const;
Button.hpp:89touchgfx::Button::getSolidRect() consttouchgfx::Button
virtual Rect getSolidRect() const;
ButtonWithLabel.hpp:162touchgfx::ButtonWithLabel::getSolidRect() consttouchgfx::ButtonWithLabel
virtual Rect getSolidRect() const
ButtonWithLabel.hpp:167touchgfx::ButtonWithLabel::draw() const::areatouchgfx::ButtonWithLabel::draw() const
virtual void draw(const Rect& area) const;
Canvas.hpp:62touchgfx::Canvas::Canvas()::invalidatedAreatouchgfx::Canvas::Canvas()
CanvasWidget.hpp:136touchgfx::CanvasWidget::draw() const::invalidatedAreatouchgfx::CanvasWidget::draw() const
virtual void draw(const Rect& invalidatedArea) const;
CanvasWidget.hpp:165touchgfx::CanvasWidget::getMinimalRect() consttouchgfx::CanvasWidget
virtual Rect getMinimalRect() const;
CanvasWidget.hpp:178touchgfx::CanvasWidget::getSolidRect() consttouchgfx::CanvasWidget
virtual Rect getSolidRect() const;
CanvasWidget.hpp:195touchgfx::CanvasWidget::drawCanvasWidget() const::invalidatedAreatouchgfx::CanvasWidget::drawCanvasWidget() const
virtual bool drawCanvasWidget(const Rect& invalidatedArea) const = 0;
Circle.hpp:496touchgfx::Circle::drawCanvasWidget() const::invalidatedAreatouchgfx::Circle::drawCanvasWidget() const
virtual bool drawCanvasWidget(const Rect& invalidatedArea) const;
Circle.hpp:507touchgfx::Circle::getMinimalRect() consttouchgfx::Circle
virtual Rect getMinimalRect() const;
Circle.hpp:521touchgfx::Circle::getMinimalRect() consttouchgfx::Circle
Rect getMinimalRect(int16_t arcStart, int16_t arcEnd) const;
Circle.hpp:535touchgfx::Circle::getMinimalRect() consttouchgfx::Circle
Rect getMinimalRect(CWRUtil::Q5 arcStart, CWRUtil::Q5 arcEnd) const;
Circle.hpp:553touchgfx::Circle::getMinimalRectForUpdatedStartAngle()touchgfx::Circle
Circle.hpp:554touchgfx::Circle::getMinimalRectForUpdatedEndAngle()touchgfx::Circle
Container.hpp:165touchgfx::Container::draw() const::invalidatedAreatouchgfx::Container::draw() const
virtual void draw(const Rect& invalidatedArea) const;
Container.hpp:177touchgfx::Container::getSolidRect() consttouchgfx::Container
virtual Rect getSolidRect() const;
Container.hpp:233touchgfx::Container::getContainedArea() consttouchgfx::Container
virtual Rect getContainedArea() const;
Container.hpp:250touchgfx::Container::setupDrawChain()::invalidatedAreatouchgfx::Container::setupDrawChain()
DisplayTransformation.hpp:84touchgfx::DisplayTransformation::transformDisplayToFrameBuffer()::intouchgfx::DisplayTransformation::transformDisplayToFrameBuffer()
static void transformDisplayToFrameBuffer(int16_t& x, int16_t& y, const Rect& in);
DisplayTransformation.hpp:98touchgfx::DisplayTransformation::transformDisplayToFrameBuffer()::intouchgfx::DisplayTransformation::transformDisplayToFrameBuffer()
static void transformDisplayToFrameBuffer(float& x, float& y, const Rect& in);
DisplayTransformation.hpp:109touchgfx::DisplayTransformation::transformDisplayToFrameBuffer()::rtouchgfx::DisplayTransformation::transformDisplayToFrameBuffer()
static void transformDisplayToFrameBuffer(Rect& r);
DisplayTransformation.hpp:123touchgfx::DisplayTransformation::transformDisplayToFrameBuffer()::rtouchgfx::DisplayTransformation::transformDisplayToFrameBuffer()
static void transformDisplayToFrameBuffer(Rect& r, const Rect& in);
Drawable.hpp:90touchgfx::Drawable::draw() const::invalidatedAreatouchgfx::Drawable::draw() const
virtual void draw(const Rect& invalidatedArea) const = 0;
Drawable.hpp:106touchgfx::Drawable::getSolidRect() consttouchgfx::Drawable
virtual Rect getSolidRect() const = 0;
Drawable.hpp:122touchgfx::Drawable::invalidateRect() const::invalidatedAreatouchgfx::Drawable::invalidateRect() const
virtual void invalidateRect(Rect& invalidatedArea) const;
Drawable.hpp:162touchgfx::Drawable::getSolidRectAbsolute()touchgfx::Drawable
virtual Rect getSolidRectAbsolute();
Drawable.hpp:193touchgfx::Drawable::getVisibleRect() const::recttouchgfx::Drawable::getVisibleRect() const
virtual void getVisibleRect(Rect& rect) const;
Drawable.hpp:205touchgfx::Drawable::getRect() consttouchgfx::Drawable
const Rect& getRect() const
Drawable.hpp:220touchgfx::Drawable::getAbsoluteRect() consttouchgfx::Drawable
Rect getAbsoluteRect() const;
Drawable.hpp:233touchgfx::Drawable::translateRectToAbsolute() const::rtouchgfx::Drawable::translateRectToAbsolute() const
virtual void translateRectToAbsolute(Rect& r) const;
Drawable.hpp:630touchgfx::Drawable::recttouchgfx::Drawable
Rect rect; ///< The coordinates of this drawable, relative to its parent.
Drawable.hpp:631touchgfx::Drawable::cachedVisibleRecttouchgfx::Drawable
Rect cachedVisibleRect; ///< Cached representation of currently visible area. For TouchGFX internal use.
Drawable.hpp:670touchgfx::Drawable::getCachedVisibleRect()touchgfx::Drawable
Drawable.hpp:674touchgfx::Drawable::getCachedVisibleRect()
Rect visibleRect(0, 0, getWidth(), getHeight());
Drawable.hpp:696touchgfx::Drawable::getCachedAbsX()
Rect absRect = getAbsoluteRect();
Drawable.hpp:718touchgfx::Drawable::getCachedAbsY()
Rect absRect = getAbsoluteRect();
Drawable.hpp:737touchgfx::Drawable::setupDrawChain()
HAL.hpp:211touchgfx::HAL::flushFrameBuffer()::recttouchgfx::HAL::flushFrameBuffer()
virtual void flushFrameBuffer(const Rect& rect);
HAL.hpp:514touchgfx::HAL::copyFBRegionToMemory()::meAbstouchgfx::HAL::copyFBRegionToMemory()
virtual uint16_t* copyFBRegionToMemory(Rect meAbs);
HAL.hpp:535touchgfx::HAL::copyFBRegionToMemory()::meAbstouchgfx::HAL::copyFBRegionToMemory()
virtual uint16_t* copyFBRegionToMemory(Rect meAbs, uint16_t* dst, uint32_t stride);
Image.hpp:93touchgfx::Image::draw() const::invalidatedAreatouchgfx::Image::draw() const
virtual void draw(const Rect& invalidatedArea) const;
Image.hpp:133touchgfx::Image::getSolidRect() consttouchgfx::Image
virtual Rect getSolidRect() const;
JSMOCHelper.hpp:88touchgfx::JSMOCHelper::getCachedVisibleRect()touchgfx::JSMOCHelper
JSMOCHelper.hpp:94touchgfx::JSMOCHelper::getCachedVisibleRect()
Rect visibleRect(0, 0, widget->getWidth(), widget->getHeight());
JSMOCHelper.hpp:114touchgfx::JSMOCHelper::getCachedAbsX()
Rect absRect = widget->getAbsoluteRect();
JSMOCHelper.hpp:134touchgfx::JSMOCHelper::getCachedAbsY()
Rect absRect = widget->getAbsoluteRect();
JSMOCHelper.hpp:178touchgfx::JSMOCHelper::draw()
void draw(const Rect& invalidatedArea)
JSMOCHelper.hpp:188touchgfx::JSMOCHelper::cachedVisibleRecttouchgfx::JSMOCHelper
LCD.hpp:110touchgfx::LCD::drawPartialBitmap()::recttouchgfx::LCD::drawPartialBitmap()
virtual void drawPartialBitmap(const Bitmap& bitmap, int16_t x, int16_t y, const Rect& rect, uint8_t alpha = 255, bool useOptimized = true) = 0;
LCD.hpp:130touchgfx::LCD::blitCopy()::sourcetouchgfx::LCD::blitCopy()
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels) = 0;
LCD.hpp:151touchgfx::LCD::blitCopy()::sourcetouchgfx::LCD::blitCopy()
virtual void blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels) = 0;
LCD.hpp:172touchgfx::LCD::copyFrameBufferRegionToMemory()::regiontouchgfx::LCD::copyFrameBufferRegionToMemory()
virtual uint16_t* copyFrameBufferRegionToMemory(const Rect& region, const BitmapId bitmap = BITMAP_ANIMATION_STORAGE) = 0;
LCD.hpp:185touchgfx::LCD::fillRect()::recttouchgfx::LCD::fillRect()
virtual void fillRect(const Rect& rect, colortype color, uint8_t alpha = 255) = 0;
LCD.hpp:231touchgfx::LCD::drawRect()::recttouchgfx::LCD::drawRect()
void drawRect(const Rect& rect, colortype color, uint8_t alpha = 255);
LCD.hpp:245touchgfx::LCD::drawBorder()::recttouchgfx::LCD::drawBorder()
void drawBorder(const Rect& rect, uint16_t lineWidth, colortype color, uint8_t alpha = 255);
LCD.hpp:328touchgfx::LCD::drawString()::widgetAreatouchgfx::LCD::drawString()
LCD.hpp:329touchgfx::LCD::drawString()::invalidatedAreatouchgfx::LCD::drawString()
const Rect& invalidatedArea,
LCD.hpp:369touchgfx::LCD::drawTextureMapTriangle()::absoluteRecttouchgfx::LCD::drawTextureMapTriangle()
const Rect& absoluteRect,
LCD.hpp:370touchgfx::LCD::drawTextureMapTriangle()::dirtyAreaAbsolutetouchgfx::LCD::drawTextureMapTriangle()
const Rect& dirtyAreaAbsolute,
LCD.hpp:409touchgfx::LCD::drawTextureMapScanLine()::absoluteRecttouchgfx::LCD::drawTextureMapScanLine()
LCD.hpp:434touchgfx::LCD::drawGlyph()::widgetAreatouchgfx::LCD::drawGlyph()
virtual void drawGlyph(uint16_t* wbuf, Rect widgetArea, int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, const Rect& invalidatedArea, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha, TextRotation rotation = TEXT_ROTATE_0) = 0;
LCD.hpp:447touchgfx::LCD::rotateRect()::recttouchgfx::LCD::rotateRect()
static void rotateRect(Rect& rect, const Rect& canvas, const TextRotation rotation);
LCD.hpp:464touchgfx::LCD::realX()::widgetAreatouchgfx::LCD::realX()
static int realX(const Rect& widgetArea, int16_t x, int16_t y, TextRotation rotation);
LCD.hpp:481touchgfx::LCD::realY()::widgetAreatouchgfx::LCD::realY()
static int realY(const Rect& widgetArea, int16_t x, int16_t y, TextRotation rotation);
LCD.hpp:505touchgfx::LCD::drawStringLTR()::widgetAreatouchgfx::LCD::drawStringLTR()
void drawStringLTR(const Rect& widgetArea,
LCD.hpp:506touchgfx::LCD::drawStringLTR()::invalidatedAreatouchgfx::LCD::drawStringLTR()
const Rect& invalidatedArea,
LCD.hpp:534touchgfx::LCD::drawStringRTL()::widgetAreatouchgfx::LCD::drawStringRTL()
void drawStringRTL(const Rect& widgetArea,
LCD.hpp:535touchgfx::LCD::drawStringRTL()::invalidatedAreatouchgfx::LCD::drawStringRTL()
const Rect& invalidatedArea,
LCD.hpp:580widgetArea
typedef void (LCD::*DrawStringFunctionPointer)(const Rect& widgetArea, const Rect& invalidatedArea, const StringVisuals& stringVisuals, const Unicode::UnicodeChar* format, va_list _pArg);
LCD.hpp:587touchgfx::LCD::DrawStringInternalStruct::widgetAreatouchgfx::LCD::DrawStringInternalStruct
const Rect* widgetArea;
LCD.hpp:589touchgfx::LCD::DrawStringInternalStruct::toDrawtouchgfx::LCD::DrawStringInternalStruct
const Rect* toDraw;
LCD.hpp:602touchgfx::LCD::drawStringInternal()::widgetAreatouchgfx::LCD::drawStringInternal()
LCD16bpp.hpp:73touchgfx::LCD16bpp::drawPartialBitmap()::recttouchgfx::LCD16bpp::drawPartialBitmap()
virtual void drawPartialBitmap(const Bitmap& bitmap, int16_t x, int16_t y, const Rect& rect, uint8_t alpha = 255, bool useOptimized = true);
LCD16bpp.hpp:93touchgfx::LCD16bpp::blitCopy()::sourcetouchgfx::LCD16bpp::blitCopy()
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD16bpp.hpp:115touchgfx::LCD16bpp::blitCopy()::sourcetouchgfx::LCD16bpp::blitCopy()
virtual void blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD16bpp.hpp:130touchgfx::LCD16bpp::copyFrameBufferRegionToMemory()::regiontouchgfx::LCD16bpp::copyFrameBufferRegionToMemory()
LCD16bpp.hpp:143touchgfx::LCD16bpp::fillRect()::recttouchgfx::LCD16bpp::fillRect()
virtual void fillRect(const Rect& rect, colortype color, uint8_t alpha = 255);
LCD16bpp.hpp:193touchgfx::LCD16bpp::drawTextureMapScanLine()::absoluteRecttouchgfx::LCD16bpp::drawTextureMapScanLine()
LCD16bpp.hpp:246touchgfx::LCD16bpp::drawGlyph()::widgetAreatouchgfx::LCD16bpp::drawGlyph()
virtual void drawGlyph(uint16_t* wbuf, Rect widgetArea, int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, const Rect& invalidatedArea, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha, TextRotation rotation = TEXT_ROTATE_0);
LCD16bpp.hpp:263touchgfx::LCD16bpp::blitCopyARGB8888()::sourcetouchgfx::LCD16bpp::blitCopyARGB8888()
static void blitCopyARGB8888(const uint32_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha);
LCD16bpp.hpp:281touchgfx::LCD16bpp::blitCopyAlphaPerPixel()::sourcetouchgfx::LCD16bpp::blitCopyAlphaPerPixel()
static void blitCopyAlphaPerPixel(const uint16_t* sourceData, const uint8_t* alphaData, const Rect& source, const Rect& blitRect, uint8_t alpha);
LCD24bpp.hpp:75touchgfx::LCD24bpp::drawPartialBitmap()::recttouchgfx::LCD24bpp::drawPartialBitmap()
virtual void drawPartialBitmap(const Bitmap& bitmap, int16_t x, int16_t y, const Rect& rect, uint8_t alpha = 255, bool useOptimized = true);
LCD24bpp.hpp:95touchgfx::LCD24bpp::blitCopy()::sourcetouchgfx::LCD24bpp::blitCopy()
virtual void blitCopy(const uint16_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD24bpp.hpp:117touchgfx::LCD24bpp::blitCopy()::sourcetouchgfx::LCD24bpp::blitCopy()
virtual void blitCopy(const uint8_t* sourceData, Bitmap::BitmapFormat sourceFormat, const Rect& source, const Rect& blitRect, uint8_t alpha, bool hasTransparentPixels);
LCD24bpp.hpp:132touchgfx::LCD24bpp::copyFrameBufferRegionToMemory()::regiontouchgfx::LCD24bpp::copyFrameBufferRegionToMemory()
LCD24bpp.hpp:145touchgfx::LCD24bpp::fillRect()::recttouchgfx::LCD24bpp::fillRect()
virtual void fillRect(const Rect& rect, colortype color, uint8_t alpha = 255);
LCD24bpp.hpp:195touchgfx::LCD24bpp::drawTextureMapScanLine()::absoluteRecttouchgfx::LCD24bpp::drawTextureMapScanLine()
LCD24bpp.hpp:248touchgfx::LCD24bpp::drawGlyph()::widgetAreatouchgfx::LCD24bpp::drawGlyph()
virtual void drawGlyph(uint16_t* wbuf, Rect widgetArea, int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, const Rect& invalidatedArea, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha, TextRotation rotation = TEXT_ROTATE_0);
LCD24bpp.hpp:265touchgfx::LCD24bpp::blitCopyARGB8888()::sourcetouchgfx::LCD24bpp::blitCopyARGB8888()
static void blitCopyARGB8888(const uint32_t* sourceData, const Rect& source, const Rect& blitRect, uint8_t alpha);
PainterRGB565Bitmap.hpp:103touchgfx::PainterRGB565Bitmap::bitmapRectToFrameBuffertouchgfx::PainterRGB565Bitmap
Rect bitmapRectToFrameBuffer; ///< Bitmap rectangle translated to frame buffer coordinates
RadioButton.hpp:70touchgfx::RadioButton::draw() const::invalidatedAreatouchgfx::RadioButton::draw() const
virtual void draw(const Rect& invalidatedArea) const;
RadioButton.hpp:131touchgfx::RadioButton::getSolidRect() consttouchgfx::RadioButton
virtual Rect getSolidRect() const;
ScalableImage.hpp:166touchgfx::ScalableImage::draw() const::invalidatedAreatouchgfx::ScalableImage::draw() const
virtual void draw(const Rect& invalidatedArea) const;
ScalableImage.hpp:179touchgfx::ScalableImage::getSolidRect() consttouchgfx::ScalableImage
virtual Rect getSolidRect() const;
ScalableImage.hpp:215touchgfx::ScalableImage::drawTriangle() const::invalidatedAreatouchgfx::ScalableImage::drawTriangle() const
void drawTriangle(const Rect& invalidatedArea, uint16_t* fb, const float* triangleXs, const float* triangleYs, const float* triangleZs, const float* triangleUs, const float* triangleVs) const;
Screen.hpp:88touchgfx::Screen::startSMOC()::invalidatedAreatouchgfx::Screen::startSMOC()
Screen.hpp:100touchgfx::Screen::JSMOC()::invalidatedAreatouchgfx::Screen::JSMOC()
Screen.hpp:114touchgfx::Screen::draw()::recttouchgfx::Screen::draw()
virtual void draw(Rect& rect);
ScrollableContainer.hpp:113touchgfx::ScrollableContainer::isScrollableXY()
Rect contained = getContainedArea();
ScrollableContainer.hpp:235touchgfx::ScrollableContainer::getContainedArea() consttouchgfx::ScrollableContainer
virtual Rect getContainedArea() const;
ScrollableContainer.hpp:406touchgfx::ScrollableContainer::getXScrollbar() consttouchgfx::ScrollableContainer
Rect getXScrollbar() const;
ScrollableContainer.hpp:417touchgfx::ScrollableContainer::getYScrollbar() consttouchgfx::ScrollableContainer
Rect getYScrollbar() const;
ScrollableContainer.hpp:431touchgfx::ScrollableContainer::getXBorder() consttouchgfx::ScrollableContainer
Rect getXBorder(const Rect& xBar, const Rect& yBar) const;
ScrollableContainer.hpp:445touchgfx::ScrollableContainer::getYBorder() consttouchgfx::ScrollableContainer
Rect getYBorder(const Rect& xBar, const Rect& yBar) const;
SnapshotWidget.hpp:69touchgfx::SnapshotWidget::draw() const::invalidatedAreatouchgfx::SnapshotWidget::draw() const
virtual void draw(const Rect& invalidatedArea) const;
SnapshotWidget.hpp:80touchgfx::SnapshotWidget::getSolidRect() consttouchgfx::SnapshotWidget
virtual Rect getSolidRect() const;
TextArea.hpp:69touchgfx::TextArea::getSolidRect() consttouchgfx::TextArea
virtual Rect getSolidRect() const
TextArea.hpp:71touchgfx::TextArea::getSolidRect() const
return Rect(0, 0, 0, 0);
TextArea.hpp:273touchgfx::TextArea::draw() const::areatouchgfx::TextArea::draw() const
virtual void draw(const Rect& area) const;
TextAreaWithWildcard.hpp:116touchgfx::TextAreaWithOneWildcard::draw() const
virtual void draw(const Rect& area) const
TextAreaWithWildcard.hpp:241touchgfx::TextAreaWithTwoWildcards::draw() const
virtual void draw(const Rect& area) const
TouchArea.hpp:57touchgfx::TouchArea::draw() const
virtual void draw(const Rect& invalidatedArea) const
TouchArea.hpp:95touchgfx::TouchArea::getSolidRect() consttouchgfx::TouchArea
virtual Rect getSolidRect() const
TouchArea.hpp:97touchgfx::TouchArea::getSolidRect() const
return Rect(0, 0, 0, 0);
Types.hpp:248touchgfx::Rect::intersect() const
bool intersect(const Rect& other) const
Types.hpp:266touchgfx::Rect::includes() const
bool includes(const Rect& other) const
Types.hpp:287touchgfx::Rect::operator&() consttouchgfx::Rect
Rect operator &(const Rect& other) const
Types.hpp:289touchgfx::Rect::operator&() const
Rect r = *this;
Types.hpp:304touchgfx::Rect::operator&=()
void operator &=(const Rect& other)
Types.hpp:336touchgfx::Rect::expandToFit()
void expandToFit(const Rect& other)
Types.hpp:374touchgfx::Rect::operator() const
bool operator ==(const Rect& other) const
Types.hpp:390touchgfx::Rect::operator!=() const
bool operator !=(const Rect& other) const
Types.hpp:424touchgfx::Rect::isEqual() const
bool isEqual(const Rect& other) const

Type Use

Variables of touchgfx::Rect type
touchgfx::Rect::intersect() const::other
touchgfx::Rect::operator&() const::r
touchgfx::HAL::flushFrameBuffer()::rect
touchgfx::Drawable::getCachedVisibleRect()::visibleRect
touchgfx::Drawable::getCachedAbsX()::absRect
touchgfx::Drawable::getCachedAbsY()::absRect
touchgfx::Application::draw()::rect
widgetArea
invalidatedArea
touchgfx::Screen::draw()::rect
touchgfx::JSMOCHelper::getCachedVisibleRect()::visibleRect
touchgfx::JSMOCHelper::getCachedAbsX()::absRect
touchgfx::JSMOCHelper::getCachedAbsY()::absRect
touchgfx::DisplayTransformation::transformDisplayToFrameBuffer()::in
touchgfx::DisplayTransformation::transformDisplayToFrameBuffer()::r
touchgfx::ScrollableContainer::isScrollableXY()::contained
all items filtered out
touchgfx::Rect
Allocators of touchgfx::Rect
Deletors of touchgfx::Rect
touchgfx::Rect::operator&() const::r
touchgfx::Drawable::getCachedVisibleRect()::visibleRect
touchgfx::Drawable::getCachedAbsX()::absRect
touchgfx::Drawable::getCachedAbsY()::absRect
touchgfx::JSMOCHelper::getCachedVisibleRect()::visibleRect
touchgfx::JSMOCHelper::getCachedAbsX()::absRect
touchgfx::JSMOCHelper::getCachedAbsY()::absRect
touchgfx::ScrollableContainer::isScrollableXY()::contained
all items filtered out
touchgfx::Rect
touchgfx::Rect::operator&() const::r
touchgfx::Drawable::getCachedVisibleRect()::visibleRect
touchgfx::Drawable::getCachedAbsX()::absRect
touchgfx::Drawable::getCachedAbsY()::absRect
touchgfx::JSMOCHelper::getCachedVisibleRect()::visibleRect
touchgfx::JSMOCHelper::getCachedAbsX()::absRect
touchgfx::JSMOCHelper::getCachedAbsY()::absRect
touchgfx::ScrollableContainer::isScrollableXY()::contained
all items filtered out