LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::EquidistantTickFactory Class Reference

#include <Tickmarks_Equidistant.hxx>

Collaboration diagram for chart::EquidistantTickFactory:
[legend]

Public Member Functions

 EquidistantTickFactory (ExplicitScaleData aScale, ExplicitIncrementData aIncrement)
 
 ~EquidistantTickFactory ()
 
void getAllTicks (TickInfoArraysType &rAllTickInfos) const
 
void getAllTicksShifted (TickInfoArraysType &rAllTickInfos) const
 

Static Public Member Functions

static double getMinimumAtIncrement (double fMin, const ExplicitIncrementData &rIncrement)
 
static double getMaximumAtIncrement (double fMax, const ExplicitIncrementData &rIncrement)
 

Private Member Functions

void addSubTicks (sal_Int32 nDepth, css::uno::Sequence< css::uno::Sequence< double > > &rParentTicks) const
 
double * getMajorTick (sal_Int32 nTick) const
 
double * getMinorTick (sal_Int32 nTick, sal_Int32 nDepth, double fStartParentTick, double fNextParentTick) const
 
sal_Int32 getMaxTickCount (sal_Int32 nDepth) const
 
sal_Int32 getTickDepth () const
 
bool isVisible (double fValue) const
 
bool isWithinOuterBorder (double fScaledValue) const
 

Private Attributes

ExplicitScaleData m_rScale
 
ExplicitIncrementData m_rIncrement
 
css::uno::Reference< css::chart2::XScaling > m_xInverseScaling
 
double m_fScaledVisibleMin
 
double m_fScaledVisibleMax
 
std::unique_ptr< double[]> m_pfCurrentValues
 
double m_fOuterMajorTickBorderMin
 
double m_fOuterMajorTickBorderMax
 
double m_fOuterMajorTickBorderMin_Scaled
 
double m_fOuterMajorTickBorderMax_Scaled
 

Detailed Description

Definition at line 100 of file Tickmarks_Equidistant.hxx.

Constructor & Destructor Documentation

◆ EquidistantTickFactory()

chart::EquidistantTickFactory::EquidistantTickFactory ( ExplicitScaleData  aScale,
ExplicitIncrementData  aIncrement 
)

◆ ~EquidistantTickFactory()

chart::EquidistantTickFactory::~EquidistantTickFactory ( )

Definition at line 129 of file Tickmarks_Equidistant.cxx.

Member Function Documentation

◆ addSubTicks()

void chart::EquidistantTickFactory::addSubTicks ( sal_Int32  nDepth,
css::uno::Sequence< css::uno::Sequence< double > > &  rParentTicks 
) const
private

◆ getAllTicks()

void chart::EquidistantTickFactory::getAllTicks ( TickInfoArraysType rAllTickInfos) const

◆ getAllTicksShifted()

void chart::EquidistantTickFactory::getAllTicksShifted ( TickInfoArraysType rAllTickInfos) const

◆ getMajorTick()

double * chart::EquidistantTickFactory::getMajorTick ( sal_Int32  nTick) const
private

◆ getMaximumAtIncrement()

double chart::EquidistantTickFactory::getMaximumAtIncrement ( double  fMax,
const ExplicitIncrementData rIncrement 
)
static

◆ getMaxTickCount()

sal_Int32 chart::EquidistantTickFactory::getMaxTickCount ( sal_Int32  nDepth) const
private

◆ getMinimumAtIncrement()

double chart::EquidistantTickFactory::getMinimumAtIncrement ( double  fMin,
const ExplicitIncrementData rIncrement 
)
static

◆ getMinorTick()

double * chart::EquidistantTickFactory::getMinorTick ( sal_Int32  nTick,
sal_Int32  nDepth,
double  fStartParentTick,
double  fNextParentTick 
) const
private

◆ getTickDepth()

sal_Int32 chart::EquidistantTickFactory::getTickDepth ( ) const
private

◆ isVisible()

bool chart::EquidistantTickFactory::isVisible ( double  fValue) const
private

Definition at line 297 of file Tickmarks_Equidistant.cxx.

References m_fScaledVisibleMax, and m_fScaledVisibleMin.

Referenced by getAllTicks().

◆ isWithinOuterBorder()

bool chart::EquidistantTickFactory::isWithinOuterBorder ( double  fScaledValue) const
private

Member Data Documentation

◆ m_fOuterMajorTickBorderMax

double chart::EquidistantTickFactory::m_fOuterMajorTickBorderMax
private

◆ m_fOuterMajorTickBorderMax_Scaled

double chart::EquidistantTickFactory::m_fOuterMajorTickBorderMax_Scaled
private

Definition at line 141 of file Tickmarks_Equidistant.hxx.

Referenced by EquidistantTickFactory(), and isWithinOuterBorder().

◆ m_fOuterMajorTickBorderMin

double chart::EquidistantTickFactory::m_fOuterMajorTickBorderMin
private

◆ m_fOuterMajorTickBorderMin_Scaled

double chart::EquidistantTickFactory::m_fOuterMajorTickBorderMin_Scaled
private

Definition at line 140 of file Tickmarks_Equidistant.hxx.

Referenced by EquidistantTickFactory(), and isWithinOuterBorder().

◆ m_fScaledVisibleMax

double chart::EquidistantTickFactory::m_fScaledVisibleMax
private

Definition at line 133 of file Tickmarks_Equidistant.hxx.

Referenced by EquidistantTickFactory(), getMaxTickCount(), and isVisible().

◆ m_fScaledVisibleMin

double chart::EquidistantTickFactory::m_fScaledVisibleMin
private

Definition at line 132 of file Tickmarks_Equidistant.hxx.

Referenced by EquidistantTickFactory(), getMaxTickCount(), and isVisible().

◆ m_pfCurrentValues

std::unique_ptr<double[]> chart::EquidistantTickFactory::m_pfCurrentValues
private

Definition at line 136 of file Tickmarks_Equidistant.hxx.

Referenced by EquidistantTickFactory(), getMajorTick(), and getMinorTick().

◆ m_rIncrement

ExplicitIncrementData chart::EquidistantTickFactory::m_rIncrement
private

◆ m_rScale

ExplicitScaleData chart::EquidistantTickFactory::m_rScale
private

◆ m_xInverseScaling

css::uno::Reference< css::chart2::XScaling > chart::EquidistantTickFactory::m_xInverseScaling
private

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