# lv_obj_style_internal.h (/api/private/core/lv_obj_style_internal_h)



<ApiSummary functions="7" />

Functions [#functions]

<ApiTabs items="[&#x22;Getters (6)&#x22;,&#x22;Other (1)&#x22;]">
  <ApiTab value="Getters (6)">
    <ApiMember kind="function" name="lv_obj_get_style_space_left_internal" file="private/core/lv_obj_style_internal.h" line="40" url="https://github.com/lvgl/lvgl/tree/cf729900ef9967278cd5a84d39ab2c42c77348f7/src/core/lv_obj_style_internal.h#L40">
      lv_obj_get_style_space_left_internal [#lv_obj_get_style_space_left_internal]

      ```c title=" " lineNumbers=1
      static int32_t lv_obj_get_style_space_left_internal(const lv_obj_t *obj, lv_part_t part)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                   |
      | ------ | ------------------------------------------------------ |
      | `obj`  | <ApiLink name="lv_obj_t" display="const lv_obj_t *" /> |
      | `part` | <ApiLink name="lv_part_t" />                           |
    </ApiMember>

    <ApiMember kind="function" name="lv_obj_get_style_space_right_internal" file="private/core/lv_obj_style_internal.h" line="49" url="https://github.com/lvgl/lvgl/tree/cf729900ef9967278cd5a84d39ab2c42c77348f7/src/core/lv_obj_style_internal.h#L49">
      lv_obj_get_style_space_right_internal [#lv_obj_get_style_space_right_internal]

      ```c title=" " lineNumbers=1
      static int32_t lv_obj_get_style_space_right_internal(const lv_obj_t *obj, lv_part_t part)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                   |
      | ------ | ------------------------------------------------------ |
      | `obj`  | <ApiLink name="lv_obj_t" display="const lv_obj_t *" /> |
      | `part` | <ApiLink name="lv_part_t" />                           |
    </ApiMember>

    <ApiMember kind="function" name="lv_obj_get_style_space_top_internal" file="private/core/lv_obj_style_internal.h" line="58" url="https://github.com/lvgl/lvgl/tree/cf729900ef9967278cd5a84d39ab2c42c77348f7/src/core/lv_obj_style_internal.h#L58">
      lv_obj_get_style_space_top_internal [#lv_obj_get_style_space_top_internal]

      ```c title=" " lineNumbers=1
      static int32_t lv_obj_get_style_space_top_internal(const lv_obj_t *obj, lv_part_t part)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                   |
      | ------ | ------------------------------------------------------ |
      | `obj`  | <ApiLink name="lv_obj_t" display="const lv_obj_t *" /> |
      | `part` | <ApiLink name="lv_part_t" />                           |
    </ApiMember>

    <ApiMember kind="function" name="lv_obj_get_style_space_bottom_internal" file="private/core/lv_obj_style_internal.h" line="67" url="https://github.com/lvgl/lvgl/tree/cf729900ef9967278cd5a84d39ab2c42c77348f7/src/core/lv_obj_style_internal.h#L67">
      lv_obj_get_style_space_bottom_internal [#lv_obj_get_style_space_bottom_internal]

      ```c title=" " lineNumbers=1
      static int32_t lv_obj_get_style_space_bottom_internal(const lv_obj_t *obj, lv_part_t part)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                   |
      | ------ | ------------------------------------------------------ |
      | `obj`  | <ApiLink name="lv_obj_t" display="const lv_obj_t *" /> |
      | `part` | <ApiLink name="lv_part_t" />                           |
    </ApiMember>

    <ApiMember kind="function" name="lv_obj_get_style_transform_scale_x_safe_internal" file="private/core/lv_obj_style_internal.h" line="76" url="https://github.com/lvgl/lvgl/tree/cf729900ef9967278cd5a84d39ab2c42c77348f7/src/core/lv_obj_style_internal.h#L76">
      lv_obj_get_style_transform_scale_x_safe_internal [#lv_obj_get_style_transform_scale_x_safe_internal]

      ```c title=" " lineNumbers=1
      static int32_t lv_obj_get_style_transform_scale_x_safe_internal(const lv_obj_t *obj, lv_part_t part)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                   |
      | ------ | ------------------------------------------------------ |
      | `obj`  | <ApiLink name="lv_obj_t" display="const lv_obj_t *" /> |
      | `part` | <ApiLink name="lv_part_t" />                           |
    </ApiMember>

    <ApiMember kind="function" name="lv_obj_get_style_transform_scale_y_safe_internal" file="private/core/lv_obj_style_internal.h" line="83" url="https://github.com/lvgl/lvgl/tree/cf729900ef9967278cd5a84d39ab2c42c77348f7/src/core/lv_obj_style_internal.h#L83">
      lv_obj_get_style_transform_scale_y_safe_internal [#lv_obj_get_style_transform_scale_y_safe_internal]

      ```c title=" " lineNumbers=1
      static int32_t lv_obj_get_style_transform_scale_y_safe_internal(const lv_obj_t *obj, lv_part_t part)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                   |
      | ------ | ------------------------------------------------------ |
      | `obj`  | <ApiLink name="lv_obj_t" display="const lv_obj_t *" /> |
      | `part` | <ApiLink name="lv_part_t" />                           |
    </ApiMember>
  </ApiTab>

  <ApiTab value="Other (1)">
    <ApiMember kind="function" name="lv_obj_calculate_style_text_align_internal" file="private/core/lv_obj_style_internal.h" line="28" url="https://github.com/lvgl/lvgl/tree/cf729900ef9967278cd5a84d39ab2c42c77348f7/src/core/lv_obj_style_internal.h#L28">
      lv_obj_calculate_style_text_align_internal [#lv_obj_calculate_style_text_align_internal]

      ```c title=" " lineNumbers=1
      static lv_text_align_t lv_obj_calculate_style_text_align_internal(const lv_obj_t *obj, lv_part_t part, const char *txt)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                                   |
      | ------ | ------------------------------------------------------ |
      | `obj`  | <ApiLink name="lv_obj_t" display="const lv_obj_t *" /> |
      | `part` | <ApiLink name="lv_part_t" />                           |
      | `txt`  | `const char *`                                         |
    </ApiMember>
  </ApiTab>
</ApiTabs>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lvgl_public.h&#x22;, &#x22;lv_obj_style_internal_gen.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;]" transitiveIncludes="[&#x22;lv_obj_style_private.h&#x22;]" />
