• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Canvas and rotational drawing

 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a box displayed in my canvas object. The box is a solid square that is 20px off from the edge of the canvas on all sides. I have a label that runs along the top of the box, middle of the canvas - 1/2 the width of the text to center the label and basically the y-coordinate is set to 18. I'd like text to run vertically up the side of the box as well starting at y-coordinate (1/2 of the height - 1/2 of the width of the text) with x being something like 18 as well. I can't seem to figure out how to do this, vertically display text along the side of the box, going up along the side. Any help would be appreciated.
 
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic