Blender  V3.3
Functions | Variables
BPy_MediumType.cpp File Reference
#include "BPy_MediumType.h"
#include "BPy_Convert.h"

Go to the source code of this file.

Functions

 PyDoc_STRVAR (MediumType_doc, "Class hierarchy: int > :class:`MediumType`\n" "\n" "The different blending modes available to simulate the interaction\n" "media-medium:\n" "\n" "* Stroke.DRY_MEDIUM: To simulate a dry medium such as Pencil or Charcoal.\n" "* Stroke.HUMID_MEDIUM: To simulate ink painting (color subtraction blending).\n" "* Stroke.OPAQUE_MEDIUM: To simulate an opaque medium (oil, spray...).")
 
int MediumType_Init (PyObject *module)
 

Variables

PyTypeObject MediumType_Type
 
PyLongObject _BPy_MediumType_DRY_MEDIUM
 
PyLongObject _BPy_MediumType_HUMID_MEDIUM
 
PyLongObject _BPy_MediumType_OPAQUE_MEDIUM
 

Function Documentation

◆ MediumType_Init()

int MediumType_Init ( PyObject *  module)

Definition at line 85 of file BPy_MediumType.cpp.

References MediumType_Type, and module.

Referenced by Freestyle_Init().

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( MediumType_doc  ,
"Class hierarchy: int  ,
:class:`MediumType`\n" "\n" "The different blending modes available to simulate the interaction\n" "media-medium:\n" "\n" " *Stroke.DRY_MEDIUM:To simulate a dry medium such as Pencil or Charcoal.\n" " *Stroke.HUMID_MEDIUM:To simulate ink painting(color subtraction blending).\n" " *Stroke.OPAQUE_MEDIUM:To simulate an opaque medium(oil, spray...)."   
)

Variable Documentation

◆ _BPy_MediumType_DRY_MEDIUM

PyLongObject _BPy_MediumType_DRY_MEDIUM
Initial value:
= {
PyVarObject_HEAD_INIT(&MediumType_Type, 1){Stroke::DRY_MEDIUM},
}
PyTypeObject MediumType_Type

Definition at line 73 of file BPy_MediumType.cpp.

◆ _BPy_MediumType_HUMID_MEDIUM

PyLongObject _BPy_MediumType_HUMID_MEDIUM
Initial value:
= {
PyVarObject_HEAD_INIT(&MediumType_Type, 1){Stroke::HUMID_MEDIUM},
}

Definition at line 76 of file BPy_MediumType.cpp.

◆ _BPy_MediumType_OPAQUE_MEDIUM

PyLongObject _BPy_MediumType_OPAQUE_MEDIUM
Initial value:
= {
PyVarObject_HEAD_INIT(&MediumType_Type, 1){Stroke::OPAQUE_MEDIUM},
}

Definition at line 79 of file BPy_MediumType.cpp.

◆ MediumType_Type

PyTypeObject MediumType_Type

Definition at line 31 of file BPy_MediumType.cpp.

Referenced by BPy_MediumType_from_MediumType(), and MediumType_Init().