QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RFontList Class Reference

Copyright (c) 2011-2014 by Andrew Mustun. More...

#include <RFontList.h>

List of all members.

Static Public Member Functions

static RFontget (const QString &resName)
static QStringList getNames ()
static void init ()
 Initializes the font list by creating empty RFont objects, one for each font that could be found.
static bool isCadFont (const QString &fontName)
static void uninit ()

Static Private Attributes

static RResourceList< RFontres
 Copyright (c) 2011-2014 by Andrew Mustun.

Detailed Description

Copyright (c) 2011-2014 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD. The global list of fonts.

Scriptable:
This class is wrapped for script environments.

Member Function Documentation

static RFont* RFontList::get ( const QString &  resName)
inlinestatic
QStringList RFontList::getNames ( )
static
void RFontList::init ( )
static

Initializes the font list by creating empty RFont objects, one for each font that could be found.

bool RFontList::isCadFont ( const QString &  fontName)
static
Returns:
True if the given font name refers to a CAD font, false if it refers to a TTF font.
void RFontList::uninit ( )
static

Member Data Documentation

RResourceList< RFont > RFontList::res
staticprivate

Copyright (c) 2011-2014 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.


The documentation for this class was generated from the following files: