Re: Coding question, canvas



>  Actually, an object that displayed a point that was n pixels large
>  regardless of scaling would be very useful to me.  I've got a type
>  of image I create in the canvas where at the largest scale are boxes
>  10 or 15 pixels high and at the smallest scale are very small, where
>  I'd really like a constant 2 or 3 pixels per point all the time.  I
>  make the box be at least two pixels by using the outline, but that
>  provides a minimum but not maximum size for the box.  If a non-scaled
>  item of this sort were available, I would use it.

I may add a flag to GnomeCanvasImage that specifies whether it should
be scaled/rotated when the canvas changes the affine transformation,
or whether it should only be translated.  I guess people would find
this useful.

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]