KDE 4.9 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

LayerInterface Class Reference

from PyKDE4.marble import *

Namespace: Marble

Detailed Description


Methods

bool render (self, Marble.GeoPainter painter, Marble.ViewportParams viewport, QString renderPos, Marble.GeoSceneLayer layer)
QStringList renderPosition (self)
QString runtimeTrace (self)
float zValue (self)

Method Documentation

bool render (  self,
Marble.GeoPainter  painter,
Marble.ViewportParams  viewport,
QString  renderPos,
Marble.GeoSceneLayer  layer
)
Abstract method:
This method is abstract and can be overridden but not called directly.

Renders the content provided by the layer on the viewport.

Parameters:
painter  painter object allowing to paint on the map
viewport  metadata, such as current projection, screen dimension, etc.
renderPos  current render position
layer  deprecated, always zero (NULL)

Returns:
true Returns whether the rendering has been successful

QStringList renderPosition (   self )
Abstract method:
This method is abstract and can be overridden but not called directly.

Preferred level in the layer stack for the rendering

Gives a preferred level in the existing layer stack where the render() method of this plugin should get executed. . Possible Values: "NONE" "STARS" "BEHIND_TARGET" "SURFACE" "HOVERS_ABOVE_SURFACE" "ATMOSPHERE" "ORBIT" "ALWAYS_ON_TOP" "FLOAT_ITEM" "USER_TOOLS"

QString runtimeTrace (   self )

Returns a debug line for perfo/tracing issues

float zValue (   self )

Returns the z value of the layer (default: 0.0). If two layers are painted at the same render position, the one with the higher z value is painted on top. If both have the same z value, their paint order is undefined.

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal