Top |
GimpUnitStore * | gimp_unit_store_new () |
void | gimp_unit_store_set_has_pixels () |
gboolean | gimp_unit_store_get_has_pixels () |
void | gimp_unit_store_set_has_percent () |
gboolean | gimp_unit_store_get_has_percent () |
void | gimp_unit_store_set_pixel_value () |
void | gimp_unit_store_set_pixel_values () |
void | gimp_unit_store_set_resolution () |
void | gimp_unit_store_set_resolutions () |
gdouble | gimp_unit_store_get_value () |
void | gimp_unit_store_get_values () |
gboolean | has-percent | Read / Write |
gboolean | has-pixels | Read / Write |
char * | long-format | Read / Write |
int | num-values | Read / Write / Construct Only |
char * | short-format | Read / Write |
void gimp_unit_store_set_has_pixels (GimpUnitStore *store
,gboolean has_pixels
);
void gimp_unit_store_set_has_percent (GimpUnitStore *store
,gboolean has_percent
);
void gimp_unit_store_set_pixel_value (GimpUnitStore *store
,gint index
,gdouble value
);
void gimp_unit_store_set_pixel_values (GimpUnitStore *store
,gdouble first_value
,...
);
void gimp_unit_store_set_resolution (GimpUnitStore *store
,gint index
,gdouble resolution
);
void gimp_unit_store_set_resolutions (GimpUnitStore *store
,gdouble first_resolution
,...
);
gdouble gimp_unit_store_get_value (GimpUnitStore *store
,GimpUnit unit
,gint index
);
void gimp_unit_store_get_values (GimpUnitStore *store
,GimpUnit unit
,gdouble *first_value
,...
);
“has-percent”
property “has-percent” gboolean
Whether the store has GIMP_UNIT_PERCENT.
Owner: GimpUnitStore
Flags: Read / Write
Default value: FALSE
“has-pixels”
property “has-pixels” gboolean
Whether the store has GIMP_UNIT_PIXELS.
Owner: GimpUnitStore
Flags: Read / Write
Default value: TRUE
“long-format”
property “long-format” char *
Format string for a long label.
Owner: GimpUnitStore
Flags: Read / Write
Default value: "%p"
“num-values”
property “num-values” int
The number of values this store provides.
Owner: GimpUnitStore
Flags: Read / Write / Construct Only
Allowed values: >= 0
Default value: 0