Class VFont


  • public class VFont
    extends CFacade
    Generated facet for DNA struct type 'VFont'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct VFont.

        It is required when allocating a new block to store data for VFont.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__id

        public static final long[] __DNA__FIELD__id
        Field descriptor (offset) for struct member 'id'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VFont vfont = ...;
         CPointer<Object> p = vfont.__dna__addressof(VFont.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 152/192
      • __DNA__FIELD__name

        public static final long[] __DNA__FIELD__name
        Field descriptor (offset) for struct member 'name'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VFont vfont = ...;
         CPointer<Object> p = vfont.__dna__addressof(VFont.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __DNA__FIELD__data

        public static final long[] __DNA__FIELD__data
        Field descriptor (offset) for struct member 'data'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VFont vfont = ...;
         CPointer<Object> p = vfont.__dna__addressof(VFont.__DNA__FIELD__data);
         CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'data'
        • Signature: 'VFontData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__packedfile

        public static final long[] __DNA__FIELD__packedfile
        Field descriptor (offset) for struct member 'packedfile'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VFont vfont = ...;
         CPointer<Object> p = vfont.__dna__addressof(VFont.__DNA__FIELD__packedfile);
         CPointer<CPointer<PackedFile>> p_packedfile = p.cast(new Class[]{CPointer.class, PackedFile.class});
         

        Metadata

        • Field: 'packedfile'
        • Signature: 'PackedFile*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__temp_pf

        public static final long[] __DNA__FIELD__temp_pf
        Field descriptor (offset) for struct member 'temp_pf'.

        Field Documentation

        Blender Source Code

        runtime only, holds memory for freetype to read from TODO: replace this with #blf_font_new() style loading.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VFont vfont = ...;
         CPointer<Object> p = vfont.__dna__addressof(VFont.__DNA__FIELD__temp_pf);
         CPointer<CPointer<PackedFile>> p_temp_pf = p.cast(new Class[]{CPointer.class, PackedFile.class});
         

        Metadata

        • Field: 'temp_pf'
        • Signature: 'PackedFile*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • VFont

        public VFont​(long __address,
                     Block __block,
                     BlockTable __blockTable)
      • VFont

        protected VFont​(VFont that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getName

        public CArrayFacade<java.lang.Byte> getName()
                                             throws java.io.IOException
        Get method for struct member 'name'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

        public void setName​(CArrayFacade<java.lang.Byte> name)
                     throws java.io.IOException
        Set method for struct member 'name'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getData

        public CPointer<java.lang.Object> getData()
                                           throws java.io.IOException
        Get method for struct member 'data'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setData

        public void setData​(CPointer<java.lang.Object> data)
                     throws java.io.IOException
        Set method for struct member 'data'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setPackedfile

        public void setPackedfile​(CPointer<PackedFile> packedfile)
                           throws java.io.IOException
        Set method for struct member 'packedfile'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__packedfile
      • getTemp_pf

        public CPointer<PackedFile> getTemp_pf()
                                        throws java.io.IOException
        Get method for struct member 'temp_pf'.

        Field Documentation

        Blender Source Code

        runtime only, holds memory for freetype to read from TODO: replace this with #blf_font_new() style loading.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__temp_pf
      • setTemp_pf

        public void setTemp_pf​(CPointer<PackedFile> temp_pf)
                        throws java.io.IOException
        Set method for struct member 'temp_pf'.

        Field Documentation

        Blender Source Code

        runtime only, holds memory for freetype to read from TODO: replace this with #blf_font_new() style loading.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__temp_pf
      • __io__addressof

        public CPointer<VFont> __io__addressof()
        Instantiates a pointer on this instance.