The diagram.cpp
File Reference
Included Headers
Classes Index
class | DiagramItem |
Class representing a single node in the built-in class diagram. More... | |
class | DiagramRow |
Class representing a row in the built-in class diagram. More... | |
class | TreeDiagram |
Class representing the tree layout for the built-in class diagram. More... | |
class | DualDirIterator<C, I> |
helper class representing an iterator that can iterate forwards or backwards More... | |
struct | Private |
Typedefs Index
using | DiagramItemList = std::vector< DiagramItem * > |
Functions Index
static uint32_t | protToMask (Protection p) |
static uint8_t | protToColor (Protection p) |
static QCString | protToString (Protection p) |
static uint32_t | virtToMask (Specifier p) |
static QCString | convertToPSString (const QCString &s) |
static Protection | getMinProtectionLevel (const DiagramItemList &dil) |
static void | writeBitmapBox (DiagramItem *di, Image *image, uint32_t x, uint32_t y, uint32_t w, uint32_t h, bool firstRow, bool hasDocs, bool children=FALSE) |
static void | writeVectorBox (TextStream &t, DiagramItem *di, float x, float y, bool children=FALSE) |
static void | writeMapArea (TextStream &t, const ClassDef *cd, QCString relPath, uint32_t x, uint32_t y, uint32_t w, uint32_t h) |
Variables Index
const uint32_t | maxTreeWidth = 8 |
const uint32_t | gridWidth = 100 |
const uint32_t | gridHeight = 100 |
const uint32_t | labelHorSpacing = 10 |
const uint32_t | labelVertSpacing = 32 |
const uint32_t | labelHorMargin = 6 |
const uint32_t | fontHeight = 12 |
Macro Definitions Index
#define | IMAGE_EXT ".png" |
Typedefs
DiagramItemList
|
Definition at line 38 of file diagram.cpp.
Functions
convertToPSString()
| static |
Definition at line 195 of file diagram.cpp.
References GrowBuf::addChar, GrowBuf::addStr, QCString::data, GrowBuf::get and QCString::isEmpty.
Referenced by ClassDiagram::writeFigure and writeVectorBox.
getMinProtectionLevel()
| static |
Definition at line 215 of file diagram.cpp.
Referenced by TreeDiagram::drawConnectors.
protToColor()
| static |
Definition at line 160 of file diagram.cpp.
Referenced by TreeDiagram::drawConnectors.
protToMask()
| static |
Definition at line 148 of file diagram.cpp.
Referenced by TreeDiagram::drawConnectors.
protToString()
| static |
Definition at line 172 of file diagram.cpp.
Referenced by TreeDiagram::drawConnectors.
virtToMask()
| static |
Definition at line 184 of file diagram.cpp.
Referenced by writeBitmapBox.
writeBitmapBox()
| static |
Definition at line 235 of file diagram.cpp.
References Image::drawHorzLine, Image::drawRect, FALSE, Image::fillRect, fontHeight, DiagramItem::label, Image::stringLength, virtToMask, DiagramItem::virtualness and Image::writeString.
Referenced by TreeDiagram::drawBoxes.
writeMapArea()
| static |
Definition at line 264 of file diagram.cpp.
References addHtmlExtensionIfMissing, Definition::anchor, Definition::briefDescriptionAsTooltip, convertToHtml, convertToXML, Definition::displayName, externalLinkTarget, externalRef, Definition::getOutputFileBase, Definition::getReference, QCString::isEmpty, Definition::isLinkable and TRUE.
Referenced by TreeDiagram::drawBoxes.
writeVectorBox()
| static |
Definition at line 255 of file diagram.cpp.
References convertToPSString, FALSE, DiagramItem::label and DiagramItem::virtualness.
Referenced by TreeDiagram::drawBoxes.
Variables
fontHeight
|
Definition at line 146 of file diagram.cpp.
Referenced by writeBitmapBox and ClassDiagram::writeImage.
gridHeight
|
Definition at line 141 of file diagram.cpp.
Referenced by TreeDiagram::drawBoxes, TreeDiagram::drawConnectors and DiagramRow::insertClass.
gridWidth
|
Definition at line 140 of file diagram.cpp.
Referenced by TreeDiagram::computeLayout, TreeDiagram::drawBoxes, TreeDiagram::drawConnectors, DiagramRow::insertClass, ClassDiagram::writeFigure and ClassDiagram::writeImage.
labelHorMargin
|
Definition at line 145 of file diagram.cpp.
Referenced by ClassDiagram::writeImage.
labelHorSpacing
|
Definition at line 143 of file diagram.cpp.
Referenced by TreeDiagram::drawBoxes, TreeDiagram::drawConnectors and ClassDiagram::writeImage.
labelVertSpacing
|
Definition at line 144 of file diagram.cpp.
Referenced by TreeDiagram::drawBoxes, TreeDiagram::drawConnectors and ClassDiagram::writeImage.
maxTreeWidth
|
Definition at line 139 of file diagram.cpp.
Referenced by TreeDiagram::computeLayout.
Macro Definitions
IMAGE_EXT
|
Definition at line 1396 of file diagram.cpp.
Referenced by ClassDiagram::writeImage.
Generated via doxygen2docusaurus by Doxygen 1.14.0.