QGIS API Documentation  2.5.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 QString & text ()
 
void setText (const QString &text)
 
const QgsPointorigin ()
 
void setOrigin (QgsPoint point)
 
bool useOrigin () const
 
void setUseOrigin (bool use)
 
double rotation () const
 
void setRotation (double rotation)
 
double rotationOffset () const
 
void setRotationOffset (double rotation)
 
bool useRotation () const
 
void setUseRotation (bool use)
 
const QgsPointcenter ()
 
void setCenter (QgsPoint point)
 
bool useCenter () const
 
void setUseCenter (bool use)
 
const QgsPointsize ()
 
void setSize (QgsPoint point)
 
const QgsPointoffset ()
 
void setOffset (QgsPoint point)
 
const QPicture * picture ()
 
void setPicture (QPicture *picture)
 
double pictureBuffer () const
 
void setPictureBuffer (double buffer)
 
double dpiRatio () const
 
void setDpiRatio (double ratio)
 

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.).

Constructor & Destructor Documentation

QgsLabelComponent::QgsLabelComponent ( )
inline

Member Function Documentation

const QgsPoint& QgsLabelComponent::center ( )
inline
double QgsLabelComponent::dpiRatio ( ) const
inline
const QgsPoint& QgsLabelComponent::offset ( )
inline
const QgsPoint& QgsLabelComponent::origin ( )
inline
const QPicture* QgsLabelComponent::picture ( )
inline
double QgsLabelComponent::pictureBuffer ( ) const
inline
double QgsLabelComponent::rotation ( ) const
inline
double QgsLabelComponent::rotationOffset ( ) const
inline
void QgsLabelComponent::setCenter ( QgsPoint  point)
inline
void QgsLabelComponent::setDpiRatio ( double  ratio)
inline
void QgsLabelComponent::setOffset ( QgsPoint  point)
inline
void QgsLabelComponent::setOrigin ( QgsPoint  point)
inline
void QgsLabelComponent::setPicture ( QPicture *  picture)
inline
void QgsLabelComponent::setPictureBuffer ( double  buffer)
inline
void QgsLabelComponent::setRotation ( double  rotation)
inline
void QgsLabelComponent::setRotationOffset ( double  rotation)
inline
void QgsLabelComponent::setSize ( QgsPoint  point)
inline
void QgsLabelComponent::setText ( const QString &  text)
inline
void QgsLabelComponent::setUseCenter ( bool  use)
inline
void QgsLabelComponent::setUseOrigin ( bool  use)
inline
void QgsLabelComponent::setUseRotation ( bool  use)
inline
const QgsPoint& QgsLabelComponent::size ( void  )
inline
const QString& QgsLabelComponent::text ( void  )
inline
bool QgsLabelComponent::useCenter ( ) const
inline
bool QgsLabelComponent::useOrigin ( ) const
inline
bool QgsLabelComponent::useRotation ( ) const
inline

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