Results 1 to 3 of 3

Thread: CL_Surface draw a picture

  1. #1
    Lesser Knight
    Join Date
    Oct 2007
    Posts
    57

    Default CL_Surface draw a picture

    I want to CL_Surface.draw(CL_Rect original,CL_Rect dest,rotation),that I want draw a partly picture and rotation it,have a simple method?
    Thanks in advance.

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    I don't use ClanLib 1.0, but you could try:

    Use CL_Surface - void draw(
    const CL_Surface_DrawParams2& params2, CL_GraphicContext* context = 0);

    http://www.clanlib.org/docs/clanlib-...awParams2.html - seems to have everything you need

  3. #3
    Lesser Knight
    Join Date
    Oct 2007
    Posts
    57

    Default

    Thanks,I have a look at CL_Surface_DrawParams2,I'm making a jigsaw game,have a lot partly picture draw,so I have another idea,that CL_Surface one=CL_Surface partly_CL_Rect?This is could be?
    Could you understand me?BTW,I use 1.0 just want port this game to mac,

Similar Threads

  1. A picture of my dear freind Thomas Shenan
    By Zenigata in forum Funeral Quest
    Replies: 1
    Last Post: 07-14-2012, 01:30 AM
  2. ClanLib 2.0 and CL_Surface
    By falsinfab in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 05-16-2009, 04:45 PM
  3. Mask of CL_Surface
    By karaman in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 06-01-2008, 08:57 AM
  4. Have make font picture tool?
    By DavinciZhe in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 02-13-2008, 08:24 AM
  5. how to create a window with picture background
    By gison in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 06-05-2007, 01:34 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •