CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
display_manager.h File Reference

Manages image display with downsampling (with OIIO), zoom, and pan. More...

#include <memory>
#include <QObject>
#include <QSize>
#include <QPointF>
#include "common/image_region.h"
#include "viewport_manager.h"
+ Include dependency graph for display_manager.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CaptureMoment::UI::Display::DisplayManager
 Central manager for image display, zoom, pan, and viewport coordination. More...
 

Namespaces

namespace  CaptureMoment
 
namespace  CaptureMoment::UI
 
namespace  CaptureMoment::UI::Rendering
 Namespace containing Qt-specific UI components for CaptureMoment.
 
namespace  CaptureMoment::UI::Display
 Namespace containing Qt-specific UI components for CaptureMoment.
 

Detailed Description

Manages image display with downsampling (with OIIO), zoom, and pan.

Author
CaptureMoment Team
Date
2025
  • Architecture:
  • Backend (SourceManager): Full resolution image (untouched, e.g., 4928x3264)
  • DisplayManager: Downsampled image for display (e.g., 1920x1280)
  • Frontend (IRenderingItemBase): Display-ready image (PaintedImageItem/RHIImageItem/SGSImageItem)
  • This separation ensures:
  1. Operations work on full resolution
  2. Display is optimized for screen size
  3. Memory usage is minimized

Definition in file display_manager.h.

CaptureMoment — footer