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 626 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 490 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-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:10:35 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.