Home
last modified time | relevance | path

Searched refs:shapeFlags (Results 1 – 2 of 2) sorted by relevance

/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp557 uint8 shapeFlags = 0; in _WritePathSourceShape() local
560 shapeFlags |= SHAPE_FLAG_TRANSLATION; in _WritePathSourceShape()
562 shapeFlags |= SHAPE_FLAG_TRANSFORM; in _WritePathSourceShape()
565 shapeFlags |= SHAPE_FLAG_HINTING; in _WritePathSourceShape()
568 shapeFlags |= SHAPE_FLAG_LOD_SCALE; in _WritePathSourceShape()
570 shapeFlags |= SHAPE_FLAG_HAS_TRANSFORMERS; in _WritePathSourceShape()
572 if (!buffer.Write((uint8)shapeFlags)) in _WritePathSourceShape()
575 if (shapeFlags & SHAPE_FLAG_TRANSFORM) { in _WritePathSourceShape()
579 } else if (shapeFlags & SHAPE_FLAG_TRANSLATION) { in _WritePathSourceShape()
585 if (shapeFlags & SHAPE_FLAG_LOD_SCALE) { in _WritePathSourceShape()
[all …]
/haiku/src/libs/icon/flat_icon/
H A DFlatIconImporter.cpp585 uint8 shapeFlags; in _ReadPathSourceShape() local
586 if (!buffer.Read(shapeFlags)) in _ReadPathSourceShape()
589 shape->SetHinting(shapeFlags & SHAPE_FLAG_HINTING); in _ReadPathSourceShape()
591 if (shapeFlags & SHAPE_FLAG_TRANSFORM) { in _ReadPathSourceShape()
595 } else if (shapeFlags & SHAPE_FLAG_TRANSLATION) { in _ReadPathSourceShape()
601 if (shapeFlags & SHAPE_FLAG_LOD_SCALE) { in _ReadPathSourceShape()
612 if (shapeFlags & SHAPE_FLAG_HAS_TRANSFORMERS) { in _ReadPathSourceShape()