LuciadCPillar 2024.0.08
drawing

Drawing-related concepts like Icons, Color, Image, ... More...

Classes

class  luciad::Color
 Represents a color based on RGBA (red, green, blue, alpha). More...
 
class  luciad::IconPainterContext
 Contains context information for painting the icon. More...
 
class  luciad::IIcon
 Represents an icon, that can for example be used when painting point data or labels. More...
 
class  luciad::IIconPainter
 An icon painter can paint an icon as an Image. More...
 
class  luciad::Image
 An image with a width, height and pixel data in a specified pixel format. More...
 
class  luciad::ImageIcon
 Helper class for loading JPEG or PNG files. More...
 
struct  luciad::RelativePosition
 Describes a position relative to an anchor, with a rotation, alignment and offset. More...
 

Enumerations

enum class  luciad::HorizontalAlignment { luciad::HorizontalAlignment::Left , luciad::HorizontalAlignment::Center , luciad::HorizontalAlignment::Right }
 Represents the horizontal alignment of, for example, icons or labels. More...
 
enum class  luciad::MipmapFilteringType { luciad::MipmapFilteringType::NoMipmapFiltering , luciad::MipmapFilteringType::NearestMipmapping , luciad::MipmapFilteringType::LinearMipmapping , luciad::MipmapFilteringType::BasedOnData }
 Mipmap filtering is a technique used to reduce the visual artifacts that occurs when a high resolution texture is rendered onto a small surface. More...
 
enum class  luciad::PixelFormat {
  luciad::PixelFormat::Rgb888 , luciad::PixelFormat::Rgba8888 , luciad::PixelFormat::Float32 , luciad::PixelFormat::Rgb32 ,
  luciad::PixelFormat::UnsignedShort , luciad::PixelFormat::Rgb565
}
 Enumeration for the supported pixel formats. More...
 
enum class  luciad::VerticalAlignment { luciad::VerticalAlignment::Top , luciad::VerticalAlignment::Center , luciad::VerticalAlignment::Bottom }
 Represents the vertical alignment of, for example, icons or labels. More...
 

Detailed Description

Drawing-related concepts like Icons, Color, Image, ...

Enumeration Type Documentation

◆ HorizontalAlignment

enum class luciad::HorizontalAlignment
strong

Represents the horizontal alignment of, for example, icons or labels.

luciad/drawing/HorizontalAlignment.h

Enumerator
Left 

Indicates that the item's left sides are aligned horizontally.

Center 

Indicates that the item's centers are aligned horizontally.

Right 

Indicates that the item's right sides are aligned horizontally.

◆ MipmapFilteringType

enum class luciad::MipmapFilteringType
strong

Mipmap filtering is a technique used to reduce the visual artifacts that occurs when a high resolution texture is rendered onto a small surface.

luciad/drawing/MipmapFilteringType.h

The system uses lower resolution textures (mipmaps) to better approximate the exact color.

Enumerator
NoMipmapFiltering 

No mipmap filtering is applied.

NearestMipmapping 

Simplest filtering mode: only use the nearest fitted mipmap.

LinearMipmapping 

More advanced filtering mode: interpolate linearly between multiple level of mipmaps.

BasedOnData 

Do not override the filtering mode and use the mode specified in the data.

If the data does not define any mode then no mipmap filtering will be assumed.

◆ PixelFormat

enum class luciad::PixelFormat
strong

Enumeration for the supported pixel formats.

luciad/drawing/PixelFormat.h

Enumerator
Rgb888 

RGB values using 24 bits, i.e., 3 unsigned bytes.

Rgba8888 

RGBA values using 32 bits, i.e., 4 unsigned bytes.

Float32 

Single band 32-bit float values.

Rgb32 

RGB values with each band using 32 bits, i.e., 3 floats.

Since
2021.1
UnsignedShort 

16-bit unsigned integer values

Rgb565 

RGB values using 16 bits, i.e., 2 unsigned bytes, layed out as 5+6+5 bits.

Since
2021.1

◆ VerticalAlignment

enum class luciad::VerticalAlignment
strong

Represents the vertical alignment of, for example, icons or labels.

luciad/drawing/VerticalAlignment.h

Enumerator
Top 

Indicates that the item's top sides are aligned vertically.

Center 

Indicates that the item's centers are aligned vertically.

Bottom 

Indicates that the item's bottom sides are aligned vertically.