Table of Contents

Namespace CADability.Forms

Classes

BitmapTable
ButtonImages

Images for tool-bar buttons and menu icons. Images should have the size 16*15 pixel. ButtonImageList contains images from the CADability Resource and are loaded upon the static construction of ButtonImages. To use your own Images for buttons in CADability menu items simply add more images to the static ButtonImageList. Some "MenuItem" entries in the MenuResource.xml have the attribute "IconNr". If IconNr is less than 10000, it is an index in the ButtonImageList (provided by CADability). If IconNr is greater or equal 10000 it is an index(-10000) to the images you have added to the ButtonImageList (starting with 0)

CadCanvas

Implements a Windows.Forms.Control to render a CADability view with OpenGL or GDI.

CadControl

This class is an UserControl which allow us to use the cad in a custom form. The idea is not to force the user to use a form derived from CadForm. If the CreateMainMenu property is true, it creates the MainMenu in the parent form. The ProgressAction property allow us to use a custom progress ui.

CadForm
CadFrame

Implementation of the abstract FrameImpl, doing things, you cannot do in .NET Core

GdiFontProvider

A FontProvider that gets the fonts from GDI and GDI+, as CADability did before issue #412: the glyph outlines from AddString(string, FontFamily, int, float, PointF, StringFormat), the widths and the kerning from gdi32. It knows every font Windows knows (also OpenType fonts with CFF outlines) and synthesizes bold and italic faces a family does not have. As soon as one of the main classes of CADability.Forms is used (CadControl, CadCanvas, CadFrame, PaintToOpenGL or PaintToGDI), this provider becomes the default, so that Windows Forms applications show their texts as before. An application that sets Current itself keeps its choice, e.g. FontProvider.Current = new ManagedFontProvider(); for the same fonts as on the other platforms.

PaintToBitmap

Class to create a bitmap and draw IGeoObjects or Models on the it. GDI+ is used for drawing, not OpenGL.

PaintToGDI
PaintToOpenGL

Implementation of IPaintTo3D via OpenGL

PaintToOpenGLException
ProgressForm
PropertiesExplorer
PropertyPage