/dports/graphics/gimp-app/gimp-2.10.30/app/core/ |
H A D | gimppickable.c | 115 gimp_pickable_flush (GimpPickable *pickable) in gimp_pickable_flush() argument 119 g_return_if_fail (GIMP_IS_PICKABLE (pickable)); in gimp_pickable_flush() 124 pickable_iface->flush (pickable); in gimp_pickable_flush() 128 gimp_pickable_get_image (GimpPickable *pickable) in gimp_pickable_get_image() argument 137 return pickable_iface->get_image (pickable); in gimp_pickable_get_image() 143 gimp_pickable_get_format (GimpPickable *pickable) in gimp_pickable_get_format() argument 152 return pickable_iface->get_format (pickable); in gimp_pickable_get_format() 173 gimp_pickable_get_buffer (GimpPickable *pickable) in gimp_pickable_get_buffer() argument 182 return pickable_iface->get_buffer (pickable); in gimp_pickable_get_buffer() 332 gimp_pickable_srgb_to_pixel (pickable, in gimp_pickable_srgb_to_image_color() [all …]
|
H A D | gimppickable.h | 38 void (* flush) (GimpPickable *pickable); 39 GimpImage * (* get_image) (GimpPickable *pickable); 40 const Babl * (* get_format) (GimpPickable *pickable); 41 const Babl * (* get_format_with_alpha) (GimpPickable *pickable); 42 GeglBuffer * (* get_buffer) (GimpPickable *pickable); 43 gboolean (* get_pixel_at) (GimpPickable *pickable, 48 gdouble (* get_opacity_at) (GimpPickable *pickable, 51 void (* get_pixel_average) (GimpPickable *pickable, 55 void (* pixel_to_srgb) (GimpPickable *pickable, 59 void (* srgb_to_pixel) (GimpPickable *pickable, [all …]
|
H A D | gimpimageproxy.c | 389 GimpPickable *pickable; in gimp_image_proxy_get_new_preview() local 409 gegl_buffer_get (gimp_pickable_get_buffer (pickable), in gimp_image_proxy_get_new_preview() 430 GimpPickable *pickable; in gimp_image_proxy_get_new_pixbuf() local 460 gegl_buffer_get (gimp_pickable_get_buffer (pickable), in gimp_image_proxy_get_new_pixbuf() 518 gimp_image_proxy_flush (GimpPickable *pickable) in gimp_image_proxy_flush() argument 529 gimp_image_proxy_get_format (GimpPickable *pickable) in gimp_image_proxy_get_format() argument 551 gimp_image_proxy_get_buffer (GimpPickable *pickable) in gimp_image_proxy_get_buffer() argument 562 gimp_image_proxy_get_pixel_at (GimpPickable *pickable, in gimp_image_proxy_get_pixel_at() argument 577 gimp_image_proxy_get_opacity_at (GimpPickable *pickable, in gimp_image_proxy_get_opacity_at() argument 604 gimp_image_proxy_pixel_to_srgb (GimpPickable *pickable, in gimp_image_proxy_pixel_to_srgb() argument [all …]
|
H A D | gimpimage-pick-color.c | 50 GimpPickable *pickable; in gimp_image_pick_color() local 90 pickable = GIMP_PICKABLE (image); in gimp_image_pick_color() 92 pickable = GIMP_PICKABLE (gimp_image_get_projection (image)); in gimp_image_pick_color() 102 pickable = GIMP_PICKABLE (drawable); in gimp_image_pick_color() 111 *sample_format = gimp_pickable_get_format (pickable); in gimp_image_pick_color() 113 result = gimp_pickable_pick_color (pickable, x, y, in gimp_image_pick_color() 129 GeglBuffer *buffer = gimp_pickable_get_buffer (pickable); in gimp_image_pick_color() 141 gimp_pickable_pixel_to_srgb (pickable, format, sample, color); in gimp_image_pick_color()
|
H A D | gimppickable-auto-shrink.c | 62 gimp_pickable_auto_shrink (GimpPickable *pickable, in gimp_pickable_auto_shrink() argument 83 g_return_val_if_fail (GIMP_IS_PICKABLE (pickable), FALSE); in gimp_pickable_auto_shrink() 89 gimp_set_busy (gimp_pickable_get_image (pickable)->gimp); in gimp_pickable_auto_shrink() 97 gimp_pickable_flush (pickable); in gimp_pickable_auto_shrink() 99 buffer = gimp_pickable_get_buffer (pickable); in gimp_pickable_auto_shrink() 114 switch (gimp_pickable_guess_bgcolor (pickable, bgcolor, in gimp_pickable_auto_shrink() 229 gimp_unset_busy (gimp_pickable_get_image (pickable)->gimp); in gimp_pickable_auto_shrink() 238 gimp_pickable_guess_bgcolor (GimpPickable *pickable, in gimp_pickable_guess_bgcolor() argument 259 if (! gimp_pickable_get_pixel_at (pickable, x1, y1, format, tl) || in gimp_pickable_guess_bgcolor() 260 ! gimp_pickable_get_pixel_at (pickable, x1, y2, format, tr) || in gimp_pickable_guess_bgcolor() [all …]
|
H A D | gimpprojection.c | 324 GimpProjection *proj = GIMP_PROJECTION (pickable); in gimp_projection_pickable_flush() 327 gimp_projection_get_buffer (pickable); in gimp_projection_pickable_flush() 344 gimp_projection_get_image (GimpPickable *pickable) in gimp_projection_get_image() argument 346 GimpProjection *proj = GIMP_PROJECTION (pickable); in gimp_projection_get_image() 352 gimp_projection_get_format (GimpPickable *pickable) in gimp_projection_get_format() argument 354 GimpProjection *proj = GIMP_PROJECTION (pickable); in gimp_projection_get_format() 360 gimp_projection_get_buffer (GimpPickable *pickable) in gimp_projection_get_buffer() argument 362 GimpProjection *proj = GIMP_PROJECTION (pickable); in gimp_projection_get_buffer() 391 gimp_projection_get_pixel_at (GimpPickable *pickable, in gimp_projection_get_pixel_at() argument 443 GimpProjection *proj = GIMP_PROJECTION (pickable); in gimp_projection_pixel_to_srgb() [all …]
|
H A D | gimpselection.c | 642 GimpPickable *pickable, in gimp_selection_extract() argument 661 g_return_val_if_fail (GIMP_IS_PICKABLE (pickable), NULL); in gimp_selection_extract() 662 if (GIMP_IS_ITEM (pickable)) in gimp_selection_extract() 667 image = gimp_pickable_get_image (pickable); in gimp_selection_extract() 675 if (GIMP_IS_DRAWABLE (pickable)) in gimp_selection_extract() 710 src_format = gimp_pickable_get_format (pickable); in gimp_selection_extract() 728 gimp_pickable_flush (pickable); in gimp_selection_extract() 730 src_buffer = gimp_pickable_get_buffer (pickable); in gimp_selection_extract() 765 if (GIMP_IS_LAYER (pickable)) in gimp_selection_extract() 770 else if (GIMP_IS_LAYER_MASK (pickable)) in gimp_selection_extract() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/app/widgets/ |
H A D | gimppickablebutton.c | 56 GimpPickable *pickable; member 223 g_value_set_object (value, button->private->pickable); in gimp_pickable_button_get_property() 255 if (pickable) in gimp_pickable_button_popup_confirm() 256 gimp_pickable_button_set_pickable (button, pickable); in gimp_pickable_button_popup_confirm() 275 GeglBuffer *buffer = gimp_pickable_get_buffer (pickable); in gimp_pickable_button_notify_buffer() 315 return button->private->pickable; in gimp_pickable_button_get_pickable() 324 if (pickable != button->private->pickable) in gimp_pickable_button_set_pickable() 326 if (button->private->pickable) in gimp_pickable_button_set_pickable() 331 g_set_object (&button->private->pickable, pickable); in gimp_pickable_button_set_pickable() 333 if (button->private->pickable) in gimp_pickable_button_set_pickable() [all …]
|
H A D | gimpbuffersourcebox.c | 58 GimpPickable *pickable; member 165 box->priv->pickable); in gimp_buffer_source_box_constructed() 217 box->priv->pickable = g_value_get_object (value); in gimp_buffer_source_box_set_property() 220 box->priv->pickable); in gimp_buffer_source_box_set_property() 259 g_value_set_object (value, box->priv->pickable); in gimp_buffer_source_box_get_property() 277 if (box->priv->pickable) in gimp_buffer_source_box_update_node() 283 gimp_pickable_flush (box->priv->pickable); in gimp_buffer_source_box_update_node() 289 gimp_pickable_get_buffer (box->priv->pickable)); in gimp_buffer_source_box_update_node() 292 desc = gimp_viewable_get_description (GIMP_VIEWABLE (box->priv->pickable), in gimp_buffer_source_box_update_node() 314 box->priv->pickable = gimp_pickable_button_get_pickable (button); in gimp_buffer_source_box_notify_pickable()
|
H A D | gimppickablepopup.c | 56 GimpPickable *pickable; member 84 GimpPickable *pickable, 266 g_clear_object (&popup->priv->pickable); in gimp_pickable_popup_finalize() 318 g_value_set_object (value, popup->priv->pickable); in gimp_pickable_popup_get_property() 359 GimpPickable *pickable = NULL; in gimp_pickable_popup_get_pickable() local 367 pickable = GIMP_PICKABLE (gimp_context_get_image (popup->priv->context)); in gimp_pickable_popup_get_pickable() 376 pickable = selected->data; in gimp_pickable_popup_get_pickable() 387 pickable = selected->data; in gimp_pickable_popup_get_pickable() 392 return pickable; in gimp_pickable_popup_get_pickable() 431 GimpPickable *pickable, in gimp_pickable_popup_item_activate() argument
|
/dports/graphics/gimp-app/gimp-2.10.30/app/display/ |
H A D | gimpcanvastransformpreview.c | 70 GimpPickable *pickable; member 457 if (private->pickable && GIMP_IS_LAYER (private->pickable)) in gimp_canvas_transform_preview_set_pickable() 460 private->pickable, in gimp_canvas_transform_preview_set_pickable() 465 g_set_object (&private->pickable, pickable); in gimp_canvas_transform_preview_set_pickable() 467 if (pickable && GIMP_IS_LAYER (pickable)) in gimp_canvas_transform_preview_set_pickable() 491 GimpPickable *pickable = private->pickable; in gimp_canvas_transform_preview_sync_node() local 579 if (GIMP_IS_ITEM (pickable)) in gimp_canvas_transform_preview_sync_node() 590 if (GIMP_IS_LAYER (pickable)) in gimp_canvas_transform_preview_sync_node() 618 if (pickable != private->node_pickable) in gimp_canvas_transform_preview_sync_node() 622 gimp_pickable_flush (pickable); in gimp_canvas_transform_preview_sync_node() [all …]
|
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/ |
H A D | EditorContext.cpp | 223 void doVisit(const Model::Layer* layer) { setResult(m_this.pickable(layer)); } in doVisit() 229 bool EditorContext::pickable(const Model::Node* node) const { in pickable() function in TrenchBroom::Model::EditorContext 235 bool EditorContext::pickable(const Model::Layer* layer) const { in pickable() function in TrenchBroom::Model::EditorContext 239 bool EditorContext::pickable(const Model::Group* group) const { in pickable() function in TrenchBroom::Model::EditorContext 246 bool EditorContext::pickable(const Model::Entity* entity) const { in pickable() function in TrenchBroom::Model::EditorContext 257 bool EditorContext::pickable(const Model::Brush* brush) const { in pickable() function in TrenchBroom::Model::EditorContext 268 bool EditorContext::pickable(const Model::BrushFace* face) const { in pickable() function in TrenchBroom::Model::EditorContext 297 return visible(group) && editable(group) && pickable(group); in selectable() 301 return visible(entity) && editable(entity) && pickable(entity); in selectable() 305 return visible(brush) && editable(brush) && pickable(brush); in selectable() [all …]
|
H A D | EditorContext.h | 94 bool pickable(const Model::Node* node) const; 95 bool pickable(const Model::Layer* layer) const; 96 bool pickable(const Model::Group* group) const; 97 bool pickable(const Model::Entity* entity) const; 98 bool pickable(const Model::Brush* brush) const; 99 bool pickable(const Model::BrushFace* face) const;
|
/dports/graphics/gimp-app/gimp-2.10.30/app/tools/ |
H A D | gimpbycolorselecttool.c | 103 GimpPickable *pickable; in gimp_by_color_select_tool_get_mask() local 119 pickable = GIMP_PICKABLE (drawable); in gimp_by_color_select_tool_get_mask() 123 pickable = GIMP_PICKABLE (image); in gimp_by_color_select_tool_get_mask() 126 gimp_pickable_flush (pickable); in gimp_by_color_select_tool_get_mask() 128 if (gimp_pickable_get_color_at (pickable, x, y, &srgb)) in gimp_by_color_select_tool_get_mask() 132 gimp_pickable_srgb_to_image_color (pickable, &srgb, &color); in gimp_by_color_select_tool_get_mask() 134 return gimp_pickable_contiguous_region_by_color (pickable, in gimp_by_color_select_tool_get_mask()
|
H A D | gimptilehandleriscissors.c | 97 if (iscissors->pickable) in gimp_tile_handler_iscissors_finalize() 99 g_object_unref (iscissors->pickable); in gimp_tile_handler_iscissors_finalize() 100 iscissors->pickable = NULL; in gimp_tile_handler_iscissors_finalize() 117 iscissors->pickable = g_value_dup_object (value); in gimp_tile_handler_iscissors_set_property() 137 g_value_set_object (value, iscissors->pickable); in gimp_tile_handler_iscissors_get_property() 199 gimp_pickable_flush (iscissors->pickable); in gimp_tile_handler_iscissors_validate() 201 src = gimp_pickable_get_buffer (iscissors->pickable); in gimp_tile_handler_iscissors_validate() 323 gimp_tile_handler_iscissors_new (GimpPickable *pickable) in gimp_tile_handler_iscissors_new() argument 325 g_return_val_if_fail (GIMP_IS_PICKABLE (pickable), NULL); in gimp_tile_handler_iscissors_new() 329 "pickable", pickable, in gimp_tile_handler_iscissors_new()
|
H A D | gimpfuzzyselecttool.c | 103 GimpPickable *pickable; in gimp_fuzzy_select_tool_get_mask() local 118 pickable = GIMP_PICKABLE (drawable); in gimp_fuzzy_select_tool_get_mask() 122 pickable = GIMP_PICKABLE (image); in gimp_fuzzy_select_tool_get_mask() 125 return gimp_pickable_contiguous_region_by_seed (pickable, in gimp_fuzzy_select_tool_get_mask()
|
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/assets/initial_quest/data/items/ |
H A D | heart.lua | 15 function item:on_pickable_created(pickable) 17 if pickable:get_falling_height() ~= 0 then 50 m:start(pickable) 51 pickable:get_sprite():set_animation("heart_falling")
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/ |
H A D | Scene_spheres_item.cpp | 31 ,pickable(pickable) in Scene_spheres_item_priv() 74 const bool pickable; member 80 if(!pickable) in pick() 118 d = new Scene_spheres_item_priv(planed, max_index, this, pickable); in Scene_spheres_item() 119 if(pickable) in Scene_spheres_item() 148 if(pickable) in initializeBuffers() 196 if(d->pickable) in draw() 260 if(d->pickable) in add_sphere() 299 if(d->pickable){ in invalidateOpenGLBuffers() 337 if(d->pickable) in computeElements() [all …]
|
/dports/games/voadi/voadi-v0.3/data/items/ |
H A D | random.lua | 15 function item:on_pickable_created(pickable) 19 local map = pickable:get_map() 20 local x, y, layer = pickable:get_position() 29 pickable:remove()
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Core/ |
H A D | vtkRenderedAreaPicker.cxx | 53 int pickable; in AreaPick() local 86 pickable = this->TypeDecipher(propCandidate, &mapper); in AreaPick() 87 if ( pickable ) in AreaPick() 129 pickable = this->TypeDecipher(propCandidate, &mapper); in AreaPick() 130 if ( pickable && !this->Prop3Ds->IsItemPresent(prop) ) in AreaPick()
|
H A D | vtkAreaPicker.cxx | 206 int pickable; in PickProps() local 246 pickable = this->TypeDecipher(propCandidate, &mapper); in PickProps() 249 if ( pickable ) in PickProps() 325 int pickable = 0; in TypeDecipher() local 336 pickable = 1; in TypeDecipher() 342 pickable = 0; in TypeDecipher() 354 pickable = 0; in TypeDecipher() 368 pickable = 0; //only vtkProp3D's (actors and volumes) can be picked in TypeDecipher() 371 return pickable; in TypeDecipher()
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Core/ |
H A D | vtkRenderedAreaPicker.cxx | 52 int pickable; in AreaPick() local 85 pickable = this->TypeDecipher(propCandidate, &mapper); in AreaPick() 86 if (pickable) in AreaPick() 128 pickable = this->TypeDecipher(propCandidate, &mapper); in AreaPick() 129 if (pickable && !this->Prop3Ds->IsItemPresent(prop)) in AreaPick()
|
H A D | vtkAreaPicker.cxx | 203 int pickable; in PickProps() local 243 pickable = this->TypeDecipher(propCandidate, &mapper); in PickProps() 246 if (pickable) in PickProps() 321 int pickable = 0; in TypeDecipher() local 332 pickable = 1; in TypeDecipher() 338 pickable = 0; in TypeDecipher() 350 pickable = 0; in TypeDecipher() 364 pickable = 0; // only vtkProp3D's (actors and volumes) can be picked in TypeDecipher() 367 return pickable; in TypeDecipher()
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Core/ |
H A D | vtkRenderedAreaPicker.cxx | 57 int pickable; in AreaPick() local 90 pickable = this->TypeDecipher(propCandidate, &mapper); in AreaPick() 91 if ( pickable ) in AreaPick() 133 pickable = this->TypeDecipher(propCandidate, &mapper); in AreaPick() 134 if ( pickable && !this->Prop3Ds->IsItemPresent(prop) ) in AreaPick()
|
H A D | vtkAreaPicker.cxx | 206 int pickable; in PickProps() local 246 pickable = this->TypeDecipher(propCandidate, &mapper); in PickProps() 249 if ( pickable ) in PickProps() 325 int pickable = 0; in TypeDecipher() local 336 pickable = 1; in TypeDecipher() 342 pickable = 0; in TypeDecipher() 354 pickable = 0; in TypeDecipher() 368 pickable = 0; //only vtkProp3D's (actors and volumes) can be picked in TypeDecipher() 371 return pickable; in TypeDecipher()
|