QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 ()
 
double dpiRatio () const
 
const QgsPointoffset ()
 
const QgsPointorigin ()
 
const QPicture * picture ()
 
double pictureBuffer () const
 
double rotation () const
 
double rotationOffset () const
 
void setCenter (QgsPoint point)
 
void setDpiRatio (double ratio)
 
void setOffset (QgsPoint point)
 
void setOrigin (QgsPoint point)
 
void setPicture (QPicture *picture)
 
void setPictureBuffer (double buffer)
 
void setRotation (double rotation)
 
void setRotationOffset (double rotation)
 
void setSize (QgsPoint point)
 
void setText (const QString &text)
 
void setUseCenter (bool use)
 
void setUseOrigin (bool use)
 
void setUseRotation (bool use)
 
const QgsPointsize ()
 
const QString & text ()
 
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 586 of file qgspallabeling.h.

Constructor & Destructor Documentation

QgsLabelComponent::QgsLabelComponent ( )
inline

Definition at line 589 of file qgspallabeling.h.

Member Function Documentation

const QgsPoint& QgsLabelComponent::center ( )
inline

Definition at line 625 of file qgspallabeling.h.

double QgsLabelComponent::dpiRatio ( ) const
inline

Definition at line 643 of file qgspallabeling.h.

const QgsPoint& QgsLabelComponent::offset ( )
inline

Definition at line 634 of file qgspallabeling.h.

const QgsPoint& QgsLabelComponent::origin ( )
inline

Definition at line 610 of file qgspallabeling.h.

const QPicture* QgsLabelComponent::picture ( )
inline

Definition at line 637 of file qgspallabeling.h.

double QgsLabelComponent::pictureBuffer ( ) const
inline

Definition at line 640 of file qgspallabeling.h.

double QgsLabelComponent::rotation ( ) const
inline

Definition at line 616 of file qgspallabeling.h.

double QgsLabelComponent::rotationOffset ( ) const
inline

Definition at line 619 of file qgspallabeling.h.

void QgsLabelComponent::setCenter ( QgsPoint  point)
inline

Definition at line 626 of file qgspallabeling.h.

void QgsLabelComponent::setDpiRatio ( double  ratio)
inline

Definition at line 644 of file qgspallabeling.h.

void QgsLabelComponent::setOffset ( QgsPoint  point)
inline

Definition at line 635 of file qgspallabeling.h.

void QgsLabelComponent::setOrigin ( QgsPoint  point)
inline

Definition at line 611 of file qgspallabeling.h.

void QgsLabelComponent::setPicture ( QPicture *  picture)
inline

Definition at line 638 of file qgspallabeling.h.

void QgsLabelComponent::setPictureBuffer ( double  buffer)
inline

Definition at line 641 of file qgspallabeling.h.

void QgsLabelComponent::setRotation ( double  rotation)
inline

Definition at line 617 of file qgspallabeling.h.

void QgsLabelComponent::setRotationOffset ( double  rotation)
inline

Definition at line 620 of file qgspallabeling.h.

void QgsLabelComponent::setSize ( QgsPoint  point)
inline

Definition at line 632 of file qgspallabeling.h.

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

Definition at line 608 of file qgspallabeling.h.

void QgsLabelComponent::setUseCenter ( bool  use)
inline

Definition at line 629 of file qgspallabeling.h.

void QgsLabelComponent::setUseOrigin ( bool  use)
inline

Definition at line 614 of file qgspallabeling.h.

void QgsLabelComponent::setUseRotation ( bool  use)
inline

Definition at line 623 of file qgspallabeling.h.

const QgsPoint& QgsLabelComponent::size ( void  )
inline

Definition at line 631 of file qgspallabeling.h.

const QString& QgsLabelComponent::text ( void  )
inline

Definition at line 607 of file qgspallabeling.h.

bool QgsLabelComponent::useCenter ( ) const
inline

Definition at line 628 of file qgspallabeling.h.

bool QgsLabelComponent::useOrigin ( ) const
inline

Definition at line 613 of file qgspallabeling.h.

bool QgsLabelComponent::useRotation ( ) const
inline

Definition at line 622 of file qgspallabeling.h.


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