Jump to content
  • entries
    945
  • comments
    5,899
  • views
    930,161

More Drawing Features


Josh

2,396 views

 Share

I've added an optional radius for rectangle corners, for use with the DrawRect() command, along with a new gradient mode that uses a second color to draw a linear gradient on primitives. I like the interface for the program Vue, and I am modeling my default widget scripts after this style.

 

blogentry-1-0-48549000-1468615724.png

 

Here it is rendered at 800% scale. This is rendered directly on a window and sub-pixel antialias is used (Microsoft ClearType):

 

blogentry-1-0-84837900-1468616088_thumb.png

 

The appearance of the button widget at this point is something I would be happy releasing in a final product. Of course you can modify or replace this script to meet your own needs.

  • Upvote 9
 Share

4 Comments


Recommended Comments

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...