Okular::NonOwningObjectRect

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 (double left, double top, double right, double bottom, bool ellipse, ObjectType type, void *object)
 
 ObjectRect (const NormalizedRect &r, bool ellipse, ObjectType type, void *object)
 
 ObjectRect (const QPolygonF &poly, ObjectType type, void *object)
 
 ObjectRect (const ObjectRect &o)=delete
 
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 627 of file area.h.

Constructor & Destructor Documentation

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

class NonOwningObjectRect

Definition at line 492 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-2020 The KDE developers.
Generated on Thu Nov 26 2020 22:34:57 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.