Coffeehouse Thread

13 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Rotate a website

Back to Forum: Coffeehouse
  • User profile image
    BitMite

    I while ago I saw a website where you supply an URL and you be directed to a page where the URL webpage content is completely turned 90 degrees. Does anyone know where I can find this website or how to accomplice this?

  • User profile image
    Rossj

    BitMite wrote:
    I while ago I saw a website where you supply an URL and you be directed to a page where the URL webpage content is completely turned 90 degrees. Does anyone know where I can find this website or how to accomplice this?


    Nope, but you can replicate it quite easily Smiley

    1. Click Link
    2. Close Eyes
    3. Put right ear on right shoulder.
    4. Open Eyes.

    Edit: Felt guilty after my sarcastic answer and went to google for it. Boy searching for rotate website is not very helpful.

  • User profile image
    ScanIAm

    Nice!

  • User profile image
    BitMite

    This was something where you could type in http://www.google.com and it would show up flipped 90 degrees...

  • User profile image
    BitMite

    Rossj wrote:
    BitMite wrote: I while ago I saw a website where you supply an URL and you be directed to a page where the URL webpage content is completely turned 90 degrees. Does anyone know where I can find this website or how to accomplice this?


    Nope, but you can replicate it quite easily

    1. Click Link
    2. Close Eyes
    3. Put right ear on right shoulder.
    4. Open Eyes.

    Edit: Felt guilty after my sarcastic answer and went to google for it. Boy searching for rotate website is not very helpful.


    Yes, all I got was how to rotate banners and images.

  • User profile image
    BitMite

    Found it: http://blog.outer-court.com/rotated/

    It uses iframe and only works in IE6

    #rotated
    {
    display: block;
    position: absolute;
    overflow: hidden;
    border: none;
    left: 20px;
    top: -20px;
    width: 650px;
    height: 1550px;
    filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    }

    Is this possible with any DIV tag then?

    EDIT: Answered my own question: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/filter/reference/filters/basicimage.asp

    Thanks!

  • User profile image
    W3bbo

    You'll have to wait for CSS3 to be finalised and implemented to allow for true rotated text.

    The thing is right... I don't think GDI+ supports rotated text atm.

  • User profile image
    Yggdrasil

    BitMite wrote:
    I while ago I saw a website where you supply an URL and you be directed to a page where the URL webpage content is completely turned 90 degrees. Does anyone know where I can find this website or how to accomplice this?


    Lots of people talking, very few actually tried to address the point.

    http://blog.outer-court.com/rotated/

  • User profile image
    Yggdrasil

    EDIT: Ooops. Didn't notice the site was already found.

    http://blog.outer-court.com/rotated/

  • User profile image
    rhm

    W3bbo wrote:
    You'll have to wait for CSS3 to be finalised and implemented to allow for true rotated text.

    The thing is right... I don't think GDI+ supports rotated text atm.


    Of course it does, you just apply a tranformation to the view. If GDI hasn't always supported transformed text it certainly has since Windows3. Do you think every program that uses non-horizontal text uses it's own text rendering code?

  • User profile image
    W3bbo

    rhm wrote:
    W3bbo wrote:You'll have to wait for CSS3 to be finalised and implemented to allow for true rotated text.

    The thing is right... I don't think GDI+ supports rotated text atm.


    Of course it does, you just apply a tranformation to the view. If GDI hasn't always supported transformed text it certainly has since Windows3. Do you think every program that uses non-horizontal text uses it's own text rendering code?


    Well... Photoshop and Illustrator do Wink

    Doesn't Microsoft Office as well? I can't see GDI supporting the "text-animate" features in Word (since 1997)

    Oh wait... of course GDI would, what with Kanji rendering and the like.

  • User profile image
    BitMite

    Just a FYI that the project is succesfully completed.

    http://www.geekhacks.com/showthread.php?t=11

  • User profile image
    Mike Dimmick

    W3bbo wrote:
    You'll have to wait for CSS3 to be finalised and implemented to allow for true rotated text.

    The thing is right... I don't think GDI+ supports rotated text atm.


    It's a property of the font. Set lfEscapement in the LOGFONT structure if calling GDI's CreateFont or a GDI+ Font constructor that takes a LOGFONT structure.

    If using GDI+ from the .NET Framework, use System.Drawing.Font.FromLogFont and fill in, yes, a LOGFONT structure.

    Windows NT and successors, if placed in Advanced graphics mode, support Escapement (rotating the base line for the whole string) and Orientation (rotating each character's base line) independently. Windows 9x (and NT in compatible mode) only supports escapement I think.

    rhm is also right that you can set up a world transform (with SetWorldTransform). This modifies all drawing to be rotated, scaled, sheared, or whatever the transform matrix specifies. Again this is only supported on NT and successors in Advanced graphics mode.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.