Class uiFont
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.uiFont
-
public class uiFont extends CFacade
Generated facet for DNA struct type 'uiFont'.Class Documentation
Blender Source Code
default fonts to load/initialize first font is the default (index 0), others optional
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.static long[]
__DNA__FIELD__blf_id
Field descriptor (offset) for struct member 'blf_id'.static long[]
__DNA__FIELD__filename
Field descriptor (offset) for struct member 'filename'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static long[]
__DNA__FIELD__r_to_l
Field descriptor (offset) for struct member 'r_to_l'.static long[]
__DNA__FIELD__uifont_id
Field descriptor (offset) for struct member 'uifont_id'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct uiFont.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description uiFont(long __address, Block __block, BlockTable __blockTable)
protected
uiFont(uiFont that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<uiFont>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad0()
Get method for struct member '_pad0'.short
getBlf_id()
Get method for struct member 'blf_id'.CArrayFacade<java.lang.Byte>
getFilename()
Get method for struct member 'filename'.CPointer<uiFont>
getNext()
Get method for struct member 'next'.CPointer<uiFont>
getPrev()
Get method for struct member 'prev'.short
getR_to_l()
Get method for struct member 'r_to_l'.short
getUifont_id()
Get method for struct member 'uifont_id'.void
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.void
setBlf_id(short blf_id)
Set method for struct member 'blf_id'.void
setFilename(CArrayFacade<java.lang.Byte> filename)
Set method for struct member 'filename'.void
setNext(CPointer<uiFont> next)
Set method for struct member 'next'.void
setPrev(CPointer<uiFont> prev)
Set method for struct member 'prev'.void
setR_to_l(short r_to_l)
Set method for struct member 'r_to_l'.void
setUifont_id(short uifont_id)
Set method for struct member 'uifont_id'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct uiFont.It is required when allocating a new block to store data for uiFont.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__next
public static final long[] __DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiFont uifont = ...; CPointer<Object> p = uifont.__dna__addressof(uiFont.__DNA__FIELD__next); CPointer<CPointer<uiFont>> p_next = p.cast(new Class[]{CPointer.class, uiFont.class});
Metadata
- Field: 'next'
- Signature: 'uiFont*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prev
public static final long[] __DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiFont uifont = ...; CPointer<Object> p = uifont.__dna__addressof(uiFont.__DNA__FIELD__prev); CPointer<CPointer<uiFont>> p_prev = p.cast(new Class[]{CPointer.class, uiFont.class});
Metadata
- Field: 'prev'
- Signature: 'uiFont*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__filename
public static final long[] __DNA__FIELD__filename
Field descriptor (offset) for struct member 'filename'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiFont uifont = ...; CPointer<Object> p = uifont.__dna__addressof(uiFont.__DNA__FIELD__filename); CPointer<CArrayFacade<Byte>> p_filename = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'filename'
- Signature: 'char[1024]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__blf_id
public static final long[] __DNA__FIELD__blf_id
Field descriptor (offset) for struct member 'blf_id'.Field Documentation
Blender Source Code
From blfont lib.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiFont uifont = ...; CPointer<Object> p = uifont.__dna__addressof(uiFont.__DNA__FIELD__blf_id); CPointer<Short> p_blf_id = p.cast(new Class[]{Short.class});
Metadata
- Field: 'blf_id'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__uifont_id
public static final long[] __DNA__FIELD__uifont_id
Field descriptor (offset) for struct member 'uifont_id'.Field Documentation
Blender Source Code
Own id (eUIFont_ID).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiFont uifont = ...; CPointer<Object> p = uifont.__dna__addressof(uiFont.__DNA__FIELD__uifont_id); CPointer<Short> p_uifont_id = p.cast(new Class[]{Short.class});
Metadata
- Field: 'uifont_id'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__r_to_l
public static final long[] __DNA__FIELD__r_to_l
Field descriptor (offset) for struct member 'r_to_l'.Field Documentation
Blender Source Code
Fonts that read from left to right.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiFont uifont = ...; CPointer<Object> p = uifont.__dna__addressof(uiFont.__DNA__FIELD__r_to_l); CPointer<Short> p_r_to_l = p.cast(new Class[]{Short.class});
Metadata
- Field: 'r_to_l'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad0
public static final long[] __DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiFont uifont = ...; CPointer<Object> p = uifont.__dna__addressof(uiFont.__DNA__FIELD___pad0); CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad0'
- Signature: 'char[2]'
- Actual Size (32bit/64bit): 2/2
-
-
Constructor Detail
-
uiFont
public uiFont(long __address, Block __block, BlockTable __blockTable)
-
uiFont
protected uiFont(uiFont that)
-
-
Method Detail
-
getNext
public CPointer<uiFont> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<uiFont> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<uiFont> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<uiFont> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getFilename
public CArrayFacade<java.lang.Byte> getFilename() throws java.io.IOException
Get method for struct member 'filename'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filename
-
setFilename
public void setFilename(CArrayFacade<java.lang.Byte> filename) throws java.io.IOException
Set method for struct member 'filename'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filename
-
getBlf_id
public short getBlf_id() throws java.io.IOException
Get method for struct member 'blf_id'.Field Documentation
Blender Source Code
From blfont lib.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blf_id
-
setBlf_id
public void setBlf_id(short blf_id) throws java.io.IOException
Set method for struct member 'blf_id'.Field Documentation
Blender Source Code
From blfont lib.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blf_id
-
getUifont_id
public short getUifont_id() throws java.io.IOException
Get method for struct member 'uifont_id'.Field Documentation
Blender Source Code
Own id (eUIFont_ID).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uifont_id
-
setUifont_id
public void setUifont_id(short uifont_id) throws java.io.IOException
Set method for struct member 'uifont_id'.Field Documentation
Blender Source Code
Own id (eUIFont_ID).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uifont_id
-
getR_to_l
public short getR_to_l() throws java.io.IOException
Get method for struct member 'r_to_l'.Field Documentation
Blender Source Code
Fonts that read from left to right.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__r_to_l
-
setR_to_l
public void setR_to_l(short r_to_l) throws java.io.IOException
Set method for struct member 'r_to_l'.Field Documentation
Blender Source Code
Fonts that read from left to right.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__r_to_l
-
get_pad0
public CArrayFacade<java.lang.Byte> get_pad0() throws java.io.IOException
Get method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
set_pad0
public void set_pad0(CArrayFacade<java.lang.Byte> _pad0) throws java.io.IOException
Set method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
-