The TitleBlockTemplateRenderer class.
More...
#include <titleblocktemplaterenderer.h>
Inherits QObject.
◆ TitleBlockTemplateRenderer()
TitleBlockTemplateRenderer::TitleBlockTemplateRenderer |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~TitleBlockTemplateRenderer()
TitleBlockTemplateRenderer::~TitleBlockTemplateRenderer |
( |
| ) |
|
|
override |
◆ context()
◆ height()
int TitleBlockTemplateRenderer::height |
( |
| ) |
const |
◆ invalidateRenderedTemplate()
void TitleBlockTemplateRenderer::invalidateRenderedTemplate |
( |
| ) |
|
◆ render()
void TitleBlockTemplateRenderer::render |
( |
QPainter * |
provided_painter, |
|
|
int |
titleblock_width |
|
) |
| |
TitleBlockTemplateRenderer::render Render the titleblock.
- Parameters
-
provided_painter | : QPainter to use to render the titleblock. |
titleblock_width | : The total width of the titleblock to render |
◆ renderDxf()
void TitleBlockTemplateRenderer::renderDxf |
( |
QRectF & |
title_block_rect, |
|
|
int |
titleblock_width, |
|
|
QString & |
file_path, |
|
|
int |
color |
|
) |
| |
◆ renderToQPicture()
void TitleBlockTemplateRenderer::renderToQPicture |
( |
int |
titleblock_width | ) |
|
|
private |
◆ setContext()
void TitleBlockTemplateRenderer::setContext |
( |
const DiagramContext & |
context | ) |
|
◆ setTitleBlockTemplate()
void TitleBlockTemplateRenderer::setTitleBlockTemplate |
( |
const TitleBlockTemplate * |
titleblock_template | ) |
|
◆ setUseCache()
void TitleBlockTemplateRenderer::setUseCache |
( |
bool |
use_cache | ) |
|
◆ titleBlockTemplate()
◆ useCache()
bool TitleBlockTemplateRenderer::useCache |
( |
| ) |
const |
◆ m_context
◆ m_last_known_titleblock_width
int TitleBlockTemplateRenderer::m_last_known_titleblock_width |
|
private |
◆ m_rendered_template
QPicture TitleBlockTemplateRenderer::m_rendered_template |
|
private |
◆ m_titleblock_template
◆ m_use_cache
bool TitleBlockTemplateRenderer::m_use_cache |
|
private |
The documentation for this class was generated from the following files: