• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

kblackbox

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KBBGraphicsItemBorder Class Reference

#include <kbbgraphicsitemborder.h>

Inheritance diagram for KBBGraphicsItemBorder:
Inheritance graph
[legend]

Public Member Functions

 KBBGraphicsItemBorder (int borderPosition, int columns, int rows, float offset)
 
void setSize (int borderPosition, int columns, int rows)
 

Protected Member Functions

void centerCoordinate (int borderPosition, float &centerX, float &centerY, float offset)
 
float centerX () const
 
float centerY () const
 
int rotationAngle ()
 
void setBorderPosition (int borderPosition)
 

Protected Attributes

int m_borderPosition
 
float m_centerX
 
float m_centerY
 
int m_columns
 
float m_offset
 
int m_rows
 

Detailed Description

Any border element of the scalable graphic widget.

Definition at line 40 of file kbbgraphicsitemborder.h.

Constructor & Destructor Documentation

KBBGraphicsItemBorder::KBBGraphicsItemBorder ( int  borderPosition,
int  columns,
int  rows,
float  offset 
)

Constructor.

Definition at line 42 of file kbbgraphicsitemborder.cpp.

Member Function Documentation

void KBBGraphicsItemBorder::centerCoordinate ( int  borderPosition,
float &  centerX,
float &  centerY,
float  offset 
)
protected

Definition at line 76 of file kbbgraphicsitemborder.cpp.

float KBBGraphicsItemBorder::centerX ( ) const
protected

Definition at line 101 of file kbbgraphicsitemborder.cpp.

float KBBGraphicsItemBorder::centerY ( ) const
protected

Definition at line 107 of file kbbgraphicsitemborder.cpp.

int KBBGraphicsItemBorder::rotationAngle ( )
protected

Definition at line 113 of file kbbgraphicsitemborder.cpp.

void KBBGraphicsItemBorder::setBorderPosition ( int  borderPosition)
protected

Definition at line 70 of file kbbgraphicsitemborder.cpp.

void KBBGraphicsItemBorder::setSize ( int  borderPosition,
int  columns,
int  rows 
)

Definition at line 55 of file kbbgraphicsitemborder.cpp.

Member Data Documentation

int KBBGraphicsItemBorder::m_borderPosition
protected

Definition at line 59 of file kbbgraphicsitemborder.h.

float KBBGraphicsItemBorder::m_centerX
protected

Definition at line 60 of file kbbgraphicsitemborder.h.

float KBBGraphicsItemBorder::m_centerY
protected

Definition at line 61 of file kbbgraphicsitemborder.h.

int KBBGraphicsItemBorder::m_columns
protected

Definition at line 62 of file kbbgraphicsitemborder.h.

float KBBGraphicsItemBorder::m_offset
protected

Definition at line 63 of file kbbgraphicsitemborder.h.

int KBBGraphicsItemBorder::m_rows
protected

Definition at line 64 of file kbbgraphicsitemborder.h.


The documentation for this class was generated from the following files:
  • kbbgraphicsitemborder.h
  • kbbgraphicsitemborder.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kblackbox

Skip menu "kblackbox"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal