Okular::NonOwningObjectRect

Search for usage in LXR

Okular::NonOwningObjectRect Class Reference

#include <area.h>

Inheritance diagram for Okular::NonOwningObjectRect:

Public Member Functions

 NonOwningObjectRect (double left, double top, double right, double bottom, bool ellipse, ObjectType type, void *object)
 
- Public Member Functions inherited from Okular::ObjectRect
 ObjectRect (const NormalizedRect &r, bool ellipse, ObjectType type, void *object)
 
 ObjectRect (const ObjectRect &o)=delete
 
 ObjectRect (const QPolygonF &poly, ObjectType type, void *object)
 
 ObjectRect (double left, double top, double right, double bottom, bool ellipse, ObjectType type, void *object)
 
virtual ~ObjectRect ()
 
virtual QRect boundingRect (double xScale, double yScale) const
 
virtual bool contains (double x, double y, double xScale, double yScale) const
 
double distanceSqr (double x, double y, double xScale, double yScale) const
 
const void * object () const
 
ObjectType objectType () const
 
ObjectRectoperator= (const ObjectRect &o)=delete
 
const QPainterPathregion () const
 
virtual void transform (const QTransform &matrix)
 

Additional Inherited Members

- Public Types inherited from Okular::ObjectRect
enum  ObjectType { Action , Image , OAnnotation , SourceRef }
 
- Protected Attributes inherited from Okular::ObjectRect
void * m_object
 
ObjectType m_objectType
 
QPainterPath m_path
 
QPainterPath m_transformedPath
 

Detailed Description

This class is an object rect that doesn't own the given pointer, i.e.

won't delete it on destruction

Since
1.7

Definition at line 631 of file area.h.

Constructor & Destructor Documentation

◆ NonOwningObjectRect()

NonOwningObjectRect::NonOwningObjectRect ( double left,
double top,
double right,
double bottom,
bool ellipse,
ObjectType type,
void * object )

class NonOwningObjectRect

Definition at line 497 of file area.cpp.

◆ ~NonOwningObjectRect()

NonOwningObjectRect::~NonOwningObjectRect ( )
override

Definition at line 502 of file area.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.