summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_view.eo
blob: a46c169ba4b345886a843f2cc3c3c084fd6c5aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
interface Efl.Gfx.View {
   legacy_prefix: null;
   methods {
      @property size {
         set {
            [[Sets the size of the given image object.

              This function will scale down or crop the image so that it is
              treated as if it were at the given size. If the size given is
              smaller than the image, it will be cropped. If the size given is
              larger, then the image will be treated as if it were in the upper
              left hand corner of a larger image that is otherwise transparent.
            ]]
         }
         get {
            [[Retrieves the size of the given image object.

              See @evas_object_image_size_set for more details.
            ]]
         }
         values {
            w: int; [[The new width of the image.]]
            h: int; [[The new height of the image.]]
         }
      }
   }
}