[Ipe-discuss] Canvas color

Marc Glisse marc.glisse at normalesup.org
Tue Feb 28 15:09:19 CET 2023


prefs.lua contains:

-- Canvas customization:
prefs.canvas_style = {
   paper_color = { r = 1.0, g = 1.0, b = 1.0 },  -- white
   -- paper_color = { r = 1.0, g = 1.0, b = 0.5 }  -- classic Ipe 6 yellow
[...]

so you should be able to change that in a customization.lua file.

-- 
Marc Glisse

On Tue, 28 Feb 2023, Fabio Stumbo via Ipe-discuss wrote:

> Hi,
>
> for some reason, I need to have some of the objects in my figure to be white.
>
> This is a little bit of a pain, while working, because I can't see them, of 
> course.
>
> At present, what I do is to have a layer named "canvas" which is on the very 
> bottom and contains just a rectangle filled with a color which allows me to 
> see everything. When I am done, I make this canvas invisible and then I save 
> my image.
>
> I am wondering if there is a way to define a different color for the canvas 
> of the image just for the on screen display: I couldn't find anything of this 
> sort, but maybe I am missing something.
>
> Thanks
>
> Fabio


More information about the Ipe-discuss mailing list