Results 1 to 3 of 3

Thread: set_rotation_hotspot - CL_Origin

  1. #1

    Default set_rotation_hotspot - CL_Origin

    Hello,

    I want to set the hospot via CL_Surface.set_rotation_hospot.

    There are 3 params CL_Origin, int, int. The int's are clear, but what is
    CL_Origin ???

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Bergen, Norway
    Posts
    588

    Default

    enum CL_Origin
    {
    origin_top_left,
    origin_top_center,
    origin_top_right,
    origin_center_left,
    origin_center,
    origin_center_right,
    origin_bottom_left,
    origin_bottom_center,
    origin_bottom_right
    };

    It defines the starting point of the hotspot. So the deltavalues are relative to the position you select in the origin.

  3. #3

    Default Thank's

    It work's.

    Thank's

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
  •