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

Classes

class  ScaleOperation

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_init (bNodeTree *, bNode *node)
static NodeOperation * get_compositor_operation (Context &context, const bNode &node)
static void node_register ()

Variables

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

Function Documentation

◆ get_compositor_operation()

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

Definition at line 386 of file node_composite_scale.cc.

References get_compositor_operation(), and node.

Referenced by get_compositor_operation(), and node_register().

◆ node_declare()

◆ node_init()

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

Definition at line 96 of file node_composite_scale.cc.

References blender::data, node, and node_init().

Referenced by node_init(), and node_register().

◆ node_register()

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_CROP
@ CMP_NODE_SCALE_RENDER_SIZE_FIT
#define N_(msgid)

Definition at line 35 of file node_composite_scale.cc.

Referenced by node_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_ABSOLUTE
@ CMP_NODE_SCALE_RENDER_PERCENT
@ CMP_NODE_SCALE_RELATIVE
@ CMP_NODE_SCALE_RENDER_SIZE

Definition at line 26 of file node_composite_scale.cc.

Referenced by node_declare().