Graphics::CopyRenderer Class Reference
Copy an area within the same surface. More...
#include <Renderer.h>
Inheritance diagram for Graphics::CopyRenderer:
Collaboration diagram for Graphics::CopyRenderer:
Public Member Functions | |
CopyRenderer (const Location &location, const CopyObject &object) | |
bool | execute (Surface &surface) override |
Called to do some writing to the surface. More... | |
Renderer (const Location &location) | |
Constructor. More... | |
![]() | |
Renderer (const Location &location) | |
Constructor. More... | |
virtual | ~Renderer () |
![]() | |
Renderer * | getNext () const |
bool | insertAfter (Renderer *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Protected Member Functions | |
void | init () |
void | startRead (Surface &surface) |
virtual void | readComplete (uint8_t *data, size_t length) |
Protected Attributes | |
PixelFormat | pixelFormat {} |
uint8_t | bytesPerPixel |
bool | vertical |
![]() | |
Location | location |
Additional Inherited Members | |
![]() | |
using | List = LinkedObjectListTemplate< Renderer > |
using | OwnedList = OwnedLinkedObjectListTemplate< Renderer > |
![]() | |
using | Iterator = IteratorTemplate< Renderer, Renderer *, Renderer & > |
using | ConstIterator = IteratorTemplate< const Renderer, const Renderer *, const Renderer & > |
Detailed Description
Copy an area within the same surface.
Constructor & Destructor Documentation
◆ CopyRenderer()
|
inline |
Member Function Documentation
◆ execute()
|
overridevirtual |
Called to do some writing to the surface.
- Return values
-
bool true when rendering is complete, false if more work to be done
Implements Graphics::Renderer.
◆ init()
|
protected |
◆ readComplete()
|
inlineprotectedvirtual |
Reimplemented in Graphics::ImageCopyRenderer.
◆ Renderer()
|
inline |
Constructor.
- Parameters
-
location Location information
◆ startRead()
|
protected |
Member Data Documentation
◆ bytesPerPixel
|
protected |
◆ pixelFormat
|
protected |
◆ vertical
|
protected |
The documentation for this class was generated from the following file: