Back to FabImage Library website
You are here: Start » Function Reference » Interoperability Deprecated » LoadImage_FromDxf_Deprecated

LoadImage_FromDxf_Deprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Loads data from a DXF file as an image.
Syntax
C++
void fil::LoadImage_FromDxf_Deprecated ( const ftl::File& inDxfFile, const int inImageWidth, const int inImageHeight, const fil::Pixel& inBackgroundColor, ftl::Optional<const ftl::Array<ftl::String> &> inLayersToDraw, fil::Image& outImage, ftl::Array<ftl::String>& diagFileLayersNames )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inDxfFile | const File& | |||
![]() |
inImageWidth | const int | 0 - 65536 | 640 | |
![]() |
inImageHeight | const int | 0 - 65536 | 480 | |
![]() |
inBackgroundColor | const Pixel& | |||
![]() |
inLayersToDraw | Optional<const Array<String> &> | NIL | Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output | |
![]() |
outImage | Image& | Output image | ||
![]() |
diagFileLayersNames | Array<String>& | Names of all layers in DXF file |