FuncDoodle
Loading...
Searching...
No Matches
Frame.h File Reference

Defines pixel color structures and frame/image data containers. More...

#include <cmath>
#include <iostream>
#include <utility>
#include <vector>
#include "Action/Direction.h"
#include "Conf/Constants.h"
#include "Selection/Selection.h"
#include "Util/Ptr.h"
#include "stb_image_write.h"

Go to the source code of this file.

Classes

struct  FuncDoodle::Col
 A struct holding an RGB8 color. More...
class  FuncDoodle::ImageArray
 2D array of RGB8 color pixels. More...
class  FuncDoodle::Frame
 Wraps an ImageArray with higher-level frame editing operations. More...

Namespaces

namespace  FuncDoodle
 The FuncDoodle C++ namespace.

Detailed Description

Defines pixel color structures and frame/image data containers.

This file provides the core low-level image representation used by FuncDoodle, including:

  • Col: an RGB8 color struct with utility operations
  • ImageArray: a 2D pixel buffer backed by a flat vector
  • Frame: a higher-level wrapper around ImageArray with editing operations

It supports basic image manipulation such as rotation, selection-based edits, copying to clipboard, and exporting to disk using stb_image_write.

These structures form the foundation of all rendering and pixel editing functionality in the application.

This file provides the core low-level image representation used by FuncDoodle, including the Col struct (RGB8) and ImageArray (2D pixel grid). Also defines the Frame class, which wraps ImageArray for animation frames.