FLTK logo

Re: [fltk.general] Re: Rounded Frames/Draw Rounded Rectangle

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: Rounded Frames/Draw Rounded Rectangle Greg Ercolano Jul 27, 2021  
 

On 7/27/21 1:27 PM, Webb Hinton wrote:

Or consider the following UI designs: [images with rounded corners]


    Our nanoSVG support should allow this sort of thing easily I'd think,
    utilizing its alpha support, anti-aliased rendering, and ability to draw
    graphics at runtime.

    Consider this clock example which draws the hand shapes in realtime
    over the clock face image:
    http://seriss.com/people/erco/fltk/#FLTK-Simplex-Clock

    One should also be able to render a mask with curved corners and apply it
    over the images similar to the clock I would think. Then you can make that
    a custom widget to display images of arbitrary size with a curved border.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/e87868da-8398-937b-f538-2bcc4583e6a7%40seriss.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.