font size and background

This is a discussion on font size and background within the C++ Programming forums, part of the General Programming Boards category; in c++ is it possible to increase , decrease or align text? and can we set a background ?...

  1. #1
    C++Pandit
    Join Date
    Jul 2008
    Posts
    49

    font size and background

    in c++ is it possible to increase , decrease or align text?

    and can we set a background ?

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Not in standards compliant libraries. You may be able to do it in a non-standard way, but we would need to know in what environment (Console or GUI, and Linux, Windows or some other OS), and whether you need a portable solution or one that works only on the environment you are using right now.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    C++Pandit
    Join Date
    Jul 2008
    Posts
    49
    is it the same solution for both font`s and image?

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Saimadhav View Post
    is it the same solution for both font`s and image?
    Not sure what you mean here? Can you explain a bit more what you are trying to do, and under what circumstances?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    This is platform specific and belongs on such a forum.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Scrolling background??
    By blackCat in forum Game Programming
    Replies: 2
    Last Post: 04-19-2009, 04:08 PM
  2. Colour and Screen Size
    By djlethal in forum C Programming
    Replies: 1
    Last Post: 11-24-2006, 09:29 PM
  3. *** glibc detected *** free(): invalid next size
    By icebabe in forum C Programming
    Replies: 2
    Last Post: 05-24-2006, 01:09 PM
  4. Scrolling background?
    By Deo in forum Game Programming
    Replies: 6
    Last Post: 06-09-2005, 06:40 PM
  5. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21