QGIS API Documentation  2.11.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
QgsLabelComponent Class Reference

Maintains current state of more grainular and temporal values when creating/painting component parts of an individual label (e.g. More...

#include <qgspallabeling.h>

Public Member Functions

 QgsLabelComponent ()
 
const QgsPointcenter () const
 
double dpiRatio () const
 
const QgsPointoffset () const
 
const QgsPointorigin () const
 
const QPicturepicture () const
 
double pictureBuffer () const
 
double rotation () const
 
double rotationOffset () const
 
void setCenter (const QgsPoint &point)
 
void setDpiRatio (const double ratio)
 
void setOffset (const QgsPoint &point)
 
void setOrigin (const QgsPoint &point)
 
void setPicture (QPicture *picture)
 
void setPictureBuffer (const double buffer)
 
void setRotation (const double rotation)
 
void setRotationOffset (const double rotation)
 
void setSize (const QgsPoint &point)
 
void setText (const QString &text)
 
void setUseCenter (const bool use)
 
void setUseOrigin (const bool use)
 
void setUseRotation (const bool use)
 
const QgsPointsize () const
 
const QStringtext () const
 
bool useCenter () const
 
bool useOrigin () const
 
bool useRotation () const
 

Detailed Description

Maintains current state of more grainular and temporal values when creating/painting component parts of an individual label (e.g.

buffer, background, shadow, etc.).

Definition at line 624 of file qgspallabeling.h.

Constructor & Destructor Documentation

QgsLabelComponent::QgsLabelComponent ( )
inline

Definition at line 627 of file qgspallabeling.h.

Member Function Documentation

const QgsPoint& QgsLabelComponent::center ( ) const
inline

Definition at line 663 of file qgspallabeling.h.

double QgsLabelComponent::dpiRatio ( ) const
inline

Definition at line 681 of file qgspallabeling.h.

const QgsPoint& QgsLabelComponent::offset ( ) const
inline

Definition at line 672 of file qgspallabeling.h.

const QgsPoint& QgsLabelComponent::origin ( ) const
inline

Definition at line 648 of file qgspallabeling.h.

const QPicture* QgsLabelComponent::picture ( ) const
inline

Definition at line 675 of file qgspallabeling.h.

double QgsLabelComponent::pictureBuffer ( ) const
inline

Definition at line 678 of file qgspallabeling.h.

double QgsLabelComponent::rotation ( ) const
inline

Definition at line 654 of file qgspallabeling.h.

double QgsLabelComponent::rotationOffset ( ) const
inline

Definition at line 657 of file qgspallabeling.h.

void QgsLabelComponent::setCenter ( const QgsPoint point)
inline

Definition at line 664 of file qgspallabeling.h.

void QgsLabelComponent::setDpiRatio ( const double  ratio)
inline

Definition at line 682 of file qgspallabeling.h.

void QgsLabelComponent::setOffset ( const QgsPoint point)
inline

Definition at line 673 of file qgspallabeling.h.

void QgsLabelComponent::setOrigin ( const QgsPoint point)
inline

Definition at line 649 of file qgspallabeling.h.

void QgsLabelComponent::setPicture ( QPicture picture)
inline

Definition at line 676 of file qgspallabeling.h.

void QgsLabelComponent::setPictureBuffer ( const double  buffer)
inline

Definition at line 679 of file qgspallabeling.h.

void QgsLabelComponent::setRotation ( const double  rotation)
inline

Definition at line 655 of file qgspallabeling.h.

void QgsLabelComponent::setRotationOffset ( const double  rotation)
inline

Definition at line 658 of file qgspallabeling.h.

void QgsLabelComponent::setSize ( const QgsPoint point)
inline

Definition at line 670 of file qgspallabeling.h.

void QgsLabelComponent::setText ( const QString text)
inline

Definition at line 646 of file qgspallabeling.h.

void QgsLabelComponent::setUseCenter ( const bool  use)
inline

Definition at line 667 of file qgspallabeling.h.

void QgsLabelComponent::setUseOrigin ( const bool  use)
inline

Definition at line 652 of file qgspallabeling.h.

void QgsLabelComponent::setUseRotation ( const bool  use)
inline

Definition at line 661 of file qgspallabeling.h.

const QgsPoint& QgsLabelComponent::size ( void  ) const
inline

Definition at line 669 of file qgspallabeling.h.

const QString& QgsLabelComponent::text ( void  ) const
inline

Definition at line 645 of file qgspallabeling.h.

bool QgsLabelComponent::useCenter ( ) const
inline

Definition at line 666 of file qgspallabeling.h.

bool QgsLabelComponent::useOrigin ( ) const
inline

Definition at line 651 of file qgspallabeling.h.

bool QgsLabelComponent::useRotation ( ) const
inline

Definition at line 660 of file qgspallabeling.h.


The documentation for this class was generated from the following file: