[Ipe-discuss] Clipping path ipelet

Otfried Cheong otfried at ipe.airpost.net
Fri Jan 4 15:16:24 CET 2013


On 01/04/2013 06:40 AM, Dmitriy Morozov wrote:
> Has anybody, by chance, made an Ipelet that can add a clipping path to a
> group (since the functionality is currently broken in the Ipe
> interface)? I assume it would be possible to do this from an Ipelet, but
> don't know enough to make one myself.

I completely forgot that this still hasn't been fixed.  I need to 
release a bug-fix version this winter break...

For the moment, edit "properties.lua", and change the function 	 
MODEL:propertiesPopup() as follows:

function MODEL:propertiesPopup()
   self:updateCloseSelection(false)
   local sel = self:selection()
   if #sel > 2 then
     self:multiPopup(sel)
   elseif #sel == 0 then
     self:emptyPopup()
   else
     self:singlePopup(self:page():primarySelection())
   end
end

Cheers,
  Otfried




More information about the Ipe-discuss mailing list