|
Blender V4.3
|
Inherits blender::ed::greasepencil::undo::StepDrawingGeometryBase.
Public Member Functions | |
| void | encode (const GreasePencilDrawingReference &drawing_reference, const int64_t drawing_index, StepEncodeStatus &) |
| void | decode (GreasePencil &grease_pencil, StepDecodeStatus &decode_status) const |
| void | foreach_id_ref (UndoTypeForEachIDRefFn foreach_ID_ref_fn, void *user_data) |
Additional Inherited Members | |
Protected Member Functions inherited from blender::ed::greasepencil::undo::StepDrawingGeometryBase | |
| void | decode_valid_drawingtype_at_index_ensure (MutableSpan< GreasePencilDrawingBase * > drawings, const GreasePencilDrawingType drawing_type) const |
Protected Attributes inherited from blender::ed::greasepencil::undo::StepDrawingGeometryBase | |
| int | index_ |
| uint32_t | flag_ |
Definition at line 154 of file grease_pencil_undo.cc.
|
inline |
Definition at line 169 of file grease_pencil_undo.cc.
References GreasePencilDrawingReference::base, BLI_assert, blender::ed::greasepencil::undo::StepDrawingGeometryBase::decode_valid_drawingtype_at_index_ensure(), GreasePencilDrawingBase::flag, blender::ed::greasepencil::undo::StepDrawingGeometryBase::flag_, GP_DRAWING_REFERENCE, GreasePencilDrawingReference::id_reference, id_us_min(), id_us_plus(), blender::ed::greasepencil::undo::StepDrawingGeometryBase::index_, and blender::ed::greasepencil::undo::StepDecodeStatus::needs_relationships_update.
|
inline |
Definition at line 158 of file grease_pencil_undo.cc.
References GreasePencilDrawingReference::base, BLI_assert, GreasePencilDrawingBase::flag, blender::ed::greasepencil::undo::StepDrawingGeometryBase::flag_, GreasePencilDrawingReference::id_reference, blender::ed::greasepencil::undo::StepDrawingGeometryBase::index_, int, and INT32_MAX.
|
inline |
Definition at line 187 of file grease_pencil_undo.cc.