|
Blender V4.3
|
Classes | |
| struct | TextLayout |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *C, PointerRNA *ptr) |
| static void | node_init (bNodeTree *, bNode *node) |
| static float3 | get_pivot_point (GeoNodeExecParams ¶ms, bke::CurvesGeometry &curves) |
| static std::optional< TextLayout > | get_text_layout (GeoNodeExecParams ¶ms) |
| static Map< int, int > | create_curve_instances (GeoNodeExecParams ¶ms, TextLayout &layout, bke::Instances &instances) |
| static void | add_instances_from_handles (bke::Instances &instances, const Map< int, int > &char_handles, const TextLayout &layout) |
| static void | create_attributes (GeoNodeExecParams ¶ms, const TextLayout &layout, bke::Instances &instances) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 302 of file node_geo_string_to_curves.cc.
References blender::threading::parallel_for(), and blender::nodes::node_geo_string_to_curves_cc::TextLayout::positions.
Referenced by node_geo_exec().
|
static |
Definition at line 319 of file node_geo_string_to_curves.cc.
References blender::nodes::node_geo_string_to_curves_cc::TextLayout::char_codes, create_attributes(), blender::bke::SpanAttributeWriter< T >::finish(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::nodes::node_geo_string_to_curves_cc::TextLayout::line_numbers, params, blender::nodes::node_geo_string_to_curves_cc::TextLayout::pivot_points, and blender::bke::SpanAttributeWriter< T >::span.
Referenced by create_attributes(), and node_geo_exec().
|
static |
Definition at line 254 of file node_geo_string_to_curves.cc.
References BKE_nurbList_free(), BKE_vfont_build_char(), blender::nodes::node_geo_string_to_curves_cc::TextLayout::char_codes, blender::bke::curve_legacy_to_curves(), blender::geometry::debug_randomize_curve_order(), blender::nodes::node_geo_string_to_curves_cc::TextLayout::final_font_size, blender::bke::GeometrySet::from_curves(), blender::math::from_scale(), Curves::geometry, get_pivot_point(), handles, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), CharInfo::mat_nr, Curve::nurb, OB_FONT, params, blender::nodes::node_geo_string_to_curves_cc::TextLayout::pivot_points, Curve::resolu, Curve::type, and Curve::vfont.
Referenced by node_geo_exec().
|
static |
Definition at line 85 of file node_geo_string_to_curves.cc.
References GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_BOTTOM_CENTER, GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_BOTTOM_LEFT, GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_BOTTOM_RIGHT, GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_MIDPOINT, GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_TOP_CENTER, GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_TOP_LEFT, GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_TOP_RIGHT, min, blender::bounds::min_max(), params, and NodeGeometryStringToCurves::pivot_mode.
Referenced by create_curve_instances().
|
static |
Definition at line 142 of file node_geo_string_to_curves.cc.
References NodeGeometryStringToCurves::align_x, NodeGeometryStringToCurves::align_y, BKE_vfont_to_curve_ex(), BLI_str_utf8_as_utf32(), BLI_str_utf8_offset_from_index(), BLI_strlen_utf8_ex(), blender::nodes::node_geo_string_to_curves_cc::TextLayout::char_codes, CU_CHINFO_OVERFLOW, CU_OVERFLOW_TRUNCATE, blender::Vector< T, InlineBufferCapacity, Allocator >::data(), blender::nodes::node_geo_string_to_curves_cc::TextLayout::final_font_size, flag, FO_DUPLI, GEO_NODE_STRING_TO_CURVES_MODE_OVERFLOW, blender::nodes::node_geo_string_to_curves_cc::TextLayout::line_numbers, CharTrans::linenr, MAXTEXTBOX, MEM_calloc_arrayN, MEM_callocN, MEM_freeN(), MEM_mallocN, MEM_SAFE_FREE, OB_FONT, NodeGeometryStringToCurves::overflow, params, blender::nodes::node_geo_string_to_curves_cc::TextLayout::positions, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove_last(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::nodes::node_geo_string_to_curves_cc::TextLayout::text, text_free(), TIP_, blender::nodes::node_geo_string_to_curves_cc::TextLayout::truncated_text, TextBox::w, CharTrans::xof, and CharTrans::yof.
Referenced by node_geo_exec().
|
static |
Definition at line 29 of file node_geo_string_to_curves.cc.
References b, GEO_NODE_STRING_TO_CURVES_MODE_OVERFLOW, GEO_NODE_STRING_TO_CURVES_MODE_SCALE_TO_FIT, GEO_NODE_STRING_TO_CURVES_MODE_TRUNCATE, NodeGeometryStringToCurves::overflow, PROP_DISTANCE, and blender::nodes::decl::Float::subtype.
Referenced by node_register().
|
static |
Definition at line 348 of file node_geo_string_to_curves.cc.
References add_instances_from_handles(), create_attributes(), create_curve_instances(), GEO_NODE_STRING_TO_CURVES_MODE_TRUNCATE, get_text_layout(), node_geo_exec(), NodeGeometryStringToCurves::overflow, and params.
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 73 of file node_geo_string_to_curves.cc.
References BKE_vfont_builtin_get(), data, GEO_NODE_STRING_TO_CURVES_ALIGN_X_LEFT, GEO_NODE_STRING_TO_CURVES_ALIGN_Y_TOP_BASELINE, GEO_NODE_STRING_TO_CURVES_MODE_OVERFLOW, and GEO_NODE_STRING_TO_CURVES_PIVOT_MODE_BOTTOM_LEFT.
Referenced by node_register().
|
static |
Definition at line 62 of file node_geo_string_to_curves.cc.
References IFACE_, ptr, UI_ITEM_NONE, uiItemR(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), and uiTemplateID().
Referenced by node_register().
|
static |
Definition at line 377 of file node_geo_string_to_curves.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, NODE_CLASS_GEOMETRY, node_copy_standard_storage(), node_declare(), node_free_standard_storage(), node_geo_exec(), node_init(), node_layout(), node_register(), blender::bke::node_register_type(), blender::bke::node_type_size(), and blender::bke::node_type_storage().
Referenced by node_register().