Blender V5.0
blender::nodes::node_composite_scale_cc Namespace Reference

Classes

class  ScaleOperation

Functions

static void cmp_node_scale_declare (NodeDeclarationBuilder &b)
static void node_composit_init_scale (bNodeTree *, bNode *node)
static NodeOperationget_compositor_operation (Context &context, DNode node)

Variables

static const EnumPropertyItem type_items []
static const EnumPropertyItem frame_type_items []

Function Documentation

◆ cmp_node_scale_declare()

◆ get_compositor_operation()

NodeOperation * blender::nodes::node_composite_scale_cc::get_compositor_operation ( Context & context,
DNode node )
static

Definition at line 395 of file node_composite_scale.cc.

◆ node_composit_init_scale()

void blender::nodes::node_composite_scale_cc::node_composit_init_scale ( bNodeTree * ,
bNode * node )
static

Definition at line 99 of file node_composite_scale.cc.

References data, MEM_callocN(), and bNode::storage.

Variable Documentation

◆ frame_type_items

const EnumPropertyItem blender::nodes::node_composite_scale_cc::frame_type_items[]
static
Initial value:
= {
{CMP_NODE_SCALE_RENDER_SIZE_STRETCH, "STRETCH", 0, N_("Stretch"), ""},
{CMP_NODE_SCALE_RENDER_SIZE_FIT, "FIT", 0, N_("Fit"), ""},
{CMP_NODE_SCALE_RENDER_SIZE_CROP, "CROP", 0, N_("Crop"), ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ CMP_NODE_SCALE_RENDER_SIZE_STRETCH
@ CMP_NODE_SCALE_RENDER_SIZE_FIT
@ CMP_NODE_SCALE_RENDER_SIZE_CROP
#define N_(msgid)

Definition at line 42 of file node_composite_scale.cc.

Referenced by cmp_node_scale_declare().

◆ type_items

const EnumPropertyItem blender::nodes::node_composite_scale_cc::type_items[]
static
Initial value:
= {
{CMP_NODE_SCALE_RELATIVE, "RELATIVE", 0, N_("Relative"), ""},
{CMP_NODE_SCALE_ABSOLUTE, "ABSOLUTE", 0, N_("Absolute"), ""},
{CMP_NODE_SCALE_RENDER_PERCENT, "SCENE_SIZE", 0, N_("Scene Size"), ""},
{CMP_NODE_SCALE_RENDER_SIZE, "RENDER_SIZE", 0, N_("Render Size"), ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ CMP_NODE_SCALE_RENDER_SIZE
@ CMP_NODE_SCALE_RELATIVE
@ CMP_NODE_SCALE_ABSOLUTE
@ CMP_NODE_SCALE_RENDER_PERCENT

Definition at line 33 of file node_composite_scale.cc.

Referenced by cmp_node_scale_declare().