Beispiel #1
0
QgsColorRamp* QgsStyle::colorRamp( const QString& name ) const
{
  const QgsColorRamp *ramp = colorRampRef( name );
  return ramp ? ramp->clone() : nullptr;
}
Beispiel #2
0
QgsVectorColorRampV2* QgsStyleV2::colorRamp( QString name )
{
  const QgsVectorColorRampV2 *ramp = colorRampRef( name );
  return ramp ? ramp->clone() : 0;
}
Beispiel #3
0
QgsVectorColorRampV2* QgsStyleV2::colorRamp( const QString& name )
{
  const QgsVectorColorRampV2 *ramp = colorRampRef( name );
  return ramp ? ramp->clone() : nullptr;
}